Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Utilities.Math.Examples.PowerLinearized.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.001656/0.001656, allocations: 97.11 kB / 19.7 MB, free: 2.129 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.002119/0.002119, allocations: 210.9 kB / 23 MB, free: 4.934 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.551/1.551, allocations: 230.6 MB / 256.8 MB, free: 7.789 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.304/3.304, allocations: 0.49 GB / 0.7959 GB, free: 35.44 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.PowerLinearized,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|powerLinearized.y",fileNamePrefix="Buildings_12_Buildings.Utilities.Math.Examples.PowerLinearized") translateModel(Buildings.Utilities.Math.Examples.PowerLinearized,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|powerLinearized.y",fileNamePrefix="Buildings_12_Buildings.Utilities.Math.Examples.PowerLinearized") [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.002798/0.002798, allocations: 70.16 kB / 1.155 GB, free: 25.14 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4744/0.4772, allocations: 176.1 MB / 1.327 GB, free: 1.008 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.PowerLinearized): time 0.00291/0.4801, allocations: 1.462 MB / 1.329 GB, free: 15.54 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.0003215/0.4804, allocations: 87.7 kB / 1.329 GB, free: 15.46 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.567e-05/0.4804, allocations: 0 / 1.329 GB, free: 15.46 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 3.383e-05/0.4805, allocations: 3.938 kB / 1.329 GB, free: 15.45 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 5.001e-05/0.4805, allocations: 7.922 kB / 1.329 GB, free: 15.45 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.000213/0.4807, allocations: 19.98 kB / 1.329 GB, free: 15.43 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 8.157e-05/0.4808, allocations: 27.92 kB / 1.329 GB, free: 15.4 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001057/0.4809, allocations: 4 kB / 1.329 GB, free: 15.39 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 4.703e-05/0.481, allocations: 15.92 kB / 1.329 GB, free: 15.38 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 4.19e-05/0.481, allocations: 11.98 kB / 1.329 GB, free: 15.37 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 1.462e-05/0.481, allocations: 0 / 1.329 GB, free: 15.37 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 6.208e-05/0.4811, allocations: 11.98 kB / 1.329 GB, free: 15.36 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 1.742e-05/0.4811, allocations: 7.938 kB / 1.329 GB, free: 15.35 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 3.026e-05/0.4811, allocations: 11.98 kB / 1.329 GB, free: 15.34 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0001148/0.4812, allocations: 31.84 kB / 1.329 GB, free: 15.3 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 3.677e-06/0.4812, allocations: 0 / 1.329 GB, free: 15.3 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.733e-06/0.4812, allocations: 4 kB / 1.329 GB, free: 15.3 MB / 1.029 GB Notification: Performance of Transformations before backend: time 5.19e-06/0.4812, allocations: 4 kB / 1.329 GB, free: 15.3 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.0004902/0.4817, allocations: 266.3 kB / 1.329 GB, free: 15 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 5.002e-05/0.4818, allocations: 8.031 kB / 1.329 GB, free: 15 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001814/0.482, allocations: 24.75 kB / 1.329 GB, free: 14.97 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001459/0.4821, allocations: 110.5 kB / 1.329 GB, free: 14.84 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.543e-05/0.4821, allocations: 8.312 kB / 1.329 GB, free: 14.83 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.088e-05/0.4822, allocations: 384 / 1.329 GB, free: 14.83 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002139/0.4824, allocations: 54.23 kB / 1.329 GB, free: 14.77 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.232e-05/0.4824, allocations: 8.172 kB / 1.329 GB, free: 14.77 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.613e-05/0.4824, allocations: 7.938 kB / 1.329 GB, free: 14.76 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.428e-06/0.4824, allocations: 0 / 1.329 GB, free: 14.76 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002268/0.4826, allocations: 47.94 kB / 1.329 GB, free: 14.71 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004038/0.483, allocations: 200.6 kB / 1.329 GB, free: 14.48 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001878/0.4832, allocations: 54.48 kB / 1.33 GB, free: 14.42 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001279/0.4833, allocations: 36.89 kB / 1.33 GB, free: 14.38 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 1.8e-05/0.4834, allocations: 3.938 kB / 1.33 GB, free: 14.38 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.613e-05/0.4834, allocations: 30.56 kB / 1.33 GB, free: 14.34 MB / 1.029 GB Notification: Performance of pre-optimization done (n=2): time 1.202e-06/0.4834, allocations: 0 / 1.33 GB, free: 14.34 MB / 1.029 GB Notification: Performance of matching and sorting (n=2): time 0.0004396/0.4838, allocations: 101.6 kB / 1.33 GB, free: 14.23 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.702e-05/0.4839, allocations: 59.53 kB / 1.33 GB, free: 14.16 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.787e-05/0.484, allocations: 109.8 kB / 1.33 GB, free: 14.05 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 1.94e-05/0.484, allocations: 25.7 kB / 1.33 GB, free: 14.02 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 5.382e-05/0.484, allocations: 84.14 kB / 1.33 GB, free: 13.93 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 2.797e-05/0.4841, allocations: 7.891 kB / 1.33 GB, free: 13.92 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.959e-05/0.4841, allocations: 13.72 kB / 1.33 GB, free: 13.9 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001569/0.4843, allocations: 318.8 kB / 1.33 GB, free: 13.58 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001115/0.4844, allocations: 19.98 kB / 1.33 GB, free: 13.56 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001042/0.4845, allocations: 27.97 kB / 1.33 GB, free: 13.54 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001966/0.4847, allocations: 52.81 kB / 1.33 GB, free: 13.48 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.743e-06/0.4847, allocations: 0 / 1.33 GB, free: 13.48 MB / 1.029 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002628/0.4849, allocations: 81.58 kB / 1.33 GB, free: 13.39 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.796e-05/0.485, allocations: 5.25 kB / 1.33 GB, free: 13.39 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.22e-06/0.485, allocations: 4.094 kB / 1.33 GB, free: 13.39 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.478e-05/0.485, allocations: 3.938 kB / 1.33 GB, free: 13.38 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001185/0.4851, allocations: 15.98 kB / 1.33 GB, free: 13.37 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.771e-06/0.4851, allocations: 0 / 1.33 GB, free: 13.37 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.663e-05/0.4852, allocations: 8.234 kB / 1.33 GB, free: 13.36 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.007e-06/0.4852, allocations: 4 kB / 1.33 GB, free: 13.36 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 8.938e-05/0.4853, allocations: 105.8 kB / 1.331 GB, free: 13.24 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.041e-05/0.4853, allocations: 15.83 kB / 1.331 GB, free: 13.23 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.79e-05/0.4854, allocations: 11.62 kB / 1.331 GB, free: 13.21 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.465e-06/0.4854, allocations: 4 kB / 1.331 GB, free: 13.2 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.32e-07/0.4854, allocations: 0 / 1.331 GB, free: 13.2 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 6.101e-06/0.4854, allocations: 0 / 1.331 GB, free: 13.2 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.626e-05/0.4854, allocations: 4 kB / 1.331 GB, free: 13.2 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.856e-05/0.4855, allocations: 11.92 kB / 1.331 GB, free: 13.19 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.266e-05/0.4855, allocations: 3.984 kB / 1.331 GB, free: 13.18 MB / 1.029 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0003401/0.4859, allocations: 160.9 kB / 1.331 GB, free: 13.02 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0003363/0.4862, allocations: 258.8 kB / 1.331 GB, free: 12.75 MB / 1.029 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.000113/0.4863, allocations: 19.98 kB / 1.331 GB, free: 12.73 MB / 1.029 GB Notification: Performance of sorting global known variables: time 5.292e-05/0.4864, allocations: 87.27 kB / 1.331 GB, free: 12.64 MB / 1.029 GB Notification: Performance of Backend: time 5.51e-07/0.4864, allocations: 0 / 1.331 GB, free: 12.64 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0004902/0.4869, allocations: 106.4 kB / 1.331 GB, free: 12.54 MB / 1.029 GB Notification: Performance of SimCode: time 0.0006381/0.4875, allocations: 0.561 MB / 1.332 GB, free: 11.93 MB / 1.029 GB Notification: Performance of Templates: time 0.004164/0.4917, allocations: 1.196 MB / 1.333 GB, free: 10.74 MB / 1.029 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Utilities.Math.Examples.PowerLinearized.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Utilities.Math.Examples.PowerLinearized.pipe ; mkfifo Buildings_12_Buildings.Utilities.Math.Examples.PowerLinearized.pipe ; head -c 1048576 < Buildings_12_Buildings.Utilities.Math.Examples.PowerLinearized.pipe >> ../files/Buildings_12_Buildings.Utilities.Math.Examples.PowerLinearized.sim & ./Buildings_12_Buildings.Utilities.Math.Examples.PowerLinearized -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Utilities.Math.Examples.PowerLinearized.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Utilities.Math.Examples.PowerLinearized_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Utilities_Math_Examples_PowerLinearized.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Utilities.Math.Examples.PowerLinearized.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.531403308996232]