Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Utilities.Math.Examples.InverseXRegularized.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001878/0.001878, allocations: 113.9 kB / 17.61 MB, free: 4.684 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002163/0.002163, allocations: 185.9 kB / 20.78 MB, free: 1.52 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.455/1.455, allocations: 225.6 MB / 249.4 MB, free: 3.309 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.766/2.766, allocations: 476.7 MB / 0.7628 GB, free: 15.34 MB / 0.6075 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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_11_Buildings.Utilities.Math.Examples.InverseXRegularized") translateModel(Buildings.Utilities.Math.Examples.InverseXRegularized,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|inverseXRegularized.y",fileNamePrefix="Buildings_11_Buildings.Utilities.Math.Examples.InverseXRegularized") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001969/0.001969, allocations: 59.91 kB / 1.107 GB, free: 4.605 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9548/0.9568, allocations: 168.7 MB / 1.272 GB, free: 7.926 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.InverseXRegularized): time 0.002795/0.9596, allocations: 1.449 MB / 1.273 GB, free: 6.938 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.001328/0.9609, allocations: 0.825 MB / 1.274 GB, free: 6.363 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.144e-05/0.9609, allocations: 0.8125 kB / 1.274 GB, free: 6.363 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 2.985e-05/0.961, allocations: 0 / 1.274 GB, free: 6.363 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 5.75e-05/0.961, allocations: 4.719 kB / 1.274 GB, free: 6.359 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005096/0.9615, allocations: 126.2 kB / 1.274 GB, free: 6.305 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 9.56e-05/0.9616, allocations: 39.95 kB / 1.274 GB, free: 6.285 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001107/0.9617, allocations: 11.5 kB / 1.274 GB, free: 6.277 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 7.033e-05/0.9618, allocations: 12.67 kB / 1.274 GB, free: 6.273 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 6.653e-05/0.9619, allocations: 21.64 kB / 1.274 GB, free: 6.266 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 1.764e-05/0.9619, allocations: 3.094 kB / 1.274 GB, free: 6.266 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005022/0.9624, allocations: 317.8 kB / 1.275 GB, free: 6.18 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 1.614e-05/0.9624, allocations: 8.469 kB / 1.275 GB, free: 6.176 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 3.635e-05/0.9624, allocations: 11 kB / 1.275 GB, free: 6.168 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.0004121/0.9628, allocations: 201.2 kB / 1.275 GB, free: 6.117 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 6.632e-06/0.9629, allocations: 0 / 1.275 GB, free: 6.117 MB / 0.9981 GB Notification: Performance of FrontEnd: time 3.096e-06/0.9629, allocations: 4.688 kB / 1.275 GB, free: 6.113 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 6.943e-06/0.9629, allocations: 0 / 1.275 GB, free: 6.113 MB / 0.9981 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.0005747/0.9634, allocations: 375.1 kB / 1.275 GB, free: 5.73 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 4.474e-05/0.9635, allocations: 9.375 kB / 1.275 GB, free: 5.73 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005022/0.964, allocations: 71.27 kB / 1.275 GB, free: 5.723 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.314e-05/0.9641, allocations: 161.9 kB / 1.276 GB, free: 5.527 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.602e-05/0.9641, allocations: 1.312 kB / 1.276 GB, free: 5.527 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.942e-05/0.9641, allocations: 2.891 kB / 1.276 GB, free: 5.527 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003312/0.9645, allocations: 93.91 kB / 1.276 GB, free: 5.477 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.096e-05/0.9645, allocations: 0 / 1.276 GB, free: 5.477 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.292e-05/0.9645, allocations: 0.8125 kB / 1.276 GB, free: 5.477 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.729e-06/0.9645, allocations: 3.938 kB / 1.276 GB, free: 5.473 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004242/0.9649, allocations: 93.36 kB / 1.276 GB, free: 5.457 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005045/0.9654, allocations: 303.2 kB / 1.276 GB, free: 5.164 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004078/0.9658, allocations: 93.05 kB / 1.276 GB, free: 5.129 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002257/0.966, allocations: 56.09 kB / 1.276 GB, free: 5.109 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 2.304e-05/0.9661, allocations: 4 kB / 1.276 GB, free: 5.105 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.093e-05/0.9661, allocations: 31.69 kB / 1.276 GB, free: 5.066 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=2): time 1.062e-06/0.9661, allocations: 0 / 1.276 GB, free: 5.066 MB / 0.9981 GB Notification: Performance of matching and sorting (n=2): time 0.0008168/0.9669, allocations: 161.4 kB / 1.276 GB, free: 5.02 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.942e-05/0.9669, allocations: 56.59 kB / 1.276 GB, free: 4.953 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.159e-05/0.967, allocations: 103 kB / 1.276 GB, free: 4.852 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 1.59e-05/0.9671, allocations: 26.52 kB / 1.276 GB, free: 4.82 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 4.445e-05/0.9671, allocations: 84.92 kB / 1.277 GB, free: 4.734 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 2.428e-05/0.9671, allocations: 5.391 kB / 1.277 GB, free: 4.73 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.608e-05/0.9672, allocations: 20.17 kB / 1.277 GB, free: 4.711 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 7.647e-05/0.9672, allocations: 316 kB / 1.277 GB, free: 4.395 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002348/0.9675, allocations: 48.81 kB / 1.277 GB, free: 4.383 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002096/0.9677, allocations: 43.03 kB / 1.277 GB, free: 4.379 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004181/0.9681, allocations: 97.58 kB / 1.277 GB, free: 4.352 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.685e-06/0.9681, allocations: 0 / 1.277 GB, free: 4.352 MB / 0.9981 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0004779/0.9686, allocations: 122.5 kB / 1.277 GB, free: 4.305 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 2.763e-05/0.9686, allocations: 7.562 kB / 1.277 GB, free: 4.305 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.933e-06/0.9686, allocations: 0 / 1.277 GB, free: 4.305 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.477e-05/0.9686, allocations: 0.8125 kB / 1.277 GB, free: 4.305 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001909/0.9688, allocations: 20.25 kB / 1.277 GB, free: 4.305 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.137e-06/0.9688, allocations: 0 / 1.277 GB, free: 4.305 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001187/0.969, allocations: 24.72 kB / 1.277 GB, free: 4.297 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.57e-05/0.969, allocations: 2.234 kB / 1.277 GB, free: 4.297 MB / 0.9981 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.807e-05/0.9691, allocations: 111.8 kB / 1.277 GB, free: 4.18 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.02e-05/0.9691, allocations: 5.797 kB / 1.277 GB, free: 4.176 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.639e-05/0.9691, allocations: 9.188 kB / 1.277 GB, free: 4.168 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.717e-06/0.9691, allocations: 1.062 kB / 1.277 GB, free: 4.168 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.731e-06/0.9691, allocations: 0 / 1.277 GB, free: 4.168 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.38e-06/0.9692, allocations: 8.641 kB / 1.277 GB, free: 4.16 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001713/0.9693, allocations: 172.9 kB / 1.278 GB, free: 3.961 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.895e-06/0.9693, allocations: 0.8438 kB / 1.278 GB, free: 3.961 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001756/0.9695, allocations: 25.58 kB / 1.278 GB, free: 3.957 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.587e-06/0.9695, allocations: 0.875 kB / 1.278 GB, free: 3.957 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.485e-05/0.9695, allocations: 0.7812 kB / 1.278 GB, free: 3.957 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.193e-06/0.9695, allocations: 0 / 1.278 GB, free: 3.957 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.086e-06/0.9695, allocations: 0.6562 kB / 1.278 GB, free: 3.957 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005599/0.9701, allocations: 225.1 kB / 1.278 GB, free: 3.805 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 3.137e-05/0.9701, allocations: 78.23 kB / 1.278 GB, free: 3.711 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.888e-05/0.9701, allocations: 3.938 kB / 1.278 GB, free: 3.707 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000156/0.9703, allocations: 19.88 kB / 1.278 GB, free: 3.703 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.49e-05/0.9704, allocations: 3.906 kB / 1.278 GB, free: 3.703 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.736e-06/0.9704, allocations: 2.484 kB / 1.278 GB, free: 3.703 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 3.675e-05/0.9704, allocations: 88.59 kB / 1.278 GB, free: 3.621 MB / 0.9981 GB Notification: Performance of sort global known variables: time 9e-08/0.9704, allocations: 0.7188 kB / 1.278 GB, free: 3.621 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0002994/0.9707, allocations: 18.7 kB / 1.278 GB, free: 3.613 MB / 0.9981 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.0002348/0.9709, allocations: 113.9 kB / 1.278 GB, free: 3.512 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.000538/0.9715, allocations: 97.16 kB / 1.278 GB, free: 3.496 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 2.284e-06/0.9715, allocations: 0 / 1.278 GB, free: 3.496 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0002338/0.9717, allocations: 48.98 kB / 1.278 GB, free: 3.488 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004342/0.9721, allocations: 16.44 kB / 1.278 GB, free: 3.477 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007255/0.9729, allocations: 172.4 kB / 1.278 GB, free: 3.359 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002255/0.9731, allocations: 0.6754 MB / 1.279 GB, free: 2.664 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 7.698e-05/0.9732, allocations: 8.359 kB / 1.279 GB, free: 2.66 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.289e-05/0.9732, allocations: 18.66 kB / 1.279 GB, free: 2.645 MB / 0.9981 GB Notification: Performance of SimCode: time 1.082e-06/0.9732, allocations: 0 / 1.279 GB, free: 2.645 MB / 0.9981 GB Notification: Performance of Templates: time 0.004385/0.9776, allocations: 0.8163 MB / 1.28 GB, free: 2.562 MB / 0.9981 GB " [Timeout remaining time 299] make -j1 -f Buildings_11_Buildings.Utilities.Math.Examples.InverseXRegularized.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Utilities.Math.Examples.InverseXRegularized.pipe ; mkfifo Buildings_11_Buildings.Utilities.Math.Examples.InverseXRegularized.pipe ; head -c 1048576 < Buildings_11_Buildings.Utilities.Math.Examples.InverseXRegularized.pipe >> ../files/Buildings_11_Buildings.Utilities.Math.Examples.InverseXRegularized.sim & ./Buildings_11_Buildings.Utilities.Math.Examples.InverseXRegularized -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Utilities.Math.Examples.InverseXRegularized.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Utilities.Math.Examples.InverseXRegularized_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Utilities_Math_Examples_InverseXRegularized.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Utilities.Math.Examples.InverseXRegularized.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 8.720404624007642]