Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Utilities.Math.Functions.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.Functions.Examples.PowerLinearized,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|T|TExact",fileNamePrefix="Buildings_latest_Buildings.Utilities.Math.Functions.Examples.PowerLinearized") translateModel(Buildings.Utilities.Math.Functions.Examples.PowerLinearized,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|T|TExact",fileNamePrefix="Buildings_latest_Buildings.Utilities.Math.Functions.Examples.PowerLinearized") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.007721/0.007721, allocations: 100.1 kB / 15.73 MB, free: 6.473 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.001289/0.00129, allocations: 194.8 kB / 16.67 MB, free: 6.379 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.407/1.407, allocations: 222.9 MB / 240.4 MB, free: 4.332 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.798/2.798, allocations: 461.9 MB / 0.7348 GB, free: 14.63 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001232/0.001232, allocations: 63.91 kB / 1.054 GB, free: 7.117 MB / 0.8106 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.362/0.3633, allocations: 157.4 MB / 1.208 GB, free: 9.613 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.PowerLinearized): time 0.001645/0.3649, allocations: 0.5874 MB / 1.208 GB, free: 9.023 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.0002936/0.3653, allocations: 103.7 kB / 1.208 GB, free: 8.922 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.746e-05/0.3653, allocations: 0 / 1.208 GB, free: 8.922 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 1.319e-05/0.3653, allocations: 0 / 1.208 GB, free: 8.922 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 5.452e-05/0.3654, allocations: 0 / 1.208 GB, free: 8.922 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002261/0.3656, allocations: 15.91 kB / 1.208 GB, free: 8.906 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 5.313e-05/0.3657, allocations: 12 kB / 1.208 GB, free: 8.895 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 4.229e-05/0.3657, allocations: 8 kB / 1.208 GB, free: 8.887 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 2.151e-05/0.3657, allocations: 3.984 kB / 1.208 GB, free: 8.883 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 7.568e-05/0.3658, allocations: 4 kB / 1.208 GB, free: 8.879 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 1.157e-05/0.3658, allocations: 0 / 1.208 GB, free: 8.879 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 5.873e-05/0.3659, allocations: 15.98 kB / 1.208 GB, free: 8.863 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 1.398e-05/0.3659, allocations: 0 / 1.208 GB, free: 8.863 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 1.989e-05/0.3659, allocations: 7.922 kB / 1.209 GB, free: 8.855 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 8.546e-05/0.366, allocations: 15.98 kB / 1.209 GB, free: 8.84 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 3.687e-06/0.366, allocations: 0 / 1.209 GB, free: 8.84 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.413e-06/0.366, allocations: 0 / 1.209 GB, free: 8.84 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 4.238e-06/0.366, allocations: 0 / 1.209 GB, free: 8.84 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.0003321/0.3664, allocations: 323.6 kB / 1.209 GB, free: 8.473 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 3.161e-05/0.3664, allocations: 12.62 kB / 1.209 GB, free: 8.461 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001395/0.3666, allocations: 8.922 kB / 1.209 GB, free: 8.453 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.729e-05/0.3667, allocations: 164.3 kB / 1.209 GB, free: 8.254 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.741e-05/0.3667, allocations: 384 / 1.209 GB, free: 8.254 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.187e-05/0.3667, allocations: 4.375 kB / 1.209 GB, free: 8.25 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001093/0.3668, allocations: 42.23 kB / 1.209 GB, free: 8.203 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.634e-06/0.3668, allocations: 4.188 kB / 1.209 GB, free: 8.199 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.278e-06/0.3668, allocations: 7.875 kB / 1.209 GB, free: 8.191 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.202e-06/0.3668, allocations: 0 / 1.209 GB, free: 8.191 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.35e-05/0.3669, allocations: 15.97 kB / 1.209 GB, free: 8.176 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001344/0.3671, allocations: 149.7 kB / 1.209 GB, free: 7.98 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001483/0.3672, allocations: 42.53 kB / 1.209 GB, free: 7.93 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.324e-05/0.3673, allocations: 20.92 kB / 1.209 GB, free: 7.906 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 1.466e-05/0.3673, allocations: 0 / 1.209 GB, free: 7.906 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.198e-05/0.3673, allocations: 34.55 kB / 1.209 GB, free: 7.863 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=3): time 8.31e-07/0.3673, allocations: 0 / 1.209 GB, free: 7.863 MB / 0.9669 GB Notification: Performance of matching and sorting (n=3): time 0.0002043/0.3675, allocations: 57.56 kB / 1.209 GB, free: 7.801 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.834e-05/0.3676, allocations: 55.34 kB / 1.209 GB, free: 7.734 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.229e-05/0.3676, allocations: 97.84 kB / 1.21 GB, free: 7.629 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 1.081e-05/0.3676, allocations: 25.7 kB / 1.21 GB, free: 7.598 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 2.577e-05/0.3677, allocations: 84.14 kB / 1.21 GB, free: 7.512 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 3.08e-05/0.3677, allocations: 15.75 kB / 1.21 GB, free: 7.496 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.8e-05/0.3677, allocations: 9.719 kB / 1.21 GB, free: 7.48 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 9.241e-05/0.3678, allocations: 318.8 kB / 1.21 GB, free: 7.16 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.836e-05/0.3679, allocations: 7.984 kB / 1.21 GB, free: 7.152 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.014e-05/0.3679, allocations: 8 kB / 1.21 GB, free: 7.145 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.422e-05/0.368, allocations: 24.84 kB / 1.21 GB, free: 7.117 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.683e-06/0.368, allocations: 0 / 1.21 GB, free: 7.117 MB / 0.9669 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001033/0.3681, allocations: 49.62 kB / 1.21 GB, free: 7.062 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 1.29e-05/0.3681, allocations: 7.984 kB / 1.21 GB, free: 7.055 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.837e-06/0.3681, allocations: 0 / 1.21 GB, free: 7.055 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.295e-05/0.3681, allocations: 3.938 kB / 1.21 GB, free: 7.051 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000339/0.3685, allocations: 43.94 kB / 1.21 GB, free: 7.008 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001185/0.3697, allocations: 1.4 MB / 1.211 GB, free: 5.473 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.762e-05/0.3697, allocations: 4.031 kB / 1.211 GB, free: 5.469 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.09e-06/0.3697, allocations: 4.422 kB / 1.211 GB, free: 5.465 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 (3): * Single equations (assignments): 2 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {1} * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 7.758e-05/0.3698, allocations: 113.8 kB / 1.212 GB, free: 5.344 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.784e-06/0.3698, allocations: 0 / 1.212 GB, free: 5.344 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.746e-05/0.3698, allocations: 7.5 kB / 1.212 GB, free: 5.328 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.986e-06/0.3699, allocations: 3.984 kB / 1.212 GB, free: 5.324 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.71e-07/0.3699, allocations: 0 / 1.212 GB, free: 5.324 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.818e-06/0.3699, allocations: 3.984 kB / 1.212 GB, free: 5.32 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.897e-05/0.37, allocations: 157.6 kB / 1.212 GB, free: 5.117 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.22e-07/0.37, allocations: 3.938 kB / 1.212 GB, free: 5.113 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003198/0.3703, allocations: 51.92 kB / 1.212 GB, free: 5.062 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.683e-06/0.3703, allocations: 0 / 1.212 GB, free: 5.062 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.913e-06/0.3703, allocations: 0 / 1.212 GB, free: 5.062 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001024/0.3713, allocations: 1.413 MB / 1.213 GB, free: 3.516 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.132e-06/0.3714, allocations: 0 / 1.213 GB, free: 3.516 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001204/0.3715, allocations: 69.16 kB / 1.213 GB, free: 3.43 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 2.87e-05/0.3715, allocations: 81.09 kB / 1.213 GB, free: 3.332 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.664e-06/0.3715, allocations: 8 kB / 1.213 GB, free: 3.324 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.421e-05/0.3716, allocations: 4 kB / 1.213 GB, free: 3.32 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.669e-05/0.3716, allocations: 0 / 1.213 GB, free: 3.32 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.278e-06/0.3716, allocations: 7.938 kB / 1.213 GB, free: 3.312 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 2.463e-05/0.3716, allocations: 75.28 kB / 1.213 GB, free: 3.238 MB / 0.9669 GB Notification: Performance of sort global known variables: time 1.11e-07/0.3716, allocations: 0 / 1.213 GB, free: 3.238 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0001845/0.3718, allocations: 4 kB / 1.213 GB, free: 3.234 MB / 0.9669 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 (3): * Single equations (assignments): 2 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {1} * Without analytic Jacobian (size): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0001083/0.3719, allocations: 107.2 kB / 1.214 GB, free: 3.117 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.0004101/0.3723, allocations: 55.92 kB / 1.214 GB, free: 3.062 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 2.024e-06/0.3724, allocations: 0 / 1.214 GB, free: 3.062 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 0.0002196/0.3726, allocations: 43.95 kB / 1.214 GB, free: 3.02 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00013/0.3727, allocations: 5.547 kB / 1.214 GB, free: 3.016 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002863/0.373, allocations: 108.7 kB / 1.214 GB, free: 2.887 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002021/0.3732, allocations: 0.6768 MB / 1.214 GB, free: 2.184 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 2.883e-05/0.3733, allocations: 8.188 kB / 1.214 GB, free: 2.176 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.325e-05/0.3733, allocations: 11.44 kB / 1.214 GB, free: 2.168 MB / 0.9669 GB Notification: Performance of SimCode: time 2.1e-07/0.3733, allocations: 0 / 1.214 GB, free: 2.168 MB / 0.9669 GB Notification: Performance of Templates: time 0.0022/0.3755, allocations: 408.9 kB / 1.215 GB, free: 1.77 MB / 0.9669 GB make -j1 -f Buildings_latest_Buildings.Utilities.Math.Functions.Examples.PowerLinearized.makefile (rm -f Buildings_latest_Buildings.Utilities.Math.Functions.Examples.PowerLinearized.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Math.Functions.Examples.PowerLinearized.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Math.Functions.Examples.PowerLinearized.pipe >> ../files/Buildings_latest_Buildings.Utilities.Math.Functions.Examples.PowerLinearized.sim & ./Buildings_latest_Buildings.Utilities.Math.Functions.Examples.PowerLinearized -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Utilities.Math.Functions.Examples.PowerLinearized.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Utilities.Math.Functions.Examples.PowerLinearized_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Utilities_Math_Functions_Examples_PowerLinearized.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Utilities.Math.Functions.Examples.PowerLinearized.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches