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.006083/0.006083, allocations: 103.6 kB / 15.73 MB, free: 6.012 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.001275/0.001275, allocations: 195.2 kB / 16.68 MB, free: 5.934 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.41/1.41, allocations: 222.9 MB / 240.4 MB, free: 4.168 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.768/2.768, allocations: 461.9 MB / 0.7348 GB, free: 14.67 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001184/0.001184, allocations: 67.91 kB / 1.054 GB, free: 7.145 MB / 0.8106 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3482/0.3494, allocations: 157.4 MB / 1.208 GB, free: 9.633 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.PowerLinearized): time 0.001663/0.3511, allocations: 0.5899 MB / 1.208 GB, free: 9.043 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.0002899/0.3514, allocations: 95.66 kB / 1.208 GB, free: 8.949 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.718e-05/0.3515, allocations: 0 / 1.208 GB, free: 8.949 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 1.471e-05/0.3515, allocations: 0 / 1.208 GB, free: 8.949 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 4.645e-05/0.3515, allocations: 4 kB / 1.208 GB, free: 8.945 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002159/0.3518, allocations: 15.92 kB / 1.208 GB, free: 8.93 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 4.988e-05/0.3518, allocations: 11.98 kB / 1.208 GB, free: 8.918 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 4.473e-05/0.3519, allocations: 0 / 1.208 GB, free: 8.918 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 1.945e-05/0.3519, allocations: 4 kB / 1.208 GB, free: 8.914 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 7.008e-05/0.352, allocations: 7.984 kB / 1.208 GB, free: 8.906 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 1.114e-05/0.352, allocations: 4 kB / 1.208 GB, free: 8.902 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 5.875e-05/0.3521, allocations: 11.98 kB / 1.208 GB, free: 8.891 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 1.264e-05/0.3521, allocations: 4 kB / 1.208 GB, free: 8.887 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 2.429e-05/0.3521, allocations: 7.938 kB / 1.209 GB, free: 8.879 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 8.138e-05/0.3522, allocations: 11.97 kB / 1.209 GB, free: 8.867 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 4.689e-06/0.3522, allocations: 0 / 1.209 GB, free: 8.867 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.302e-06/0.3522, allocations: 0 / 1.209 GB, free: 8.867 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 4.458e-06/0.3522, allocations: 0 / 1.209 GB, free: 8.867 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.000337/0.3526, allocations: 327.6 kB / 1.209 GB, free: 8.496 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 3.6e-05/0.3526, allocations: 8.625 kB / 1.209 GB, free: 8.488 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001656/0.3528, allocations: 12.92 kB / 1.209 GB, free: 8.477 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.826e-05/0.3529, allocations: 164.3 kB / 1.209 GB, free: 8.277 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.761e-05/0.3529, allocations: 384 / 1.209 GB, free: 8.277 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.104e-06/0.3529, allocations: 384 / 1.209 GB, free: 8.277 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001303/0.353, allocations: 50.23 kB / 1.209 GB, free: 8.223 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.045e-06/0.3531, allocations: 192 / 1.209 GB, free: 8.223 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.223e-05/0.3531, allocations: 3.938 kB / 1.209 GB, free: 8.219 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.529e-06/0.3531, allocations: 7.938 kB / 1.209 GB, free: 8.211 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.261e-05/0.3532, allocations: 11.98 kB / 1.209 GB, free: 8.199 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001839/0.3534, allocations: 149.7 kB / 1.209 GB, free: 8.004 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001663/0.3535, allocations: 46.53 kB / 1.209 GB, free: 7.949 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.73e-05/0.3536, allocations: 12.92 kB / 1.209 GB, free: 7.934 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 1.415e-05/0.3536, allocations: 4 kB / 1.209 GB, free: 7.93 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.415e-05/0.3537, allocations: 34.56 kB / 1.209 GB, free: 7.887 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=3): time 1.042e-06/0.3537, allocations: 0 / 1.209 GB, free: 7.887 MB / 0.9669 GB Notification: Performance of matching and sorting (n=3): time 0.0002166/0.3539, allocations: 53.61 kB / 1.209 GB, free: 7.828 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.094e-05/0.3539, allocations: 67.28 kB / 1.209 GB, free: 7.75 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.293e-05/0.354, allocations: 89.86 kB / 1.21 GB, free: 7.652 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 1.358e-05/0.354, allocations: 25.7 kB / 1.21 GB, free: 7.621 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 2.888e-05/0.354, allocations: 84.14 kB / 1.21 GB, free: 7.535 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 3.962e-05/0.3541, allocations: 15.73 kB / 1.21 GB, free: 7.52 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.337e-05/0.3541, allocations: 17.72 kB / 1.21 GB, free: 7.496 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001361/0.3543, allocations: 310.8 kB / 1.21 GB, free: 7.184 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.212e-05/0.3543, allocations: 7.984 kB / 1.21 GB, free: 7.176 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.981e-05/0.3543, allocations: 4 kB / 1.21 GB, free: 7.172 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.726e-05/0.3544, allocations: 20.84 kB / 1.21 GB, free: 7.148 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.034e-06/0.3544, allocations: 0 / 1.21 GB, free: 7.148 MB / 0.9669 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001091/0.3546, allocations: 53.69 kB / 1.21 GB, free: 7.09 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 1.552e-05/0.3546, allocations: 7.938 kB / 1.21 GB, free: 7.082 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.6e-06/0.3546, allocations: 0 / 1.21 GB, free: 7.082 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.429e-05/0.3546, allocations: 3.938 kB / 1.21 GB, free: 7.078 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003851/0.355, allocations: 47.92 kB / 1.21 GB, free: 7.031 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001403/0.3564, allocations: 1.405 MB / 1.211 GB, free: 5.492 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.711e-05/0.3564, allocations: 3.938 kB / 1.211 GB, free: 5.488 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.709e-06/0.3565, allocations: 0 / 1.211 GB, free: 5.488 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 8.791e-05/0.3565, allocations: 117.9 kB / 1.212 GB, free: 5.363 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.544e-06/0.3566, allocations: 0 / 1.212 GB, free: 5.363 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.686e-05/0.3566, allocations: 7.5 kB / 1.212 GB, free: 5.348 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.122e-06/0.3566, allocations: 0 / 1.212 GB, free: 5.348 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.71e-07/0.3566, allocations: 0 / 1.212 GB, free: 5.348 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.608e-06/0.3566, allocations: 4 kB / 1.212 GB, free: 5.344 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001095/0.3567, allocations: 149.6 kB / 1.212 GB, free: 5.148 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.958e-06/0.3567, allocations: 0 / 1.212 GB, free: 5.148 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003603/0.3571, allocations: 59.86 kB / 1.212 GB, free: 5.09 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.264e-06/0.3571, allocations: 0 / 1.212 GB, free: 5.09 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.786e-06/0.3571, allocations: 4 kB / 1.212 GB, free: 5.086 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001173/0.3583, allocations: 1.405 MB / 1.213 GB, free: 3.547 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.72e-07/0.3583, allocations: 0 / 1.213 GB, free: 3.547 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001186/0.3584, allocations: 73.16 kB / 1.213 GB, free: 3.457 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 4.153e-05/0.3585, allocations: 77.11 kB / 1.213 GB, free: 3.363 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.796e-06/0.3585, allocations: 7.922 kB / 1.213 GB, free: 3.355 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.76e-05/0.3585, allocations: 4 kB / 1.213 GB, free: 3.352 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.668e-05/0.3586, allocations: 4.062 kB / 1.213 GB, free: 3.348 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.609e-06/0.3586, allocations: 0 / 1.213 GB, free: 3.348 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 2.527e-05/0.3586, allocations: 79.22 kB / 1.213 GB, free: 3.27 MB / 0.9669 GB Notification: Performance of sort global known variables: time 1e-07/0.3586, allocations: 0 / 1.213 GB, free: 3.27 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0001875/0.3588, allocations: 8 kB / 1.213 GB, free: 3.262 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.000127/0.3589, allocations: 99.25 kB / 1.213 GB, free: 3.152 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.0004674/0.3594, allocations: 67.84 kB / 1.214 GB, free: 3.086 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 2.374e-06/0.3594, allocations: 0 / 1.214 GB, free: 3.086 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 0.0002316/0.3596, allocations: 36.09 kB / 1.214 GB, free: 3.051 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00013/0.3598, allocations: 0 / 1.214 GB, free: 3.051 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003407/0.3601, allocations: 112.8 kB / 1.214 GB, free: 2.914 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002875/0.3604, allocations: 0.6768 MB / 1.214 GB, free: 2.211 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 3.16e-05/0.3605, allocations: 3.953 kB / 1.214 GB, free: 2.207 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.606e-05/0.3605, allocations: 11.44 kB / 1.214 GB, free: 2.199 MB / 0.9669 GB Notification: Performance of SimCode: time 2.41e-07/0.3605, allocations: 0 / 1.214 GB, free: 2.199 MB / 0.9669 GB Notification: Performance of Templates: time 0.002411/0.3629, allocations: 438.7 kB / 1.215 GB, free: 1.773 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