Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Utilities.Math.Examples.InverseXRegularized.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.00159/0.00159, allocations: 86.05 kB / 19.87 MB, free: 4.617 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001962/0.001962, allocations: 169.7 kB / 23.27 MB, free: 1.227 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.04/1.04, allocations: 177.1 MB / 203.7 MB, free: 5.52 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 2.931/2.931, allocations: 438.1 MB / 0.682 GB, free: 14.17 MB / 0.6511 GB " [Timeout remaining time 177] Using package Buildings with version 14.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Buildings.Utilities.Math.Examples.InverseXRegularized,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|inverseXRegularized.y",fileNamePrefix="Buildings_latest_Buildings.Utilities.Math.Examples.InverseXRegularized") translateModel(Buildings.Utilities.Math.Examples.InverseXRegularized,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|inverseXRegularized.y",fileNamePrefix="Buildings_latest_Buildings.Utilities.Math.Examples.InverseXRegularized") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.785e-06/2.785e-06, allocations: 0 / 0.8898 GB, free: 9.762 MB / 0.8542 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.728e-05/4.007e-05, allocations: 5.406 kB / 0.8898 GB, free: 9.758 MB / 0.8542 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.InverseXRegularized): time 0.003106/0.003146, allocations: 1.491 MB / 0.8912 GB, free: 8.258 MB / 0.8542 GB Notification: Performance of NFInst.instExpressions: time 0.001129/0.004275, allocations: 0.771 MB / 0.892 GB, free: 7.48 MB / 0.8542 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.777e-05/0.004323, allocations: 0 / 0.892 GB, free: 7.48 MB / 0.8542 GB Notification: Performance of NFTyping.typeComponents: time 3.194e-05/0.004355, allocations: 3.938 kB / 0.892 GB, free: 7.477 MB / 0.8542 GB Notification: Performance of NFTyping.typeBindings: time 6.216e-05/0.004417, allocations: 3.938 kB / 0.892 GB, free: 7.473 MB / 0.8542 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004334/0.00485, allocations: 131.5 kB / 0.8921 GB, free: 7.344 MB / 0.8542 GB Notification: Performance of NFFlatten.flatten: time 8.428e-05/0.004935, allocations: 35.86 kB / 0.8921 GB, free: 7.309 MB / 0.8542 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000103/0.005038, allocations: 0 / 0.8921 GB, free: 7.309 MB / 0.8542 GB Notification: Performance of NFEvalConstants.evaluate: time 8.202e-05/0.00512, allocations: 23.97 kB / 0.8922 GB, free: 7.285 MB / 0.8542 GB Notification: Performance of NFSimplifyModel.simplify: time 5.268e-05/0.005172, allocations: 11.98 kB / 0.8922 GB, free: 7.273 MB / 0.8542 GB Notification: Performance of NFPackage.collectConstants: time 1.932e-05/0.005192, allocations: 4 kB / 0.8922 GB, free: 7.27 MB / 0.8542 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002852/0.005477, allocations: 251.4 kB / 0.8924 GB, free: 7.023 MB / 0.8542 GB Notification: Performance of NFScalarize.scalarize: time 1.914e-05/0.005496, allocations: 15.98 kB / 0.8924 GB, free: 7.008 MB / 0.8542 GB Notification: Performance of NFVerifyModel.verify: time 1.978e-05/0.005516, allocations: 11.92 kB / 0.8924 GB, free: 6.996 MB / 0.8542 GB Notification: Performance of NFConvertDAE.convert: time 0.0002436/0.005759, allocations: 203.5 kB / 0.8926 GB, free: 6.797 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 2.495e-06/0.005762, allocations: 0 / 0.8926 GB, free: 6.797 MB / 0.8542 GB Notification: Performance of FrontEnd: time 1.443e-06/0.005763, allocations: 0 / 0.8926 GB, free: 6.797 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 6.262e-06/0.00577, allocations: 0 / 0.8926 GB, free: 6.797 MB / 0.8542 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0004941/0.006264, allocations: 400.2 kB / 0.893 GB, free: 6.371 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 5.671e-05/0.00632, allocations: 8.625 kB / 0.893 GB, free: 6.363 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002941/0.006614, allocations: 56.83 kB / 0.8931 GB, free: 6.309 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.978e-05/0.006714, allocations: 108.6 kB / 0.8932 GB, free: 6.176 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.821e-05/0.006732, allocations: 4.375 kB / 0.8932 GB, free: 6.172 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.437e-06/0.006742, allocations: 384 / 0.8932 GB, free: 6.172 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001798/0.006922, allocations: 90.89 kB / 0.8933 GB, free: 6.074 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.658e-06/0.006931, allocations: 192 / 0.8933 GB, free: 6.074 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.347e-06/0.006941, allocations: 384 / 0.8933 GB, free: 6.074 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.327e-06/0.00695, allocations: 3.938 kB / 0.8933 GB, free: 6.07 MB / 0.8542 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.191e-05/0.006992, allocations: 15.92 kB / 0.8933 GB, free: 6.055 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003575/0.007349, allocations: 256.4 kB / 0.8935 GB, free: 5.777 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 9.272e-05/0.007442, allocations: 51.03 kB / 0.8936 GB, free: 5.715 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.211e-05/0.007464, allocations: 15.69 kB / 0.8936 GB, free: 5.695 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 1.766e-05/0.007482, allocations: 0 / 0.8936 GB, free: 5.695 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.446e-05/0.007506, allocations: 41.39 kB / 0.8936 GB, free: 5.645 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=2): time 8.41e-07/0.007507, allocations: 0 / 0.8936 GB, free: 5.645 MB / 0.8542 GB Notification: Performance of matching and sorting (n=2): time 0.0001576/0.007665, allocations: 49.56 kB / 0.8937 GB, free: 5.59 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.157e-05/0.007696, allocations: 55.41 kB / 0.8937 GB, free: 5.523 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.156e-05/0.007778, allocations: 161.9 kB / 0.8939 GB, free: 5.348 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 1.311e-05/0.007791, allocations: 25.7 kB / 0.8939 GB, free: 5.316 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 5.043e-05/0.007841, allocations: 139 kB / 0.8941 GB, free: 5.176 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 1.919e-05/0.007861, allocations: 7.891 kB / 0.8941 GB, free: 5.168 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.305e-05/0.007894, allocations: 19.38 kB / 0.8941 GB, free: 5.141 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 0.0001415/0.008035, allocations: 0.4884 MB / 0.8946 GB, free: 4.641 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.121e-05/0.008056, allocations: 4 kB / 0.8946 GB, free: 4.637 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.613e-05/0.008073, allocations: 4 kB / 0.8946 GB, free: 4.633 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.552e-05/0.008108, allocations: 15.62 kB / 0.8946 GB, free: 4.613 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.723e-06/0.00811, allocations: 0 / 0.8946 GB, free: 4.613 MB / 0.8542 GB Notification: Performance of matching and sorting (n=2) (initialization): time 7.257e-05/0.008182, allocations: 49.75 kB / 0.8946 GB, free: 4.559 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 1.203e-05/0.008194, allocations: 4 kB / 0.8946 GB, free: 4.555 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.546e-06/0.008203, allocations: 7.938 kB / 0.8946 GB, free: 4.547 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.293e-05/0.008216, allocations: 0 / 0.8946 GB, free: 4.547 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.264e-05/0.008299, allocations: 11.98 kB / 0.8946 GB, free: 4.535 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.158e-06/0.008303, allocations: 0 / 0.8946 GB, free: 4.535 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.403e-05/0.008337, allocations: 11.98 kB / 0.8947 GB, free: 4.523 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.249e-06/0.008342, allocations: 0 / 0.8947 GB, free: 4.523 MB / 0.8542 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (2): * Single equations (assignments): 2 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.179e-05/0.008414, allocations: 156.6 kB / 0.8948 GB, free: 4.359 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.595e-05/0.00843, allocations: 11.94 kB / 0.8948 GB, free: 4.348 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.152e-05/0.008461, allocations: 11.25 kB / 0.8948 GB, free: 4.336 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.342e-06/0.008463, allocations: 0 / 0.8948 GB, free: 4.336 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.064e-06/0.008465, allocations: 0 / 0.8948 GB, free: 4.336 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.795e-06/0.008467, allocations: 7.938 kB / 0.8948 GB, free: 4.328 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001001/0.008568, allocations: 97.25 kB / 0.8949 GB, free: 4.207 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.31e-07/0.008568, allocations: 0 / 0.8949 GB, free: 4.207 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.733e-05/0.008605, allocations: 15.98 kB / 0.8949 GB, free: 4.191 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.313e-06/0.008607, allocations: 256 / 0.8949 GB, free: 4.191 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.38e-06/0.008612, allocations: 4 kB / 0.8949 GB, free: 4.188 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.483e-06/0.008613, allocations: 7.938 kB / 0.895 GB, free: 4.18 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.704e-06/0.008615, allocations: 3.938 kB / 0.895 GB, free: 4.176 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001201/0.008735, allocations: 195.9 kB / 0.8951 GB, free: 3.965 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 6.322e-06/0.008742, allocations: 0 / 0.8951 GB, free: 3.965 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.919e-06/0.008752, allocations: 0 / 0.8951 GB, free: 3.965 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.957e-05/0.008801, allocations: 11.98 kB / 0.8952 GB, free: 3.953 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.964e-05/0.008831, allocations: 7.922 kB / 0.8952 GB, free: 3.945 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.865e-06/0.008834, allocations: 4.031 kB / 0.8952 GB, free: 3.941 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 3.784e-05/0.008871, allocations: 123.2 kB / 0.8953 GB, free: 3.82 MB / 0.8542 GB Notification: Performance of sort global known variables: time 5e-08/0.008871, allocations: 0 / 0.8953 GB, free: 3.82 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0001537/0.009025, allocations: 23.88 kB / 0.8953 GB, free: 3.797 MB / 0.8542 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (2): * Single equations (assignments): 2 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001316/0.009157, allocations: 103.2 kB / 0.8954 GB, free: 3.684 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 7.999e-05/0.009237, allocations: 19.67 kB / 0.8954 GB, free: 3.66 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 1.052e-06/0.009238, allocations: 4 kB / 0.8954 GB, free: 3.656 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 2.365e-05/0.009261, allocations: 11.69 kB / 0.8954 GB, free: 3.641 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001765/0.009438, allocations: 12.06 kB / 0.8955 GB, free: 3.629 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002919/0.00973, allocations: 138.2 kB / 0.8956 GB, free: 3.465 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.848e-05/0.009768, allocations: 55.3 kB / 0.8956 GB, free: 3.391 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 4.135e-05/0.00981, allocations: 8 kB / 0.8956 GB, free: 3.383 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.049e-05/0.00988, allocations: 82.19 kB / 0.8957 GB, free: 3.301 MB / 0.8542 GB Notification: Performance of SimCode: time 6.81e-07/0.009881, allocations: 0 / 0.8957 GB, free: 3.301 MB / 0.8542 GB Notification: Performance of Templates: time 0.002888/0.01277, allocations: 0.9685 MB / 0.8967 GB, free: 2.344 MB / 0.8542 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Utilities.Math.Examples.InverseXRegularized.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Utilities.Math.Examples.InverseXRegularized.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Math.Examples.InverseXRegularized.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Math.Examples.InverseXRegularized.pipe >> ../files/Buildings_latest_Buildings.Utilities.Math.Examples.InverseXRegularized.sim & ./Buildings_latest_Buildings.Utilities.Math.Examples.InverseXRegularized -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Utilities.Math.Examples.InverseXRegularized.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Utilities.Math.Examples.InverseXRegularized_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Utilities_Math_Examples_InverseXRegularized.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 6.166417620610446]