Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/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_latest_Buildings.Utilities.Math.Examples.PowerLinearized") translateModel(Buildings.Utilities.Math.Examples.PowerLinearized,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|powerLinearized.y",fileNamePrefix="Buildings_latest_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.006039/0.006039, allocations: 106.9 kB / 15.74 MB, free: 5.582 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.00114/0.00114, allocations: 197.7 kB / 16.67 MB, free: 5.508 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.319/1.319, allocations: 222.9 MB / 240.4 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.586/2.586, allocations: 461.9 MB / 0.7348 GB, free: 11.12 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001398/0.001398, allocations: 71.88 kB / 1.054 GB, free: 7.734 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8411/0.8425, allocations: 157.4 MB / 1.208 GB, free: 13.64 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.PowerLinearized): time 0.002887/0.8454, allocations: 1.449 MB / 1.209 GB, free: 12.18 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.0003064/0.8458, allocations: 91.73 kB / 1.209 GB, free: 12.09 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.032e-05/0.8458, allocations: 0 / 1.209 GB, free: 12.09 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 3.26e-05/0.8459, allocations: 0 / 1.209 GB, free: 12.09 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 5.154e-05/0.8459, allocations: 7.922 kB / 1.209 GB, free: 12.09 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002187/0.8462, allocations: 19.98 kB / 1.209 GB, free: 12.07 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 7.824e-05/0.8463, allocations: 27.92 kB / 1.209 GB, free: 12.04 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001085/0.8464, allocations: 8 kB / 1.209 GB, free: 12.03 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 4.544e-05/0.8464, allocations: 11.92 kB / 1.209 GB, free: 12.02 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 3.673e-05/0.8465, allocations: 7.938 kB / 1.209 GB, free: 12.01 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 1.58e-05/0.8465, allocations: 4 kB / 1.209 GB, free: 12.01 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 5.998e-05/0.8466, allocations: 15.98 kB / 1.209 GB, free: 11.99 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 1.886e-05/0.8466, allocations: 7.984 kB / 1.209 GB, free: 11.98 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 3.423e-05/0.8466, allocations: 15.92 kB / 1.209 GB, free: 11.97 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.0001161/0.8467, allocations: 31.89 kB / 1.209 GB, free: 11.94 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 4.328e-06/0.8467, allocations: 0 / 1.209 GB, free: 11.94 MB / 0.9356 GB Notification: Performance of FrontEnd: time 3.035e-06/0.8468, allocations: 0 / 1.209 GB, free: 11.94 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 5.941e-06/0.8468, allocations: 7.938 kB / 1.209 GB, free: 11.93 MB / 0.9356 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.0004668/0.8472, allocations: 343.3 kB / 1.21 GB, free: 11.55 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 3.672e-05/0.8473, allocations: 8.031 kB / 1.21 GB, free: 11.54 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001696/0.8475, allocations: 12.92 kB / 1.21 GB, free: 11.53 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001238/0.8476, allocations: 168.3 kB / 1.21 GB, free: 11.32 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.297e-05/0.8476, allocations: 384 / 1.21 GB, free: 11.32 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.347e-06/0.8476, allocations: 4.312 kB / 1.21 GB, free: 11.32 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001936/0.8478, allocations: 62.22 kB / 1.21 GB, free: 11.25 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.686e-06/0.8479, allocations: 192 / 1.21 GB, free: 11.25 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.066e-05/0.8479, allocations: 3.938 kB / 1.21 GB, free: 11.25 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.308e-06/0.8479, allocations: 0 / 1.21 GB, free: 11.25 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002119/0.8481, allocations: 47.95 kB / 1.21 GB, free: 11.2 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003998/0.8485, allocations: 264.9 kB / 1.21 GB, free: 10.89 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000169/0.8487, allocations: 62.42 kB / 1.21 GB, free: 10.82 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001067/0.8488, allocations: 28.89 kB / 1.21 GB, free: 10.79 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 1.272e-05/0.8488, allocations: 0 / 1.21 GB, free: 10.79 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.936e-05/0.8488, allocations: 34.56 kB / 1.21 GB, free: 10.75 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=2): time 8.82e-07/0.8489, allocations: 4 kB / 1.21 GB, free: 10.75 MB / 0.9356 GB Notification: Performance of matching and sorting (n=2): time 0.0004084/0.8493, allocations: 101.6 kB / 1.21 GB, free: 10.64 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.316e-05/0.8493, allocations: 51.41 kB / 1.211 GB, free: 10.58 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.175e-05/0.8494, allocations: 105.8 kB / 1.211 GB, free: 10.46 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 1.289e-05/0.8494, allocations: 25.7 kB / 1.211 GB, free: 10.43 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 4.325e-05/0.8495, allocations: 92.27 kB / 1.211 GB, free: 10.34 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 1.785e-05/0.8495, allocations: 5.734 kB / 1.211 GB, free: 10.34 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.448e-05/0.8495, allocations: 13.72 kB / 1.211 GB, free: 10.32 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001067/0.8496, allocations: 318.8 kB / 1.211 GB, free: 9.996 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001021/0.8498, allocations: 15.98 kB / 1.211 GB, free: 9.98 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.399e-05/0.8499, allocations: 23.97 kB / 1.211 GB, free: 9.957 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001939/0.8501, allocations: 56.88 kB / 1.211 GB, free: 9.898 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.694e-06/0.8501, allocations: 0 / 1.211 GB, free: 9.898 MB / 0.9356 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.000243/0.8503, allocations: 93.42 kB / 1.211 GB, free: 9.801 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.473e-05/0.8503, allocations: 4 kB / 1.211 GB, free: 9.797 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.569e-06/0.8503, allocations: 0 / 1.211 GB, free: 9.797 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.386e-05/0.8504, allocations: 4.031 kB / 1.211 GB, free: 9.793 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001163/0.8505, allocations: 11.98 kB / 1.211 GB, free: 9.781 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.237e-06/0.8505, allocations: 0 / 1.211 GB, free: 9.781 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.051e-05/0.8506, allocations: 7.984 kB / 1.211 GB, free: 9.773 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.614e-06/0.8506, allocations: 4.25 kB / 1.211 GB, free: 9.77 MB / 0.9356 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.226e-05/0.8507, allocations: 109.8 kB / 1.211 GB, free: 9.652 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.655e-05/0.8507, allocations: 4 kB / 1.211 GB, free: 9.648 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.164e-05/0.8507, allocations: 7.531 kB / 1.211 GB, free: 9.633 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.316e-06/0.8507, allocations: 8 kB / 1.211 GB, free: 9.625 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.717e-06/0.8507, allocations: 0 / 1.211 GB, free: 9.625 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.545e-06/0.8507, allocations: 0 / 1.211 GB, free: 9.625 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001643/0.8509, allocations: 169.6 kB / 1.212 GB, free: 9.41 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.844e-06/0.8509, allocations: 0 / 1.212 GB, free: 9.41 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.024e-05/0.851, allocations: 15.98 kB / 1.212 GB, free: 9.395 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.258e-06/0.851, allocations: 3.984 kB / 1.212 GB, free: 9.391 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.606e-06/0.851, allocations: 3.938 kB / 1.212 GB, free: 9.387 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.645e-06/0.851, allocations: 3.938 kB / 1.212 GB, free: 9.383 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.71e-07/0.8511, allocations: 3.938 kB / 1.212 GB, free: 9.379 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002826/0.8513, allocations: 179.4 kB / 1.212 GB, free: 9.188 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 3.533e-05/0.8514, allocations: 81.02 kB / 1.212 GB, free: 9.09 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.25e-05/0.8514, allocations: 0 / 1.212 GB, free: 9.09 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.628e-05/0.8515, allocations: 11.98 kB / 1.212 GB, free: 9.078 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.825e-05/0.8516, allocations: 8.016 kB / 1.212 GB, free: 9.07 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.148e-06/0.8516, allocations: 0 / 1.212 GB, free: 9.07 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 4.001e-05/0.8516, allocations: 83.28 kB / 1.212 GB, free: 8.988 MB / 0.9356 GB Notification: Performance of sort global known variables: time 1.3e-07/0.8516, allocations: 0 / 1.212 GB, free: 8.988 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0002187/0.8518, allocations: 8 kB / 1.212 GB, free: 8.98 MB / 0.9356 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.0001102/0.852, allocations: 95.25 kB / 1.212 GB, free: 8.879 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0002744/0.8522, allocations: 59.88 kB / 1.212 GB, free: 8.82 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 2.094e-06/0.8523, allocations: 0 / 1.212 GB, free: 8.82 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.0001085/0.8524, allocations: 23.98 kB / 1.212 GB, free: 8.797 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000276/0.8526, allocations: 7.922 kB / 1.212 GB, free: 8.789 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003601/0.853, allocations: 129.4 kB / 1.212 GB, free: 8.637 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002423/0.8533, allocations: 0.6808 MB / 1.213 GB, free: 7.93 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 3.173e-05/0.8533, allocations: 4 kB / 1.213 GB, free: 7.926 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.058e-05/0.8533, allocations: 7.438 kB / 1.213 GB, free: 7.918 MB / 0.9356 GB Notification: Performance of SimCode: time 2.3e-07/0.8534, allocations: 0 / 1.213 GB, free: 7.918 MB / 0.9356 GB Notification: Performance of Templates: time 0.002662/0.856, allocations: 0.5898 MB / 1.214 GB, free: 7.332 MB / 0.9356 GB make -j1 -f Buildings_latest_Buildings.Utilities.Math.Examples.PowerLinearized.makefile (rm -f Buildings_latest_Buildings.Utilities.Math.Examples.PowerLinearized.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Math.Examples.PowerLinearized.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Math.Examples.PowerLinearized.pipe >> ../files/Buildings_latest_Buildings.Utilities.Math.Examples.PowerLinearized.sim & ./Buildings_latest_Buildings.Utilities.Math.Examples.PowerLinearized -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Utilities.Math.Examples.PowerLinearized.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Utilities.Math.Examples.PowerLinearized_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Utilities_Math_Examples_PowerLinearized.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Utilities.Math.Examples.PowerLinearized.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches