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.001591/0.001591, allocations: 107.2 kB / 16.41 MB, free: 6.512 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.001734/0.001735, allocations: 187 kB / 17.34 MB, free: 5.742 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.32/1.32, allocations: 222.9 MB / 241 MB, free: 15.15 MB / 206.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.331/2.331, allocations: 390.3 MB / 0.6655 GB, free: 0.6211 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001392/0.001392, allocations: 67.88 kB / 0.9515 GB, free: 7.641 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8733/0.8747, allocations: 140.4 MB / 1.089 GB, free: 5.527 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.PowerLinearized): time 0.002974/0.8778, allocations: 1.439 MB / 1.09 GB, free: 4.531 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.0002853/0.8781, allocations: 92.83 kB / 1.09 GB, free: 4.465 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.218e-05/0.8781, allocations: 1.25 kB / 1.09 GB, free: 4.465 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 3.166e-05/0.8782, allocations: 4.547 kB / 1.09 GB, free: 4.461 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 4.866e-05/0.8782, allocations: 3.938 kB / 1.09 GB, free: 4.457 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002124/0.8784, allocations: 14.97 kB / 1.09 GB, free: 4.453 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 8.485e-05/0.8785, allocations: 29.59 kB / 1.09 GB, free: 4.438 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001041/0.8786, allocations: 3.578 kB / 1.09 GB, free: 4.438 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 4.819e-05/0.8787, allocations: 13.41 kB / 1.09 GB, free: 4.43 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 4.575e-05/0.8787, allocations: 14.11 kB / 1.09 GB, free: 4.422 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 1.721e-05/0.8788, allocations: 7.094 kB / 1.09 GB, free: 4.418 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 6.728e-05/0.8788, allocations: 13.03 kB / 1.09 GB, free: 4.418 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 1.712e-05/0.8789, allocations: 5.266 kB / 1.09 GB, free: 4.414 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 4.248e-05/0.8789, allocations: 11.12 kB / 1.09 GB, free: 4.406 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0001277/0.879, allocations: 31.94 kB / 1.09 GB, free: 4.395 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 4.419e-06/0.879, allocations: 0 / 1.09 GB, free: 4.395 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.784e-06/0.8791, allocations: 0 / 1.09 GB, free: 4.395 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 6.222e-06/0.8791, allocations: 1.156 kB / 1.09 GB, free: 4.395 MB / 0.8575 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.0004271/0.8795, allocations: 346 kB / 1.091 GB, free: 4.031 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.204e-05/0.8795, allocations: 14.06 kB / 1.091 GB, free: 4.027 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001864/0.8797, allocations: 20.22 kB / 1.091 GB, free: 4.02 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.503e-05/0.8798, allocations: 171.8 kB / 1.091 GB, free: 3.816 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.472e-05/0.8799, allocations: 0.9844 kB / 1.091 GB, free: 3.816 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.127e-05/0.8799, allocations: 2.656 kB / 1.091 GB, free: 3.816 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002006/0.8801, allocations: 58.69 kB / 1.091 GB, free: 3.777 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.035e-05/0.8801, allocations: 192 / 1.091 GB, free: 3.777 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.144e-05/0.8801, allocations: 5.578 kB / 1.091 GB, free: 3.773 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.478e-06/0.8801, allocations: 4 kB / 1.091 GB, free: 3.77 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002298/0.8804, allocations: 48.41 kB / 1.091 GB, free: 3.762 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003738/0.8807, allocations: 261.2 kB / 1.091 GB, free: 3.484 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001838/0.8809, allocations: 59.52 kB / 1.091 GB, free: 3.445 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001174/0.8811, allocations: 29.62 kB / 1.091 GB, free: 3.434 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 1.765e-05/0.8811, allocations: 0.5625 kB / 1.091 GB, free: 3.434 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.1e-05/0.8811, allocations: 32.23 kB / 1.091 GB, free: 3.395 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=2): time 1.082e-06/0.8811, allocations: 0 / 1.091 GB, free: 3.395 MB / 0.8575 GB Notification: Performance of matching and sorting (n=2): time 0.0004315/0.8816, allocations: 108.1 kB / 1.091 GB, free: 3.344 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.97e-05/0.8816, allocations: 53.08 kB / 1.091 GB, free: 3.281 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.049e-05/0.8817, allocations: 103.4 kB / 1.092 GB, free: 3.18 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 1.009e-05/0.8817, allocations: 26.92 kB / 1.092 GB, free: 3.148 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 3.35e-05/0.8817, allocations: 86.09 kB / 1.092 GB, free: 3.062 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 1.986e-05/0.8817, allocations: 7.719 kB / 1.092 GB, free: 3.059 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.255e-05/0.8818, allocations: 12.83 kB / 1.092 GB, free: 3.043 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 5.969e-05/0.8819, allocations: 321.5 kB / 1.092 GB, free: 2.723 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001101/0.882, allocations: 20.53 kB / 1.092 GB, free: 2.723 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001007/0.8821, allocations: 22.56 kB / 1.092 GB, free: 2.719 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002139/0.8823, allocations: 51.86 kB / 1.092 GB, free: 2.703 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.643e-06/0.8823, allocations: 4.062 kB / 1.092 GB, free: 2.699 MB / 0.8575 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002535/0.8826, allocations: 85.11 kB / 1.092 GB, free: 2.652 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.826e-05/0.8826, allocations: 6.375 kB / 1.092 GB, free: 2.652 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.971e-06/0.8826, allocations: 0 / 1.092 GB, free: 2.652 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.601e-05/0.8826, allocations: 1.219 kB / 1.092 GB, free: 2.652 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001244/0.8827, allocations: 14.52 kB / 1.092 GB, free: 2.648 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.053e-06/0.8828, allocations: 1.172 kB / 1.092 GB, free: 2.648 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.883e-05/0.8828, allocations: 16.36 kB / 1.092 GB, free: 2.641 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.985e-06/0.8829, allocations: 1.266 kB / 1.092 GB, free: 2.641 MB / 0.8575 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 8.26e-05/0.8829, allocations: 116.3 kB / 1.092 GB, free: 2.52 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.746e-05/0.883, allocations: 5.562 kB / 1.092 GB, free: 2.516 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.569e-05/0.883, allocations: 4.984 kB / 1.092 GB, free: 2.508 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.647e-06/0.883, allocations: 1.766 kB / 1.092 GB, free: 2.508 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.091e-06/0.883, allocations: 0 / 1.092 GB, free: 2.508 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.987e-06/0.883, allocations: 4.75 kB / 1.092 GB, free: 2.504 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001489/0.8832, allocations: 172.3 kB / 1.092 GB, free: 2.301 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.102e-06/0.8832, allocations: 3.938 kB / 1.092 GB, free: 2.297 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.586e-05/0.8833, allocations: 11.92 kB / 1.092 GB, free: 2.297 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.673e-06/0.8833, allocations: 0 / 1.092 GB, free: 2.297 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.109e-05/0.8833, allocations: 1.328 kB / 1.092 GB, free: 2.297 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.124e-06/0.8833, allocations: 0.5625 kB / 1.092 GB, free: 2.297 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.903e-06/0.8833, allocations: 0.7188 kB / 1.092 GB, free: 2.297 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003014/0.8836, allocations: 180.8 kB / 1.093 GB, free: 2.148 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 2.404e-05/0.8837, allocations: 78.73 kB / 1.093 GB, free: 2.055 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.539e-05/0.8837, allocations: 1.797 kB / 1.093 GB, free: 2.055 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.579e-05/0.8838, allocations: 8.75 kB / 1.093 GB, free: 2.055 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.084e-05/0.8838, allocations: 1.922 kB / 1.093 GB, free: 2.055 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.809e-06/0.8839, allocations: 0.9375 kB / 1.093 GB, free: 2.055 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 3.352e-05/0.8839, allocations: 85.66 kB / 1.093 GB, free: 1.977 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.11e-07/0.8839, allocations: 5.125 kB / 1.093 GB, free: 1.973 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0002172/0.8841, allocations: 8.469 kB / 1.093 GB, free: 1.969 MB / 0.8575 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.0001206/0.8842, allocations: 97.05 kB / 1.093 GB, free: 1.883 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0002879/0.8845, allocations: 54.16 kB / 1.093 GB, free: 1.871 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 2.305e-06/0.8846, allocations: 0.9062 kB / 1.093 GB, free: 1.871 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 0.0001187/0.8847, allocations: 29.89 kB / 1.093 GB, free: 1.863 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002996/0.885, allocations: 10.83 kB / 1.093 GB, free: 1.855 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003602/0.8854, allocations: 145.5 kB / 1.093 GB, free: 1.715 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001626/0.8855, allocations: 0.6772 MB / 1.094 GB, free: 1.02 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.622e-05/0.8856, allocations: 8.375 kB / 1.094 GB, free: 1.012 MB / 0.8575 GB Notification: Performance of SimCode: time 3.31e-07/0.8856, allocations: 0 / 1.094 GB, free: 1.012 MB / 0.8575 GB Notification: Performance of Templates: time 0.002487/0.8881, allocations: 0.6455 MB / 1.094 GB, free: 0.9648 MB / 0.8575 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/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Utilities.Math.Examples.PowerLinearized.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches