Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 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.Functions.Examples.PowerLinearized,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|T|TExact",fileNamePrefix="Buildings_10_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_10_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.00705/0.00705, allocations: 99.81 kB / 15.73 MB, free: 6.062 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.001188/0.001188, allocations: 194.9 kB / 16.67 MB, free: 5.973 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.355/1.355, 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 10.1.1-maint.10.0.x/package.mo): time 2.62/2.62, allocations: 437 MB / 0.7105 GB, free: 4.418 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001275/0.001275, allocations: 63.91 kB / 1.019 GB, free: 9.371 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9504/0.9517, allocations: 151.6 MB / 1.167 GB, free: 3.844 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.PowerLinearized): time 0.00173/0.9535, allocations: 0.5883 MB / 1.167 GB, free: 3.258 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.0003375/0.9539, allocations: 97.56 kB / 1.167 GB, free: 3.164 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.257e-05/0.9539, allocations: 0 / 1.167 GB, free: 3.164 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 2.056e-05/0.9539, allocations: 0 / 1.167 GB, free: 3.164 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 5.315e-05/0.954, allocations: 0 / 1.167 GB, free: 3.164 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002619/0.9543, allocations: 27.91 kB / 1.167 GB, free: 3.137 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 5.103e-05/0.9543, allocations: 4 kB / 1.167 GB, free: 3.133 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 5.62e-05/0.9544, allocations: 0 / 1.167 GB, free: 3.133 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 2.289e-05/0.9544, allocations: 12 kB / 1.167 GB, free: 3.121 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 8.176e-05/0.9545, allocations: 0 / 1.167 GB, free: 3.121 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 1.349e-05/0.9545, allocations: 0 / 1.167 GB, free: 3.121 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 6.737e-05/0.9546, allocations: 15.98 kB / 1.167 GB, free: 3.105 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 1.509e-05/0.9546, allocations: 3.984 kB / 1.167 GB, free: 3.102 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 2.049e-05/0.9546, allocations: 3.938 kB / 1.167 GB, free: 3.098 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 9.447e-05/0.9547, allocations: 15.97 kB / 1.167 GB, free: 3.082 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 7.314e-06/0.9547, allocations: 4 kB / 1.167 GB, free: 3.078 MB / 0.8887 GB Notification: Performance of FrontEnd: time 1.934e-06/0.9548, allocations: 0 / 1.167 GB, free: 3.078 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 5.099e-06/0.9548, allocations: 0 / 1.167 GB, free: 3.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.0003716/0.9551, allocations: 324.1 kB / 1.168 GB, free: 2.715 MB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 3.822e-05/0.9552, allocations: 12.86 kB / 1.168 GB, free: 2.703 MB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001636/0.9554, allocations: 12.88 kB / 1.168 GB, free: 2.691 MB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.951e-05/0.9554, allocations: 160.4 kB / 1.168 GB, free: 2.496 MB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.008e-05/0.9555, allocations: 384 / 1.168 GB, free: 2.496 MB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.277e-06/0.9555, allocations: 8.375 kB / 1.168 GB, free: 2.488 MB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001292/0.9556, allocations: 34.25 kB / 1.168 GB, free: 2.449 MB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.716e-06/0.9556, allocations: 192 / 1.168 GB, free: 2.449 MB / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.423e-05/0.9557, allocations: 7.938 kB / 1.168 GB, free: 2.441 MB / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.102e-06/0.9557, allocations: 3.938 kB / 1.168 GB, free: 2.438 MB / 0.8887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.173e-05/0.9558, allocations: 15.98 kB / 1.168 GB, free: 2.422 MB / 0.8887 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001629/0.9559, allocations: 153.7 kB / 1.168 GB, free: 2.223 MB / 0.8887 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001573/0.9561, allocations: 46.59 kB / 1.168 GB, free: 2.168 MB / 0.8887 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.727e-05/0.9561, allocations: 12.86 kB / 1.168 GB, free: 2.152 MB / 0.8887 GB Notification: Performance of preOpt evalFunc (simulation): time 2.03e-05/0.9562, allocations: 3.984 kB / 1.168 GB, free: 2.148 MB / 0.8887 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.479e-05/0.9562, allocations: 38.56 kB / 1.168 GB, free: 2.102 MB / 0.8887 GB Notification: Performance of pre-optimization done (n=3): time 9.92e-07/0.9562, allocations: 0 / 1.168 GB, free: 2.102 MB / 0.8887 GB Notification: Performance of matching and sorting (n=3): time 0.0002292/0.9564, allocations: 61.55 kB / 1.168 GB, free: 2.035 MB / 0.8887 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.442e-05/0.9565, allocations: 51.41 kB / 1.168 GB, free: 1.973 MB / 0.8887 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.819e-05/0.9565, allocations: 89.86 kB / 1.168 GB, free: 1.875 MB / 0.8887 GB Notification: Performance of collectPreVariables (initialization): time 1.5e-05/0.9566, allocations: 33.64 kB / 1.168 GB, free: 1.836 MB / 0.8887 GB Notification: Performance of collectInitialEqns (initialization): time 3.287e-05/0.9566, allocations: 80.14 kB / 1.168 GB, free: 1.754 MB / 0.8887 GB Notification: Performance of collectInitialBindings (initialization): time 3.677e-05/0.9566, allocations: 7.953 kB / 1.168 GB, free: 1.746 MB / 0.8887 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.186e-05/0.9567, allocations: 21.7 kB / 1.169 GB, free: 1.719 MB / 0.8887 GB Notification: Performance of setup shared object (initialization): time 0.0001001/0.9568, allocations: 310.8 kB / 1.169 GB, free: 1.406 MB / 0.8887 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.912e-05/0.9568, allocations: 4 kB / 1.169 GB, free: 1.402 MB / 0.8887 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.34e-05/0.9569, allocations: 11.98 kB / 1.169 GB, free: 1.391 MB / 0.8887 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.365e-05/0.9569, allocations: 24.84 kB / 1.169 GB, free: 1.363 MB / 0.8887 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.405e-06/0.957, allocations: 0 / 1.169 GB, free: 1.363 MB / 0.8887 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001049/0.9571, allocations: 49.62 kB / 1.169 GB, free: 1.309 MB / 0.8887 GB Notification: Performance of prepare postOptimizeDAE: time 1.401e-05/0.9571, allocations: 4 kB / 1.169 GB, free: 1.305 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.2e-06/0.9571, allocations: 4 kB / 1.169 GB, free: 1.301 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.408e-05/0.9571, allocations: 3.938 kB / 1.169 GB, free: 1.297 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003925/0.9575, allocations: 47.92 kB / 1.169 GB, free: 1.25 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001296/0.9588, allocations: 1.397 MB / 1.17 GB, free: 15.71 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.401e-05/0.9589, allocations: 11.97 kB / 1.17 GB, free: 15.7 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.921e-06/0.9589, allocations: 0 / 1.17 GB, free: 15.7 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 (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.089e-05/0.959, allocations: 117.9 kB / 1.17 GB, free: 15.57 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.828e-06/0.959, allocations: 4 kB / 1.17 GB, free: 15.57 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.217e-05/0.959, allocations: 7.5 kB / 1.17 GB, free: 15.56 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.062e-06/0.959, allocations: 0 / 1.17 GB, free: 15.56 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.72e-07/0.959, allocations: 0 / 1.17 GB, free: 15.56 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.275e-06/0.959, allocations: 0 / 1.17 GB, free: 15.56 MB / 0.9044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001071/0.9591, allocations: 161.5 kB / 1.171 GB, free: 15.36 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.905e-06/0.9591, allocations: 0 / 1.171 GB, free: 15.36 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003425/0.9595, allocations: 56.19 kB / 1.171 GB, free: 15.3 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.582e-06/0.9595, allocations: 0 / 1.171 GB, free: 15.3 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.394e-06/0.9595, allocations: 0 / 1.171 GB, free: 15.3 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001132/0.9606, allocations: 1.418 MB / 1.172 GB, free: 13.75 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.093e-06/0.9606, allocations: 0 / 1.172 GB, free: 13.75 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001214/0.9608, allocations: 69.14 kB / 1.172 GB, free: 13.66 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 3.295e-05/0.9608, allocations: 81.11 kB / 1.172 GB, free: 13.56 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.074e-06/0.9608, allocations: 3.938 kB / 1.172 GB, free: 13.56 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.915e-05/0.9609, allocations: 12.05 kB / 1.172 GB, free: 13.55 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.85e-05/0.9609, allocations: 3.938 kB / 1.172 GB, free: 13.54 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.11e-06/0.9609, allocations: 4 kB / 1.172 GB, free: 13.54 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 3.639e-05/0.9609, allocations: 75.28 kB / 1.172 GB, free: 13.46 MB / 0.9044 GB Notification: Performance of sort global known variables: time 1.1e-07/0.9609, allocations: 0 / 1.172 GB, free: 13.46 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.0001904/0.9611, allocations: 4 kB / 1.172 GB, free: 13.46 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 (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.0001414/0.9613, allocations: 95.25 kB / 1.172 GB, free: 13.36 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.0004683/0.9618, allocations: 67.91 kB / 1.172 GB, free: 13.29 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 2.765e-06/0.9618, allocations: 0 / 1.172 GB, free: 13.29 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 0.0002353/0.962, allocations: 43.89 kB / 1.172 GB, free: 13.25 MB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001427/0.9622, allocations: 4 kB / 1.172 GB, free: 13.24 MB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003258/0.9625, allocations: 99.38 kB / 1.173 GB, free: 13.12 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002472/0.9628, allocations: 0.669 MB / 1.173 GB, free: 12.43 MB / 0.9044 GB Notification: Performance of simCode: alias equations: time 3.033e-05/0.9628, allocations: 7.984 kB / 1.173 GB, free: 12.42 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.694e-05/0.9628, allocations: 7.438 kB / 1.173 GB, free: 12.41 MB / 0.9044 GB Notification: Performance of SimCode: time 2.4e-07/0.9628, allocations: 4 kB / 1.173 GB, free: 12.41 MB / 0.9044 GB Notification: Performance of Templates: time 0.002495/0.9653, allocations: 416.7 kB / 1.174 GB, free: 12 MB / 0.9044 GB make -j1 -f Buildings_10_Buildings.Utilities.Math.Functions.Examples.PowerLinearized.makefile (rm -f Buildings_10_Buildings.Utilities.Math.Functions.Examples.PowerLinearized.pipe ; mkfifo Buildings_10_Buildings.Utilities.Math.Functions.Examples.PowerLinearized.pipe ; head -c 1048576 < Buildings_10_Buildings.Utilities.Math.Functions.Examples.PowerLinearized.pipe >> ../files/Buildings_10_Buildings.Utilities.Math.Functions.Examples.PowerLinearized.sim & ./Buildings_10_Buildings.Utilities.Math.Functions.Examples.PowerLinearized -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Utilities.Math.Functions.Examples.PowerLinearized.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Utilities.Math.Functions.Examples.PowerLinearized_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Utilities_Math_Functions_Examples_PowerLinearized.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Utilities.Math.Functions.Examples.PowerLinearized.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches