Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.001428/0.001428, allocations: 114.5 kB / 18.88 MB, free: 3.062 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.001571/0.001571, allocations: 193.5 kB / 22.17 MB, free: 5.656 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.604/1.604, allocations: 225.6 MB / 250.9 MB, free: 13.29 MB / 206.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.922/2.922, allocations: 476.7 MB / 0.7645 GB, free: 10.09 MB / 0.6231 GB " [Timeout remaining time 176] 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.PowerLinearized,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|powerLinearized.y",fileNamePrefix="Buildings_11_Buildings.Utilities.Math.Examples.PowerLinearized") translateModel(Buildings.Utilities.Math.Examples.PowerLinearized,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|powerLinearized.y",fileNamePrefix="Buildings_11_Buildings.Utilities.Math.Examples.PowerLinearized") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001977/0.001977, allocations: 67.89 kB / 1.109 GB, free: 6.52 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9435/0.9455, allocations: 168.7 MB / 1.274 GB, free: 4.402 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.PowerLinearized): time 0.003195/0.9487, allocations: 1.45 MB / 1.275 GB, free: 2.945 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.0003525/0.949, allocations: 103.7 kB / 1.276 GB, free: 2.844 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.946e-05/0.9491, allocations: 0 / 1.276 GB, free: 2.844 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 3.725e-05/0.9491, allocations: 0 / 1.276 GB, free: 2.844 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 5.869e-05/0.9492, allocations: 7.922 kB / 1.276 GB, free: 2.836 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002244/0.9494, allocations: 15.98 kB / 1.276 GB, free: 2.82 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 9.694e-05/0.9495, allocations: 23.92 kB / 1.276 GB, free: 2.797 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001014/0.9496, allocations: 11.98 kB / 1.276 GB, free: 2.785 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 4.935e-05/0.9496, allocations: 7.938 kB / 1.276 GB, free: 2.777 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 4.374e-05/0.9497, allocations: 7.984 kB / 1.276 GB, free: 2.77 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 1.696e-05/0.9497, allocations: 4 kB / 1.276 GB, free: 2.766 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 6.288e-05/0.9498, allocations: 19.98 kB / 1.276 GB, free: 2.746 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 1.958e-05/0.9498, allocations: 7.938 kB / 1.276 GB, free: 2.738 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 3.093e-05/0.9498, allocations: 11.92 kB / 1.276 GB, free: 2.727 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0001309/0.95, allocations: 34.56 kB / 1.276 GB, free: 2.695 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 4.078e-06/0.95, allocations: 0 / 1.276 GB, free: 2.695 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.413e-06/0.95, allocations: 0 / 1.276 GB, free: 2.695 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 6.472e-06/0.95, allocations: 3.938 kB / 1.276 GB, free: 2.691 MB / 0.9669 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.0005303/0.9505, allocations: 351.3 kB / 1.276 GB, free: 2.297 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 4.164e-05/0.9505, allocations: 12.03 kB / 1.276 GB, free: 2.285 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001813/0.9507, allocations: 12.92 kB / 1.276 GB, free: 2.273 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001569/0.9509, allocations: 176.3 kB / 1.276 GB, free: 2.062 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.512e-05/0.9509, allocations: 4.375 kB / 1.276 GB, free: 2.059 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.036e-05/0.9509, allocations: 384 / 1.276 GB, free: 2.059 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002032/0.9511, allocations: 54.23 kB / 1.276 GB, free: 2 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.866e-06/0.9511, allocations: 192 / 1.276 GB, free: 2 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.231e-05/0.9511, allocations: 3.938 kB / 1.276 GB, free: 1.996 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.621e-06/0.9511, allocations: 4 kB / 1.276 GB, free: 1.992 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002398/0.9514, allocations: 51.94 kB / 1.276 GB, free: 1.941 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004326/0.9518, allocations: 260.9 kB / 1.277 GB, free: 1.637 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001898/0.952, allocations: 58.47 kB / 1.277 GB, free: 1.57 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001078/0.9521, allocations: 28.91 kB / 1.277 GB, free: 1.539 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 1.526e-05/0.9521, allocations: 0 / 1.277 GB, free: 1.539 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.087e-05/0.9522, allocations: 30.56 kB / 1.277 GB, free: 1.5 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=2): time 9.51e-07/0.9522, allocations: 0 / 1.277 GB, free: 1.5 MB / 0.9669 GB Notification: Performance of matching and sorting (n=2): time 0.0004241/0.9526, allocations: 105.7 kB / 1.277 GB, free: 1.391 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.369e-05/0.9527, allocations: 55.41 kB / 1.277 GB, free: 1.324 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.073e-05/0.9528, allocations: 105.8 kB / 1.277 GB, free: 1.211 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 1.751e-05/0.9528, allocations: 25.7 kB / 1.277 GB, free: 1.18 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 5.195e-05/0.9528, allocations: 84.14 kB / 1.277 GB, free: 1.094 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 2.051e-05/0.9529, allocations: 7.938 kB / 1.277 GB, free: 1.086 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.698e-05/0.9529, allocations: 13.72 kB / 1.277 GB, free: 1.066 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001339/0.953, allocations: 314.8 kB / 1.277 GB, free: 0.75 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001085/0.9531, allocations: 28 kB / 1.277 GB, free: 0.7227 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.435e-05/0.9532, allocations: 19.98 kB / 1.277 GB, free: 0.7031 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001982/0.9534, allocations: 56.8 kB / 1.278 GB, free: 0.6445 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.543e-06/0.9534, allocations: 0 / 1.278 GB, free: 0.6445 MB / 0.9669 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002569/0.9537, allocations: 93.48 kB / 1.278 GB, free: 0.5469 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 1.481e-05/0.9537, allocations: 4 kB / 1.278 GB, free: 0.543 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.619e-06/0.9537, allocations: 0 / 1.278 GB, free: 0.543 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.441e-05/0.9537, allocations: 0 / 1.278 GB, free: 0.543 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001102/0.9538, allocations: 15.98 kB / 1.278 GB, free: 0.5273 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.849e-06/0.9538, allocations: 0 / 1.278 GB, free: 0.5273 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.306e-05/0.9539, allocations: 7.984 kB / 1.278 GB, free: 0.5195 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.031e-06/0.9539, allocations: 4.281 kB / 1.278 GB, free: 0.5156 MB / 0.9669 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.362e-05/0.954, allocations: 115.2 kB / 1.278 GB, free: 404 kB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.482e-05/0.954, allocations: 0 / 1.278 GB, free: 404 kB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.141e-05/0.954, allocations: 11.53 kB / 1.278 GB, free: 392 kB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.903e-06/0.954, allocations: 7.969 kB / 1.278 GB, free: 384 kB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.71e-06/0.9541, allocations: 7.938 kB / 1.278 GB, free: 376 kB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.906e-06/0.9541, allocations: 0 / 1.278 GB, free: 376 kB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001832/0.9542, allocations: 169.6 kB / 1.278 GB, free: 156 kB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.442e-06/0.9542, allocations: 0 / 1.278 GB, free: 156 kB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.018e-05/0.9543, allocations: 15.98 kB / 1.278 GB, free: 140 kB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.274e-06/0.9543, allocations: 0 / 1.278 GB, free: 140 kB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.922e-06/0.9543, allocations: 0 / 1.278 GB, free: 140 kB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.383e-06/0.9543, allocations: 0 / 1.278 GB, free: 140 kB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.376e-06/0.9543, allocations: 3.938 kB / 1.278 GB, free: 136 kB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003269/0.9547, allocations: 183.4 kB / 1.278 GB, free: 15.94 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 4.95e-05/0.9547, allocations: 81.06 kB / 1.278 GB, free: 15.84 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.361e-05/0.9547, allocations: 0 / 1.278 GB, free: 15.84 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.356e-05/0.9548, allocations: 11.98 kB / 1.278 GB, free: 15.83 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.955e-05/0.9548, allocations: 0 / 1.278 GB, free: 15.83 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.737e-06/0.9549, allocations: 0 / 1.278 GB, free: 15.83 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 5.02e-05/0.9549, allocations: 83.28 kB / 1.278 GB, free: 15.75 MB / 0.9825 GB Notification: Performance of sort global known variables: time 8.1e-08/0.9549, allocations: 0 / 1.278 GB, free: 15.75 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0002417/0.9551, allocations: 8 kB / 1.278 GB, free: 15.74 MB / 0.9825 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.000143/0.9553, allocations: 103.3 kB / 1.278 GB, free: 15.62 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0002677/0.9556, allocations: 51.89 kB / 1.278 GB, free: 15.57 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 1.523e-06/0.9556, allocations: 0 / 1.278 GB, free: 15.57 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0001149/0.9557, allocations: 27.97 kB / 1.278 GB, free: 15.55 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002811/0.956, allocations: 9.625 kB / 1.278 GB, free: 15.54 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003787/0.9563, allocations: 129.4 kB / 1.279 GB, free: 15.39 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003069/0.9566, allocations: 0.6806 MB / 1.279 GB, free: 14.68 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 2.957e-05/0.9567, allocations: 4 kB / 1.279 GB, free: 14.68 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.183e-05/0.9567, allocations: 11.44 kB / 1.279 GB, free: 14.66 MB / 0.9825 GB Notification: Performance of SimCode: time 3.01e-07/0.9567, allocations: 4 kB / 1.279 GB, free: 14.66 MB / 0.9825 GB Notification: Performance of Templates: time 0.002961/0.9597, allocations: 0.5855 MB / 1.28 GB, free: 14.08 MB / 0.9825 GB " [Timeout remaining time 299] make -j1 -f Buildings_11_Buildings.Utilities.Math.Examples.PowerLinearized.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Utilities.Math.Examples.PowerLinearized.pipe ; mkfifo Buildings_11_Buildings.Utilities.Math.Examples.PowerLinearized.pipe ; head -c 1048576 < Buildings_11_Buildings.Utilities.Math.Examples.PowerLinearized.pipe >> ../files/Buildings_11_Buildings.Utilities.Math.Examples.PowerLinearized.sim & ./Buildings_11_Buildings.Utilities.Math.Examples.PowerLinearized -abortSlowSimulation -alarm=400 -s cvode -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Utilities.Math.Examples.PowerLinearized.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Utilities.Math.Examples.PowerLinearized_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Utilities_Math_Examples_PowerLinearized.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_11_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.203446640167385]