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.001759/0.001759, allocations: 109.1 kB / 19.71 MB, free: 2.145 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.002283/0.002283, allocations: 212.1 kB / 23 MB, free: 4.969 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.652/1.652, allocations: 230.6 MB / 256.8 MB, free: 7.797 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 3.306/3.306, allocations: 0.49 GB / 0.7959 GB, free: 35.28 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.00201/0.00201, allocations: 62.59 kB / 1.155 GB, free: 25.16 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4435/0.4455, allocations: 176.1 MB / 1.327 GB, free: 0.9688 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.InverseXRegularized): time 0.003729/0.4493, allocations: 1.463 MB / 1.329 GB, free: 15.5 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.001566/0.4508, allocations: 0.7556 MB / 1.329 GB, free: 14.74 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.177e-05/0.4509, allocations: 0 / 1.329 GB, free: 14.74 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 2.689e-05/0.4509, allocations: 0 / 1.329 GB, free: 14.74 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 5.663e-05/0.451, allocations: 11.88 kB / 1.329 GB, free: 14.73 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005033/0.4515, allocations: 131.5 kB / 1.329 GB, free: 14.6 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.000102/0.4516, allocations: 31.92 kB / 1.329 GB, free: 14.57 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001158/0.4517, allocations: 7.938 kB / 1.329 GB, free: 14.56 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 4.588e-05/0.4517, allocations: 11.98 kB / 1.329 GB, free: 14.55 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 6.288e-05/0.4518, allocations: 23.91 kB / 1.329 GB, free: 14.52 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 1.861e-05/0.4518, allocations: 8 kB / 1.329 GB, free: 14.52 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00045/0.4523, allocations: 259.5 kB / 1.33 GB, free: 14.26 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 2.347e-05/0.4523, allocations: 11.98 kB / 1.33 GB, free: 14.25 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 3.076e-05/0.4523, allocations: 11.92 kB / 1.33 GB, free: 14.24 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0003477/0.4527, allocations: 183.5 kB / 1.33 GB, free: 14.06 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 4.99e-06/0.4527, allocations: 0 / 1.33 GB, free: 14.06 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.693e-06/0.4527, allocations: 0 / 1.33 GB, free: 14.06 MB / 1.029 GB Notification: Performance of Transformations before backend: time 1.072e-05/0.4527, allocations: 4 kB / 1.33 GB, free: 14.05 MB / 1.029 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.0006049/0.4533, allocations: 297.9 kB / 1.33 GB, free: 13.73 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.979e-05/0.4533, allocations: 12.03 kB / 1.33 GB, free: 13.72 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005072/0.4538, allocations: 72.84 kB / 1.33 GB, free: 13.65 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000189/0.454, allocations: 106.5 kB / 1.33 GB, free: 13.52 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.722e-05/0.454, allocations: 4.375 kB / 1.33 GB, free: 13.52 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.875e-05/0.4541, allocations: 4.375 kB / 1.33 GB, free: 13.52 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003316/0.4544, allocations: 85.88 kB / 1.33 GB, free: 13.43 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.083e-05/0.4544, allocations: 3.984 kB / 1.33 GB, free: 13.42 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.374e-05/0.4544, allocations: 4 kB / 1.33 GB, free: 13.42 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.038e-05/0.4544, allocations: 3.938 kB / 1.33 GB, free: 13.41 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004228/0.4549, allocations: 91.91 kB / 1.331 GB, free: 13.32 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005901/0.4554, allocations: 228.6 kB / 1.331 GB, free: 13.07 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000399/0.4558, allocations: 106.4 kB / 1.331 GB, free: 12.96 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002152/0.4561, allocations: 48.88 kB / 1.331 GB, free: 12.91 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 1.862e-05/0.4561, allocations: 0 / 1.331 GB, free: 12.91 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.279e-05/0.4561, allocations: 34.56 kB / 1.331 GB, free: 12.86 MB / 1.029 GB Notification: Performance of pre-optimization done (n=2): time 1.031e-06/0.4561, allocations: 0 / 1.331 GB, free: 12.86 MB / 1.029 GB Notification: Performance of matching and sorting (n=2): time 0.0007823/0.4569, allocations: 165.5 kB / 1.331 GB, free: 12.7 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.425e-05/0.4569, allocations: 55.53 kB / 1.331 GB, free: 12.63 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001114/0.4571, allocations: 101.8 kB / 1.331 GB, free: 12.52 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 2.353e-05/0.4571, allocations: 29.7 kB / 1.331 GB, free: 12.48 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001077/0.4572, allocations: 88.09 kB / 1.331 GB, free: 12.39 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 2.413e-05/0.4572, allocations: 3.938 kB / 1.331 GB, free: 12.39 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.275e-05/0.4572, allocations: 13.72 kB / 1.331 GB, free: 12.37 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001803/0.4574, allocations: 314.8 kB / 1.332 GB, free: 12.05 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003121/0.4577, allocations: 55.89 kB / 1.332 GB, free: 12 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001971/0.4579, allocations: 39.95 kB / 1.332 GB, free: 11.96 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003825/0.4583, allocations: 88.83 kB / 1.332 GB, free: 11.87 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.139e-06/0.4583, allocations: 4 kB / 1.332 GB, free: 11.87 MB / 1.029 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0004559/0.4588, allocations: 129.5 kB / 1.332 GB, free: 11.73 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.998e-05/0.4588, allocations: 12.03 kB / 1.332 GB, free: 11.72 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.48e-06/0.4588, allocations: 3.938 kB / 1.332 GB, free: 11.72 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.742e-05/0.4588, allocations: 0 / 1.332 GB, free: 11.72 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001747/0.459, allocations: 23.97 kB / 1.332 GB, free: 11.7 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.532e-06/0.459, allocations: 0 / 1.332 GB, free: 11.7 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001184/0.4591, allocations: 19.92 kB / 1.332 GB, free: 11.68 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.094e-05/0.4591, allocations: 7.984 kB / 1.332 GB, free: 11.67 MB / 1.029 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 0.0001152/0.4593, allocations: 113.8 kB / 1.332 GB, free: 11.55 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001062/0.4594, allocations: 3.938 kB / 1.332 GB, free: 11.54 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.184e-05/0.4594, allocations: 7.312 kB / 1.332 GB, free: 11.53 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.594e-06/0.4594, allocations: 0 / 1.332 GB, free: 11.53 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.172e-06/0.4594, allocations: 4 kB / 1.332 GB, free: 11.53 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 8.987e-06/0.4594, allocations: 7.938 kB / 1.332 GB, free: 11.52 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.82e-05/0.4594, allocations: 0 / 1.332 GB, free: 11.52 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001555/0.4596, allocations: 24.22 kB / 1.332 GB, free: 11.5 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.488e-05/0.4596, allocations: 3.984 kB / 1.332 GB, free: 11.49 MB / 1.029 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0006/0.4602, allocations: 224.8 kB / 1.332 GB, free: 11.27 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0005929/0.4608, allocations: 298.7 kB / 1.333 GB, free: 10.96 MB / 1.029 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0002226/0.461, allocations: 47.98 kB / 1.333 GB, free: 10.91 MB / 1.029 GB Notification: Performance of sorting global known variables: time 6.011e-05/0.4611, allocations: 87.27 kB / 1.333 GB, free: 10.82 MB / 1.029 GB Notification: Performance of Backend: time 4.01e-07/0.4611, allocations: 0 / 1.333 GB, free: 10.82 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0008433/0.462, allocations: 162.1 kB / 1.333 GB, free: 10.66 MB / 1.029 GB Notification: Performance of SimCode: time 0.0007215/0.4627, allocations: 0.5571 MB / 1.334 GB, free: 10.05 MB / 1.029 GB Notification: Performance of Templates: time 0.00565/0.4683, allocations: 1.847 MB / 1.335 GB, free: 8.219 MB / 1.029 GB " [Timeout remaining time 300] 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: 9.662967258998833]