Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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=5000,variableFilter="time|powerLinearized.y",fileNamePrefix="Buildings_10_Buildings.Utilities.Math.Examples.PowerLinearized") translateModel(Buildings.Utilities.Math.Examples.PowerLinearized,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|powerLinearized.y",fileNamePrefix="Buildings_10_Buildings.Utilities.Math.Examples.PowerLinearized") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001233/0.001233, allocations: 108.9 kB / 16.41 MB, free: 6.441 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001981/0.001981, allocations: 189.2 kB / 17.34 MB, free: 5.703 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.306/1.306, allocations: 222.9 MB / 241 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.375/2.375, allocations: 437.1 MB / 0.7112 GB, free: 4.312 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001803/0.001803, allocations: 63.89 kB / 1.019 GB, free: 9.328 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6961/0.6979, allocations: 151.6 MB / 1.167 GB, free: 3.793 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.PowerLinearized): time 0.002375/0.7003, allocations: 1.445 MB / 1.169 GB, free: 2.336 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.0002631/0.7006, allocations: 98.95 kB / 1.169 GB, free: 2.238 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.16e-05/0.7006, allocations: 0 / 1.169 GB, free: 2.238 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 2.997e-05/0.7007, allocations: 3.938 kB / 1.169 GB, free: 2.234 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 3.931e-05/0.7007, allocations: 3.938 kB / 1.169 GB, free: 2.23 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001704/0.7009, allocations: 19.97 kB / 1.169 GB, free: 2.211 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 7.035e-05/0.701, allocations: 19.94 kB / 1.169 GB, free: 2.191 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 8.461e-05/0.7011, allocations: 15.98 kB / 1.169 GB, free: 2.176 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 3.704e-05/0.7011, allocations: 7.938 kB / 1.169 GB, free: 2.168 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 3.932e-05/0.7012, allocations: 11.98 kB / 1.169 GB, free: 2.156 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 1.217e-05/0.7012, allocations: 0 / 1.169 GB, free: 2.156 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 5.333e-05/0.7012, allocations: 15.98 kB / 1.169 GB, free: 2.141 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 1.696e-05/0.7012, allocations: 11.92 kB / 1.169 GB, free: 2.129 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 2.383e-05/0.7013, allocations: 15.92 kB / 1.169 GB, free: 2.113 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 9.627e-05/0.7014, allocations: 27.91 kB / 1.169 GB, free: 2.086 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 3.927e-06/0.7014, allocations: 0 / 1.169 GB, free: 2.086 MB / 0.8887 GB Notification: Performance of FrontEnd: time 1.743e-06/0.7014, allocations: 0 / 1.169 GB, free: 2.086 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 3.947e-06/0.7014, allocations: 8 kB / 1.169 GB, free: 2.078 MB / 0.8887 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.0004535/0.7019, allocations: 343.9 kB / 1.169 GB, free: 1.695 MB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 3.777e-05/0.7019, allocations: 12.92 kB / 1.169 GB, free: 1.684 MB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001443/0.7021, allocations: 8.922 kB / 1.169 GB, free: 1.676 MB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001381/0.7022, allocations: 176.3 kB / 1.169 GB, free: 1.465 MB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.611e-05/0.7022, allocations: 4.312 kB / 1.169 GB, free: 1.461 MB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.108e-05/0.7022, allocations: 384 / 1.169 GB, free: 1.461 MB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001809/0.7024, allocations: 58.23 kB / 1.17 GB, free: 1.398 MB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.714e-06/0.7024, allocations: 192 / 1.17 GB, free: 1.398 MB / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.058e-05/0.7025, allocations: 3.938 kB / 1.17 GB, free: 1.395 MB / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.5e-06/0.7025, allocations: 7.984 kB / 1.17 GB, free: 1.387 MB / 0.8887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001949/0.7027, allocations: 43.95 kB / 1.17 GB, free: 1.344 MB / 0.8887 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003588/0.703, allocations: 264.9 kB / 1.17 GB, free: 1.035 MB / 0.8887 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001715/0.7032, allocations: 62.42 kB / 1.17 GB, free: 0.9648 MB / 0.8887 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001022/0.7033, allocations: 28.89 kB / 1.17 GB, free: 0.9336 MB / 0.8887 GB Notification: Performance of preOpt evalFunc (simulation): time 1.447e-05/0.7033, allocations: 0 / 1.17 GB, free: 0.9336 MB / 0.8887 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.665e-05/0.7034, allocations: 38.55 kB / 1.17 GB, free: 0.8867 MB / 0.8887 GB Notification: Performance of pre-optimization done (n=2): time 2.555e-06/0.7034, allocations: 4 kB / 1.17 GB, free: 0.8828 MB / 0.8887 GB Notification: Performance of matching and sorting (n=2): time 0.0003938/0.7038, allocations: 97.62 kB / 1.17 GB, free: 0.7812 MB / 0.8887 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.083e-05/0.7038, allocations: 59.34 kB / 1.17 GB, free: 0.7109 MB / 0.8887 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.868e-05/0.7039, allocations: 97.86 kB / 1.17 GB, free: 0.6055 MB / 0.8887 GB Notification: Performance of collectPreVariables (initialization): time 1.515e-05/0.7039, allocations: 29.7 kB / 1.17 GB, free: 0.5703 MB / 0.8887 GB Notification: Performance of collectInitialEqns (initialization): time 6.072e-05/0.704, allocations: 88.23 kB / 1.17 GB, free: 492 kB / 0.8887 GB Notification: Performance of collectInitialBindings (initialization): time 1.62e-05/0.704, allocations: 11.95 kB / 1.17 GB, free: 480 kB / 0.8887 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.355e-05/0.7041, allocations: 13.72 kB / 1.17 GB, free: 460 kB / 0.8887 GB Notification: Performance of setup shared object (initialization): time 0.0001237/0.7042, allocations: 314.8 kB / 1.171 GB, free: 136 kB / 0.8887 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001006/0.7043, allocations: 23.97 kB / 1.171 GB, free: 112 kB / 0.8887 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.305e-05/0.7044, allocations: 27.97 kB / 1.171 GB, free: 84 kB / 0.8887 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001902/0.7046, allocations: 53.12 kB / 1.171 GB, free: 28 kB / 0.8887 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.342e-06/0.7046, allocations: 0 / 1.171 GB, free: 28 kB / 0.8887 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002458/0.7049, allocations: 85.59 kB / 1.171 GB, free: 15.94 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 1.162e-05/0.7049, allocations: 11.88 kB / 1.171 GB, free: 15.93 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.767e-06/0.7049, allocations: 0 / 1.171 GB, free: 15.93 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.326e-05/0.7049, allocations: 4.031 kB / 1.171 GB, free: 15.92 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.487e-05/0.705, allocations: 11.98 kB / 1.171 GB, free: 15.91 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.827e-06/0.705, allocations: 0 / 1.171 GB, free: 15.91 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.949e-05/0.7051, allocations: 15.94 kB / 1.171 GB, free: 15.89 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.34e-06/0.7051, allocations: 0 / 1.171 GB, free: 15.89 MB / 0.9044 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 7.456e-05/0.7052, allocations: 109.8 kB / 1.171 GB, free: 15.78 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.565e-05/0.7052, allocations: 4 kB / 1.171 GB, free: 15.77 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.81e-05/0.7052, allocations: 11.52 kB / 1.171 GB, free: 15.76 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.362e-06/0.7052, allocations: 4 kB / 1.171 GB, free: 15.75 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.046e-06/0.7052, allocations: 0 / 1.171 GB, free: 15.75 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.854e-06/0.7052, allocations: 0 / 1.171 GB, free: 15.75 MB / 0.9044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001691/0.7054, allocations: 165.6 kB / 1.171 GB, free: 15.54 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.52e-07/0.7054, allocations: 0 / 1.171 GB, free: 15.54 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.288e-05/0.7055, allocations: 11.98 kB / 1.171 GB, free: 15.53 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.383e-06/0.7055, allocations: 0 / 1.171 GB, free: 15.53 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.883e-06/0.7055, allocations: 0 / 1.171 GB, free: 15.53 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.092e-06/0.7055, allocations: 0 / 1.171 GB, free: 15.53 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.01e-07/0.7055, allocations: 0 / 1.171 GB, free: 15.53 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002817/0.7058, allocations: 187.4 kB / 1.171 GB, free: 15.33 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 4.146e-05/0.7059, allocations: 81.06 kB / 1.171 GB, free: 15.23 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.339e-05/0.7059, allocations: 4 kB / 1.171 GB, free: 15.23 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.366e-05/0.706, allocations: 7.984 kB / 1.171 GB, free: 15.22 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.244e-05/0.706, allocations: 0 / 1.171 GB, free: 15.22 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.777e-06/0.706, allocations: 4.031 kB / 1.171 GB, free: 15.22 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 4.716e-05/0.7061, allocations: 91.27 kB / 1.172 GB, free: 15.13 MB / 0.9044 GB Notification: Performance of sort global known variables: time 1.3e-07/0.7061, allocations: 0 / 1.172 GB, free: 15.13 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.0002043/0.7063, allocations: 4 kB / 1.172 GB, free: 15.12 MB / 0.9044 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.0001034/0.7064, allocations: 95.25 kB / 1.172 GB, free: 15.02 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.0002502/0.7066, allocations: 51.95 kB / 1.172 GB, free: 14.97 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 1.573e-06/0.7067, allocations: 0 / 1.172 GB, free: 14.97 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 0.0001059/0.7068, allocations: 31.91 kB / 1.172 GB, free: 14.94 MB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000233/0.707, allocations: 7.938 kB / 1.172 GB, free: 14.93 MB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003101/0.7073, allocations: 126.4 kB / 1.172 GB, free: 14.79 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002818/0.7076, allocations: 0.6808 MB / 1.173 GB, free: 14.08 MB / 0.9044 GB Notification: Performance of simCode: alias equations: time 2.671e-05/0.7077, allocations: 7.938 kB / 1.173 GB, free: 14.07 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.875e-05/0.7077, allocations: 7.438 kB / 1.173 GB, free: 14.06 MB / 0.9044 GB Notification: Performance of SimCode: time 2.1e-07/0.7077, allocations: 0 / 1.173 GB, free: 14.06 MB / 0.9044 GB Notification: Performance of Templates: time 0.002607/0.7103, allocations: 0.5852 MB / 1.173 GB, free: 13.48 MB / 0.9044 GB make -j1 -f Buildings_10_Buildings.Utilities.Math.Examples.PowerLinearized.makefile (rm -f Buildings_10_Buildings.Utilities.Math.Examples.PowerLinearized.pipe ; mkfifo Buildings_10_Buildings.Utilities.Math.Examples.PowerLinearized.pipe ; head -c 1048576 < Buildings_10_Buildings.Utilities.Math.Examples.PowerLinearized.pipe >> ../files/Buildings_10_Buildings.Utilities.Math.Examples.PowerLinearized.sim & ./Buildings_10_Buildings.Utilities.Math.Examples.PowerLinearized -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Utilities.Math.Examples.PowerLinearized.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Utilities.Math.Examples.PowerLinearized_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Utilities_Math_Examples_PowerLinearized.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Utilities.Math.Examples.PowerLinearized.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches