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.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-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.001192/0.001192, allocations: 87.03 kB / 15.06 MB, free: 1.09 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.001816/0.001817, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.508/1.508, allocations: 223.3 MB / 240 MB, free: 5.43 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.924/2.924, allocations: 462.6 MB / 0.736 GB, free: 15.73 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0003585/0.0003586, allocations: 12.56 kB / 0.9021 GB, free: 36.71 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3687/0.3691, allocations: 159.6 MB / 1.058 GB, free: 5.305 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.PowerLinearized): time 0.0006847/0.3698, allocations: 322.8 kB / 1.058 GB, free: 4.988 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.0002639/0.3701, allocations: 83.84 kB / 1.058 GB, free: 4.906 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.348e-05/0.3701, allocations: 0 / 1.058 GB, free: 4.906 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 1.08e-05/0.3701, allocations: 0 / 1.058 GB, free: 4.906 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 4.735e-05/0.3702, allocations: 0 / 1.058 GB, free: 4.906 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001706/0.3704, allocations: 15.86 kB / 1.058 GB, free: 4.891 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 4.538e-05/0.3704, allocations: 11.98 kB / 1.058 GB, free: 4.879 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 4.236e-05/0.3705, allocations: 0 / 1.058 GB, free: 4.879 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 2.373e-05/0.3705, allocations: 11.98 kB / 1.058 GB, free: 4.867 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 7.854e-05/0.3706, allocations: 0 / 1.058 GB, free: 4.867 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 1.167e-05/0.3706, allocations: 4 kB / 1.058 GB, free: 4.863 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 5.366e-05/0.3707, allocations: 15.98 kB / 1.058 GB, free: 4.848 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 9.268e-06/0.3707, allocations: 4 kB / 1.058 GB, free: 4.844 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 2.792e-05/0.3707, allocations: 25.7 kB / 1.059 GB, free: 4.812 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 6.6e-05/0.3708, allocations: 11.92 kB / 1.059 GB, free: 4.801 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 4.628e-06/0.3708, allocations: 0 / 1.059 GB, free: 4.801 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.422e-06/0.3708, allocations: 0 / 1.059 GB, free: 4.801 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 3.586e-06/0.3708, allocations: 0 / 1.059 GB, free: 4.801 MB / 0.8106 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.0003086/0.3711, allocations: 319.3 kB / 1.059 GB, free: 4.441 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 4.067e-05/0.3712, allocations: 8.031 kB / 1.059 GB, free: 4.434 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001445/0.3713, allocations: 11.98 kB / 1.059 GB, free: 4.422 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001027/0.3714, allocations: 167.1 kB / 1.059 GB, free: 4.219 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.772e-05/0.3715, allocations: 0 / 1.059 GB, free: 4.219 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.706e-06/0.3715, allocations: 3.953 kB / 1.059 GB, free: 4.215 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000114/0.3716, allocations: 41.62 kB / 1.059 GB, free: 4.168 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.913e-06/0.3716, allocations: 0 / 1.059 GB, free: 4.168 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.578e-06/0.3716, allocations: 8 kB / 1.059 GB, free: 4.16 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.541e-06/0.3716, allocations: 0 / 1.059 GB, free: 4.16 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.456e-05/0.3717, allocations: 11.92 kB / 1.059 GB, free: 4.148 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001495/0.3719, allocations: 153.7 kB / 1.059 GB, free: 3.949 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001487/0.372, allocations: 38.56 kB / 1.059 GB, free: 3.902 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.764e-05/0.3721, allocations: 20.91 kB / 1.059 GB, free: 3.879 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 1.805e-05/0.3721, allocations: 7.938 kB / 1.059 GB, free: 3.871 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.314e-05/0.3721, allocations: 34.56 kB / 1.059 GB, free: 3.828 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=3): time 1.042e-06/0.3722, allocations: 0 / 1.059 GB, free: 3.828 MB / 0.8106 GB Notification: Performance of matching and sorting (n=3): time 0.0001925/0.3723, allocations: 57.61 kB / 1.059 GB, free: 3.766 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.467e-05/0.3724, allocations: 51.41 kB / 1.059 GB, free: 3.703 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.31e-05/0.3724, allocations: 89.86 kB / 1.059 GB, free: 3.605 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 1.398e-05/0.3725, allocations: 33.7 kB / 1.06 GB, free: 3.566 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 2.526e-05/0.3725, allocations: 88.08 kB / 1.06 GB, free: 3.477 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 2.878e-05/0.3725, allocations: 8.125 kB / 1.06 GB, free: 3.469 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.936e-06/0.3725, allocations: 0 / 1.06 GB, free: 3.469 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001208/0.3727, allocations: 310.8 kB / 1.06 GB, free: 3.156 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.825e-05/0.3727, allocations: 11.98 kB / 1.06 GB, free: 3.145 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.834e-05/0.3728, allocations: 4 kB / 1.06 GB, free: 3.141 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.094e-05/0.3728, allocations: 7.984 kB / 1.06 GB, free: 3.133 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.523e-06/0.3728, allocations: 4 kB / 1.06 GB, free: 3.129 MB / 0.8106 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001005/0.3729, allocations: 49.62 kB / 1.06 GB, free: 3.074 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.658e-05/0.3729, allocations: 13.67 kB / 1.06 GB, free: 3.062 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.358e-06/0.373, allocations: 0 / 1.06 GB, free: 3.062 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.057e-06/0.373, allocations: 0 / 1.06 GB, free: 3.062 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003396/0.3733, allocations: 44.25 kB / 1.06 GB, free: 3.02 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001199/0.3745, allocations: 1.31 MB / 1.061 GB, free: 1.582 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.601e-05/0.3746, allocations: 3.938 kB / 1.061 GB, free: 1.578 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.46e-06/0.3746, allocations: 4.031 kB / 1.061 GB, free: 1.574 MB / 0.8106 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 (linear and non-linear blocks): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 7.857e-05/0.3747, allocations: 105.8 kB / 1.061 GB, free: 1.461 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.836e-06/0.3747, allocations: 3.953 kB / 1.061 GB, free: 1.457 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.914e-05/0.3747, allocations: 15.58 kB / 1.061 GB, free: 1.438 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.222e-06/0.3747, allocations: 4 kB / 1.061 GB, free: 1.434 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.082e-06/0.3747, allocations: 0 / 1.061 GB, free: 1.434 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.184e-06/0.3747, allocations: 0 / 1.061 GB, free: 1.434 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.702e-05/0.3748, allocations: 149.6 kB / 1.062 GB, free: 1.238 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.525e-06/0.3748, allocations: 3.984 kB / 1.062 GB, free: 1.234 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003174/0.3751, allocations: 43.94 kB / 1.062 GB, free: 1.191 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.894e-06/0.3751, allocations: 0 / 1.062 GB, free: 1.191 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.137e-05/0.3752, allocations: 11.95 kB / 1.062 GB, free: 1.18 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001049/0.3762, allocations: 1.31 MB / 1.063 GB, free: 15.74 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.202e-06/0.3762, allocations: 0 / 1.063 GB, free: 15.74 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001139/0.3764, allocations: 73.28 kB / 1.063 GB, free: 15.65 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 4.672e-05/0.3764, allocations: 81.02 kB / 1.063 GB, free: 15.55 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.747e-06/0.3764, allocations: 7.938 kB / 1.063 GB, free: 15.55 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.441e-05/0.3765, allocations: 0 / 1.063 GB, free: 15.55 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.914e-05/0.3765, allocations: 12.03 kB / 1.063 GB, free: 15.54 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.145e-06/0.3765, allocations: 0 / 1.063 GB, free: 15.54 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 3.049e-05/0.3765, allocations: 75.28 kB / 1.063 GB, free: 15.46 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.11e-07/0.3765, allocations: 7.875 kB / 1.063 GB, free: 15.45 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.000196/0.3767, allocations: 8 kB / 1.063 GB, free: 15.45 MB / 0.8262 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 (linear and non-linear blocks): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001201/0.3769, allocations: 95.25 kB / 1.063 GB, free: 15.34 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0003955/0.3773, allocations: 59.91 kB / 1.063 GB, free: 15.28 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 2.464e-06/0.3773, allocations: 4 kB / 1.063 GB, free: 15.28 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0002091/0.3775, allocations: 35.95 kB / 1.063 GB, free: 15.24 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001326/0.3776, allocations: 4 kB / 1.063 GB, free: 15.24 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002822/0.3779, allocations: 89.81 kB / 1.063 GB, free: 15.12 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002472/0.3782, allocations: 0.6809 MB / 1.064 GB, free: 14.42 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 3.191e-05/0.3782, allocations: 4 kB / 1.064 GB, free: 14.41 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.374e-05/0.3782, allocations: 11.44 kB / 1.064 GB, free: 14.4 MB / 0.8262 GB Notification: Performance of SimCode: time 2.3e-07/0.3783, allocations: 0 / 1.064 GB, free: 14.4 MB / 0.8262 GB Notification: Performance of Templates: time 0.002269/0.3805, allocations: 383.9 kB / 1.065 GB, free: 14.03 MB / 0.8262 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