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.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.001645/0.001645, allocations: 105.8 kB / 18.84 MB, free: 3.043 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.002063/0.002063, allocations: 195.3 kB / 22.11 MB, free: 5.152 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.505/1.505, allocations: 225.6 MB / 250.8 MB, free: 13.09 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-maint.12.x/package.mo): time 3.211/3.211, allocations: 495.8 MB / 0.783 GB, free: 33.38 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-maint.12.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.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: Performance of FrontEnd - loaded program: time 0.00212/0.00212, allocations: 69.28 kB / 1.137 GB, free: 33.88 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3878/0.3899, allocations: 173.6 MB / 1.307 GB, free: 1.871 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.PowerLinearized): time 0.004761/0.3947, allocations: 1.463 MB / 1.308 GB, free: 408 kB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.0004643/0.3951, allocations: 91.73 kB / 1.308 GB, free: 316 kB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.721e-05/0.3952, allocations: 0 / 1.308 GB, free: 316 kB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 3.644e-05/0.3952, allocations: 0 / 1.308 GB, free: 316 kB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 7.576e-05/0.3953, allocations: 11.94 kB / 1.308 GB, free: 304 kB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002919/0.3956, allocations: 23.84 kB / 1.308 GB, free: 280 kB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.000123/0.3957, allocations: 19.98 kB / 1.308 GB, free: 260 kB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001392/0.3959, allocations: 4 kB / 1.308 GB, free: 256 kB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 7.058e-05/0.3959, allocations: 15.92 kB / 1.308 GB, free: 240 kB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 6.671e-05/0.396, allocations: 11.94 kB / 1.308 GB, free: 228 kB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 1.922e-05/0.396, allocations: 0 / 1.308 GB, free: 228 kB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 9.91e-05/0.3961, allocations: 19.98 kB / 1.308 GB, free: 208 kB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 2.283e-05/0.3961, allocations: 3.984 kB / 1.308 GB, free: 204 kB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 3.762e-05/0.3962, allocations: 7.938 kB / 1.308 GB, free: 196 kB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001727/0.3963, allocations: 39.83 kB / 1.308 GB, free: 156 kB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 1.033e-05/0.3964, allocations: 7.984 kB / 1.308 GB, free: 148 kB / 0.9981 GB Notification: Performance of FrontEnd: time 2.364e-06/0.3964, allocations: 0 / 1.308 GB, free: 148 kB / 0.9981 GB Notification: Performance of Transformations before backend: time 6.202e-06/0.3964, allocations: 0 / 1.308 GB, free: 148 kB / 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.0008094/0.3972, allocations: 274.2 kB / 1.309 GB, free: 15.84 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 5.182e-05/0.3972, allocations: 11.97 kB / 1.309 GB, free: 15.83 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002597/0.3975, allocations: 12.92 kB / 1.309 GB, free: 15.82 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00017/0.3977, allocations: 110.5 kB / 1.309 GB, free: 15.69 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.556e-05/0.3977, allocations: 4.375 kB / 1.309 GB, free: 15.68 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.853e-05/0.3977, allocations: 4.375 kB / 1.309 GB, free: 15.68 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003247/0.398, allocations: 58.22 kB / 1.309 GB, free: 15.62 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.086e-05/0.398, allocations: 192 / 1.309 GB, free: 15.62 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.939e-05/0.3981, allocations: 3.938 kB / 1.309 GB, free: 15.61 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.633e-06/0.3981, allocations: 0 / 1.309 GB, free: 15.61 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004121/0.3985, allocations: 51.89 kB / 1.309 GB, free: 15.56 MB / 1.014 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006486/0.3991, allocations: 236 kB / 1.309 GB, free: 15.29 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003239/0.3995, allocations: 54.48 kB / 1.309 GB, free: 15.23 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002113/0.3997, allocations: 32.89 kB / 1.309 GB, free: 15.19 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 1.764e-05/0.3997, allocations: 0 / 1.309 GB, free: 15.19 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.417e-05/0.3997, allocations: 38.5 kB / 1.309 GB, free: 15.14 MB / 1.014 GB Notification: Performance of pre-optimization done (n=2): time 1.893e-06/0.3997, allocations: 0 / 1.309 GB, free: 15.14 MB / 1.014 GB Notification: Performance of matching and sorting (n=2): time 0.0007994/0.4005, allocations: 101.6 kB / 1.309 GB, free: 15.04 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.952e-05/0.4006, allocations: 51.41 kB / 1.309 GB, free: 14.98 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002217/0.4008, allocations: 106 kB / 1.31 GB, free: 14.86 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 2.969e-05/0.4008, allocations: 29.7 kB / 1.31 GB, free: 14.83 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 7.195e-05/0.4009, allocations: 80.14 kB / 1.31 GB, free: 14.75 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 3.072e-05/0.4009, allocations: 11.89 kB / 1.31 GB, free: 14.73 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.248e-05/0.401, allocations: 13.72 kB / 1.31 GB, free: 14.71 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.000209/0.4012, allocations: 310.8 kB / 1.31 GB, free: 14.4 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002148/0.4014, allocations: 27.97 kB / 1.31 GB, free: 14.38 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001932/0.4016, allocations: 27.97 kB / 1.31 GB, free: 14.35 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003844/0.402, allocations: 56.75 kB / 1.31 GB, free: 14.29 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.495e-06/0.402, allocations: 0 / 1.31 GB, free: 14.29 MB / 1.014 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0004749/0.4025, allocations: 81.55 kB / 1.31 GB, free: 14.2 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 2.515e-05/0.4025, allocations: 12.09 kB / 1.31 GB, free: 14.19 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.791e-06/0.4025, allocations: 0 / 1.31 GB, free: 14.19 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.572e-05/0.4025, allocations: 3.984 kB / 1.31 GB, free: 14.19 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001725/0.4027, allocations: 8 kB / 1.31 GB, free: 14.18 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.344e-06/0.4027, allocations: 0 / 1.31 GB, free: 14.18 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001179/0.4028, allocations: 7.984 kB / 1.31 GB, free: 14.17 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.989e-06/0.4028, allocations: 3.938 kB / 1.31 GB, free: 14.17 MB / 1.014 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.0001502/0.403, allocations: 122.5 kB / 1.31 GB, free: 14.04 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.426e-05/0.403, allocations: 4 kB / 1.31 GB, free: 14.04 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.602e-05/0.4031, allocations: 7.625 kB / 1.31 GB, free: 14.02 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.617e-06/0.4031, allocations: 0 / 1.31 GB, free: 14.02 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.181e-06/0.4031, allocations: 7.938 kB / 1.31 GB, free: 14.02 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.848e-06/0.4031, allocations: 0 / 1.31 GB, free: 14.02 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003444/0.4034, allocations: 136.6 kB / 1.31 GB, free: 13.84 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.791e-06/0.4035, allocations: 4 kB / 1.31 GB, free: 13.84 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001336/0.4036, allocations: 7.984 kB / 1.31 GB, free: 13.83 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.056e-06/0.4036, allocations: 0 / 1.31 GB, free: 13.83 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.094e-05/0.4036, allocations: 4 kB / 1.31 GB, free: 13.82 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.964e-06/0.4036, allocations: 4 kB / 1.31 GB, free: 13.82 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.014e-06/0.4036, allocations: 0 / 1.31 GB, free: 13.82 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005676/0.4042, allocations: 183.4 kB / 1.311 GB, free: 13.62 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 1.487e-05/0.4042, allocations: 4.203 kB / 1.311 GB, free: 13.62 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.045e-05/0.4042, allocations: 0 / 1.311 GB, free: 13.62 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001735/0.4044, allocations: 16.02 kB / 1.311 GB, free: 13.61 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.289e-05/0.4044, allocations: 4 kB / 1.311 GB, free: 13.6 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.813e-06/0.4044, allocations: 0 / 1.311 GB, free: 13.6 MB / 1.014 GB Notification: Performance of sorting global known variables: time 8.097e-05/0.4045, allocations: 87.27 kB / 1.311 GB, free: 13.52 MB / 1.014 GB Notification: Performance of sort global known variables: time 1.41e-07/0.4045, allocations: 0 / 1.311 GB, free: 13.52 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.0004175/0.4049, allocations: 7.938 kB / 1.311 GB, free: 13.51 MB / 1.014 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.0002239/0.4052, allocations: 95.25 kB / 1.311 GB, free: 13.41 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.0004405/0.4056, allocations: 51.95 kB / 1.311 GB, free: 13.36 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 2.936e-06/0.4056, allocations: 0 / 1.311 GB, free: 13.36 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.0001902/0.4058, allocations: 27.97 kB / 1.311 GB, free: 13.33 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000498/0.4063, allocations: 9.031 kB / 1.311 GB, free: 13.32 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005921/0.4069, allocations: 133.6 kB / 1.311 GB, free: 13.16 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004869/0.4074, allocations: 0.6806 MB / 1.312 GB, free: 12.46 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 4.619e-05/0.4074, allocations: 0 / 1.312 GB, free: 12.46 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.264e-05/0.4075, allocations: 11.44 kB / 1.312 GB, free: 12.45 MB / 1.014 GB Notification: Performance of SimCode: time 4.31e-07/0.4075, allocations: 0 / 1.312 GB, free: 12.45 MB / 1.014 GB Notification: Performance of Templates: time 0.005014/0.4125, allocations: 0.5812 MB / 1.312 GB, free: 11.87 MB / 1.014 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/jenkins/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: 8.97874263394624]