Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001316/0.001316, allocations: 113.3 kB / 17.13 MB, free: 5.926 MB / 14.72 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.001456/0.001456, allocations: 204 kB / 20.09 MB, free: 2.977 MB / 14.72 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.491/1.491, allocations: 230.6 MB / 253.5 MB, free: 15.1 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 2.904/2.904, allocations: 0.49 GB / 0.7923 GB, free: 1.305 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/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_12_Buildings.Utilities.Math.Examples.InverseXRegularized") translateModel(Buildings.Utilities.Math.Examples.InverseXRegularized,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|inverseXRegularized.y",fileNamePrefix="Buildings_12_Buildings.Utilities.Math.Examples.InverseXRegularized") [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002091/0.002091, allocations: 73.94 kB / 1.15 GB, free: 14.84 MB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9668/0.9689, allocations: 176.1 MB / 1.322 GB, free: 25.03 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.InverseXRegularized): time 0.002213/0.9711, allocations: 1.463 MB / 1.323 GB, free: 24.01 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.001065/0.9722, allocations: 0.8327 MB / 1.324 GB, free: 23.43 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.528e-05/0.9722, allocations: 0 / 1.324 GB, free: 23.43 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 2.367e-05/0.9722, allocations: 0 / 1.324 GB, free: 23.43 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 4.931e-05/0.9723, allocations: 7.172 kB / 1.324 GB, free: 23.43 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004052/0.9727, allocations: 132.2 kB / 1.324 GB, free: 23.36 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 6.938e-05/0.9728, allocations: 38.83 kB / 1.324 GB, free: 23.35 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 9.044e-05/0.9729, allocations: 2.688 kB / 1.324 GB, free: 23.35 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 4.33e-05/0.9729, allocations: 16.33 kB / 1.324 GB, free: 23.34 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 5.236e-05/0.9729, allocations: 18.47 kB / 1.324 GB, free: 23.34 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 1.36e-05/0.973, allocations: 6.688 kB / 1.324 GB, free: 23.33 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003765/0.9733, allocations: 324.4 kB / 1.325 GB, free: 23.24 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 1.427e-05/0.9734, allocations: 7.281 kB / 1.325 GB, free: 23.23 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 2.369e-05/0.9734, allocations: 10.91 kB / 1.325 GB, free: 23.23 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.0002546/0.9736, allocations: 196.5 kB / 1.325 GB, free: 23.18 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 3.797e-06/0.9736, allocations: 0 / 1.325 GB, free: 23.18 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.112e-06/0.9736, allocations: 0 / 1.325 GB, free: 23.18 MB / 1.061 GB Notification: Performance of Transformations before backend: time 5.3e-06/0.9736, allocations: 0 / 1.325 GB, free: 23.18 MB / 1.061 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.0004603/0.9741, allocations: 376.4 kB / 1.325 GB, free: 22.8 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 3.302e-05/0.9741, allocations: 19.14 kB / 1.325 GB, free: 22.79 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00046/0.9746, allocations: 66.28 kB / 1.325 GB, free: 22.79 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.949e-05/0.9747, allocations: 170.3 kB / 1.326 GB, free: 22.59 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.074e-05/0.9747, allocations: 4.375 kB / 1.326 GB, free: 22.58 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.683e-05/0.9747, allocations: 384 / 1.326 GB, free: 22.58 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000302/0.975, allocations: 92.44 kB / 1.326 GB, free: 22.54 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.001e-05/0.975, allocations: 7.938 kB / 1.326 GB, free: 22.53 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.373e-05/0.9751, allocations: 0 / 1.326 GB, free: 22.53 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.728e-06/0.9751, allocations: 0 / 1.326 GB, free: 22.53 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004106/0.9755, allocations: 90.39 kB / 1.326 GB, free: 22.51 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004477/0.9759, allocations: 297.5 kB / 1.326 GB, free: 22.23 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003638/0.9763, allocations: 99.95 kB / 1.326 GB, free: 22.18 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002046/0.9765, allocations: 55.77 kB / 1.326 GB, free: 22.16 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 1.265e-05/0.9765, allocations: 0 / 1.326 GB, free: 22.16 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.211e-05/0.9765, allocations: 33.38 kB / 1.326 GB, free: 22.12 MB / 1.061 GB Notification: Performance of pre-optimization done (n=2): time 8.81e-07/0.9765, allocations: 0 / 1.326 GB, free: 22.12 MB / 1.061 GB Notification: Performance of matching and sorting (n=2): time 0.0007132/0.9772, allocations: 168.9 kB / 1.326 GB, free: 22.07 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.037e-05/0.9772, allocations: 51.41 kB / 1.326 GB, free: 22.01 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.312e-05/0.9773, allocations: 103.9 kB / 1.326 GB, free: 21.91 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 1.121e-05/0.9773, allocations: 29.64 kB / 1.327 GB, free: 21.87 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 2.526e-05/0.9773, allocations: 84.09 kB / 1.327 GB, free: 21.79 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 2.048e-05/0.9774, allocations: 14.48 kB / 1.327 GB, free: 21.77 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.644e-05/0.9774, allocations: 15.73 kB / 1.327 GB, free: 21.76 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 3.965e-05/0.9774, allocations: 310.8 kB / 1.327 GB, free: 21.45 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002072/0.9776, allocations: 52.27 kB / 1.327 GB, free: 21.43 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001943/0.9778, allocations: 46.94 kB / 1.327 GB, free: 21.43 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003816/0.9782, allocations: 94.61 kB / 1.327 GB, free: 21.4 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.515e-06/0.9782, allocations: 4 kB / 1.327 GB, free: 21.4 MB / 1.061 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.000452/0.9787, allocations: 118.3 kB / 1.327 GB, free: 21.36 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 1.689e-05/0.9787, allocations: 4.906 kB / 1.327 GB, free: 21.36 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.89e-06/0.9787, allocations: 0 / 1.327 GB, free: 21.36 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.632e-05/0.9787, allocations: 4.562 kB / 1.327 GB, free: 21.35 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001701/0.9789, allocations: 20.95 kB / 1.327 GB, free: 21.35 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.488e-06/0.9789, allocations: 0 / 1.327 GB, free: 21.35 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001182/0.979, allocations: 17.39 kB / 1.327 GB, free: 21.35 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.926e-06/0.979, allocations: 5.219 kB / 1.327 GB, free: 21.35 MB / 1.061 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 5.131e-05/0.9791, allocations: 119.4 kB / 1.327 GB, free: 21.22 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.934e-05/0.9791, allocations: 1.531 kB / 1.327 GB, free: 21.22 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.662e-05/0.9791, allocations: 7.25 kB / 1.327 GB, free: 21.22 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.783e-06/0.9791, allocations: 0.75 kB / 1.327 GB, free: 21.22 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.328e-06/0.9791, allocations: 0.7812 kB / 1.327 GB, free: 21.22 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.284e-06/0.9791, allocations: 0 / 1.327 GB, free: 21.22 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000134/0.9793, allocations: 171.5 kB / 1.328 GB, free: 21.02 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.562e-06/0.9793, allocations: 0.8125 kB / 1.328 GB, free: 21.02 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001432/0.9794, allocations: 23.77 kB / 1.328 GB, free: 21.02 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.455e-06/0.9794, allocations: 0.6562 kB / 1.328 GB, free: 21.02 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.019e-05/0.9794, allocations: 4.875 kB / 1.328 GB, free: 21.02 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.042e-06/0.9794, allocations: 0 / 1.328 GB, free: 21.02 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.71e-07/0.9794, allocations: 3.938 kB / 1.328 GB, free: 21.01 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004906/0.9799, allocations: 221.7 kB / 1.328 GB, free: 20.86 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 1.795e-05/0.9799, allocations: 78.36 kB / 1.328 GB, free: 20.77 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.644e-05/0.9799, allocations: 0.7812 kB / 1.328 GB, free: 20.77 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001529/0.9801, allocations: 29.17 kB / 1.328 GB, free: 20.75 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.131e-05/0.9801, allocations: 5.25 kB / 1.328 GB, free: 20.75 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.893e-06/0.9801, allocations: 5.156 kB / 1.328 GB, free: 20.75 MB / 1.061 GB Notification: Performance of sorting global known variables: time 2.408e-05/0.9802, allocations: 78.84 kB / 1.328 GB, free: 20.68 MB / 1.061 GB Notification: Performance of sort global known variables: time 7.1e-08/0.9802, allocations: 0 / 1.328 GB, free: 20.68 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0002517/0.9804, allocations: 15.12 kB / 1.328 GB, free: 20.67 MB / 1.061 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.0001421/0.9806, allocations: 120.4 kB / 1.328 GB, free: 20.57 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.0005006/0.9811, allocations: 93.22 kB / 1.328 GB, free: 20.55 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 1.874e-06/0.9811, allocations: 0 / 1.328 GB, free: 20.55 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.0002275/0.9813, allocations: 50.05 kB / 1.328 GB, free: 20.55 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002929/0.9816, allocations: 8.281 kB / 1.328 GB, free: 20.54 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005685/0.9822, allocations: 196.7 kB / 1.328 GB, free: 20.39 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000106/0.9823, allocations: 0.6804 MB / 1.329 GB, free: 19.69 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.14e-05/0.9823, allocations: 13.97 kB / 1.329 GB, free: 19.68 MB / 1.061 GB Notification: Performance of SimCode: time 4.41e-07/0.9823, allocations: 0 / 1.329 GB, free: 19.68 MB / 1.061 GB Notification: Performance of Templates: time 0.002703/0.985, allocations: 0.8896 MB / 1.33 GB, free: 19.62 MB / 1.061 GB " [Timeout remaining time 299] make -j1 -f Buildings_12_Buildings.Utilities.Math.Examples.InverseXRegularized.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Utilities.Math.Examples.InverseXRegularized.pipe ; mkfifo Buildings_12_Buildings.Utilities.Math.Examples.InverseXRegularized.pipe ; head -c 1048576 < Buildings_12_Buildings.Utilities.Math.Examples.InverseXRegularized.pipe >> ../files/Buildings_12_Buildings.Utilities.Math.Examples.InverseXRegularized.sim & ./Buildings_12_Buildings.Utilities.Math.Examples.InverseXRegularized -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Utilities.Math.Examples.InverseXRegularized.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Utilities.Math.Examples.InverseXRegularized_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Utilities_Math_Examples_InverseXRegularized.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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: 11.611773689000984]