Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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.Examples.PowerLinearized,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|powerLinearized.y",fileNamePrefix="Buildings_9_Buildings.Utilities.Math.Examples.PowerLinearized") translateModel(Buildings.Utilities.Math.Examples.PowerLinearized,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|powerLinearized.y",fileNamePrefix="Buildings_9_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.001524/0.001524, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.002089/0.002089, allocations: 194 kB / 16.25 MB, free: 6.637 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.546/1.546, allocations: 222.9 MB / 239.9 MB, free: 4.562 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.415/2.415, allocations: 390.2 MB / 0.6644 GB, free: 0.6445 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.002163/0.002164, allocations: 63.84 kB / 0.812 GB, free: 14.82 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8556/0.8578, allocations: 140.4 MB / 0.9491 GB, free: 9.176 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.PowerLinearized): time 0.003068/0.8609, allocations: 1.499 MB / 0.9505 GB, free: 7.996 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0002864/0.8612, allocations: 91.91 kB / 0.9506 GB, free: 7.922 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.162e-05/0.8613, allocations: 1.219 kB / 0.9506 GB, free: 7.922 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 3.989e-05/0.8613, allocations: 3.984 kB / 0.9506 GB, free: 7.918 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 5.536e-05/0.8614, allocations: 8.984 kB / 0.9507 GB, free: 7.91 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002199/0.8616, allocations: 12.67 kB / 0.9507 GB, free: 7.902 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 7.389e-05/0.8617, allocations: 22.62 kB / 0.9507 GB, free: 7.891 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001204/0.8618, allocations: 15.3 kB / 0.9507 GB, free: 7.879 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 5.273e-05/0.8619, allocations: 3.406 kB / 0.9507 GB, free: 7.879 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 3.969e-05/0.8619, allocations: 15.23 kB / 0.9507 GB, free: 7.867 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.594e-05/0.862, allocations: 2.406 kB / 0.9507 GB, free: 7.867 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 6.666e-05/0.862, allocations: 15.95 kB / 0.9507 GB, free: 7.859 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 1.784e-05/0.862, allocations: 9.062 kB / 0.9507 GB, free: 7.852 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 2.969e-05/0.8621, allocations: 10.2 kB / 0.9508 GB, free: 7.844 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0001235/0.8622, allocations: 28.7 kB / 0.9508 GB, free: 7.824 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 6.663e-06/0.8622, allocations: 0 / 0.9508 GB, free: 7.824 MB / 0.7169 GB Notification: Performance of FrontEnd: time 2.154e-06/0.8622, allocations: 1.25 kB / 0.9508 GB, free: 7.824 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 7.534e-06/0.8622, allocations: 0 / 0.9508 GB, free: 7.824 MB / 0.7169 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.0004243/0.8627, allocations: 352.4 kB / 0.9511 GB, free: 7.445 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.444e-05/0.8627, allocations: 9.844 kB / 0.9511 GB, free: 7.445 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002049/0.8629, allocations: 15.02 kB / 0.9511 GB, free: 7.438 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001063/0.8631, allocations: 174.3 kB / 0.9513 GB, free: 7.23 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.697e-05/0.8631, allocations: 9.719 kB / 0.9513 GB, free: 7.223 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.167e-05/0.8631, allocations: 5.578 kB / 0.9513 GB, free: 7.219 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002082/0.8633, allocations: 57.95 kB / 0.9514 GB, free: 7.172 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.015e-05/0.8633, allocations: 192 / 0.9514 GB, free: 7.172 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.291e-05/0.8634, allocations: 3.938 kB / 0.9514 GB, free: 7.168 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.069e-06/0.8634, allocations: 1.125 kB / 0.9514 GB, free: 7.168 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002084/0.8636, allocations: 50.5 kB / 0.9514 GB, free: 7.145 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003578/0.864, allocations: 255.3 kB / 0.9517 GB, free: 6.859 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001649/0.8641, allocations: 67.08 kB / 0.9517 GB, free: 6.805 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001048/0.8642, allocations: 30.45 kB / 0.9518 GB, free: 6.785 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 1.91e-05/0.8643, allocations: 0 / 0.9518 GB, free: 6.785 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.56e-05/0.8643, allocations: 31.88 kB / 0.9518 GB, free: 6.746 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=2): time 8.12e-07/0.8643, allocations: 0 / 0.9518 GB, free: 6.746 MB / 0.7169 GB Notification: Performance of matching and sorting (n=2): time 0.0004097/0.8647, allocations: 104.9 kB / 0.9519 GB, free: 6.68 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.371e-05/0.8648, allocations: 59.34 kB / 0.952 GB, free: 6.609 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.317e-05/0.8648, allocations: 106.1 kB / 0.9521 GB, free: 6.504 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.076e-05/0.8649, allocations: 25.7 kB / 0.9521 GB, free: 6.473 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 3.221e-05/0.8649, allocations: 81.95 kB / 0.9522 GB, free: 6.391 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 2.13e-05/0.8649, allocations: 12.02 kB / 0.9522 GB, free: 6.379 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.842e-05/0.865, allocations: 16.44 kB / 0.9522 GB, free: 6.359 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 5.257e-05/0.865, allocations: 312.7 kB / 0.9525 GB, free: 6.047 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001031/0.8651, allocations: 24.12 kB / 0.9525 GB, free: 6.035 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.02e-05/0.8652, allocations: 21.67 kB / 0.9525 GB, free: 6.027 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001803/0.8654, allocations: 54.19 kB / 0.9526 GB, free: 5.996 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.824e-06/0.8654, allocations: 0 / 0.9526 GB, free: 5.996 MB / 0.7169 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002269/0.8657, allocations: 81.02 kB / 0.9527 GB, free: 5.941 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 2.068e-05/0.8657, allocations: 4.688 kB / 0.9527 GB, free: 5.941 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.242e-06/0.8657, allocations: 3.938 kB / 0.9527 GB, free: 5.938 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.443e-05/0.8657, allocations: 1.219 kB / 0.9527 GB, free: 5.938 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001188/0.8658, allocations: 18.52 kB / 0.9527 GB, free: 5.926 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.704e-06/0.8659, allocations: 1.688 kB / 0.9527 GB, free: 5.926 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.373e-05/0.8659, allocations: 11.95 kB / 0.9527 GB, free: 5.918 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.556e-06/0.8659, allocations: 1.281 kB / 0.9527 GB, free: 5.918 MB / 0.7169 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.17e-05/0.866, allocations: 111.4 kB / 0.9528 GB, free: 5.801 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.924e-05/0.8661, allocations: 1.406 kB / 0.9528 GB, free: 5.801 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.602e-05/0.8661, allocations: 8.594 kB / 0.9528 GB, free: 5.789 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.848e-06/0.8661, allocations: 5.094 kB / 0.9528 GB, free: 5.785 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.921e-06/0.8661, allocations: 0 / 0.9528 GB, free: 5.785 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.779e-06/0.8661, allocations: 3.984 kB / 0.9528 GB, free: 5.781 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001603/0.8663, allocations: 168.6 kB / 0.953 GB, free: 5.574 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.492e-06/0.8663, allocations: 0 / 0.953 GB, free: 5.574 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.2e-05/0.8664, allocations: 12.33 kB / 0.953 GB, free: 5.57 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.668e-06/0.8664, allocations: 256 / 0.953 GB, free: 5.57 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.064e-05/0.8664, allocations: 0 / 0.953 GB, free: 5.57 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.356e-06/0.8664, allocations: 5.406 kB / 0.953 GB, free: 5.566 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.262e-06/0.8664, allocations: 0 / 0.953 GB, free: 5.566 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002854/0.8667, allocations: 190 kB / 0.9532 GB, free: 5.395 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 2.67e-05/0.8668, allocations: 78.2 kB / 0.9533 GB, free: 5.301 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.6e-05/0.8668, allocations: 1 kB / 0.9533 GB, free: 5.301 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.047e-05/0.8669, allocations: 8.641 kB / 0.9533 GB, free: 5.297 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.866e-05/0.8669, allocations: 6.438 kB / 0.9533 GB, free: 5.293 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.37e-06/0.8669, allocations: 4.031 kB / 0.9533 GB, free: 5.289 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 4.691e-05/0.867, allocations: 83.94 kB / 0.9534 GB, free: 5.211 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1e-07/0.867, allocations: 0 / 0.9534 GB, free: 5.211 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002517/0.8673, allocations: 5.75 kB / 0.9534 GB, free: 5.211 MB / 0.7169 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.0001188/0.8674, allocations: 100.3 kB / 0.9535 GB, free: 5.121 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0002769/0.8677, allocations: 52.48 kB / 0.9535 GB, free: 5.098 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.054e-06/0.8677, allocations: 0 / 0.9535 GB, free: 5.098 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.000107/0.8678, allocations: 31.75 kB / 0.9535 GB, free: 5.082 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000355/0.8682, allocations: 5.094 kB / 0.9535 GB, free: 5.078 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004021/0.8686, allocations: 134 kB / 0.9537 GB, free: 4.945 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001291/0.8687, allocations: 0.6854 MB / 0.9543 GB, free: 4.238 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 3.56e-05/0.8688, allocations: 1.125 kB / 0.9543 GB, free: 4.238 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.367e-05/0.8688, allocations: 8.531 kB / 0.9543 GB, free: 4.23 MB / 0.7169 GB Notification: Performance of SimCode: time 2.1e-07/0.8688, allocations: 1.156 kB / 0.9543 GB, free: 4.23 MB / 0.7169 GB Notification: Performance of Templates: time 0.002969/0.8718, allocations: 0.5255 MB / 0.9549 GB, free: 3.965 MB / 0.7169 GB make -j1 -f Buildings_9_Buildings.Utilities.Math.Examples.PowerLinearized.makefile (rm -f Buildings_9_Buildings.Utilities.Math.Examples.PowerLinearized.pipe ; mkfifo Buildings_9_Buildings.Utilities.Math.Examples.PowerLinearized.pipe ; head -c 1048576 < Buildings_9_Buildings.Utilities.Math.Examples.PowerLinearized.pipe >> ../files/Buildings_9_Buildings.Utilities.Math.Examples.PowerLinearized.sim & ./Buildings_9_Buildings.Utilities.Math.Examples.PowerLinearized -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Utilities.Math.Examples.PowerLinearized.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Utilities.Math.Examples.PowerLinearized_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Utilities_Math_Examples_PowerLinearized.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Utilities.Math.Examples.PowerLinearized.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches