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.008649/0.008649, allocations: 98.39 kB / 15.73 MB, free: 6.031 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.00143/0.00143, allocations: 196.5 kB / 16.67 MB, free: 5.953 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.405/1.405, allocations: 222.9 MB / 240.4 MB, free: 15.09 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.505/2.505, allocations: 437 MB / 0.7105 GB, free: 4.395 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001554/0.001555, allocations: 63.91 kB / 1.019 GB, free: 9.355 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.824/0.8255, allocations: 151.6 MB / 1.167 GB, free: 3.938 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.PowerLinearized): time 0.001868/0.8275, allocations: 0.5868 MB / 1.167 GB, free: 3.355 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.0003396/0.8278, allocations: 97.61 kB / 1.167 GB, free: 3.262 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.961e-05/0.8278, allocations: 0 / 1.167 GB, free: 3.262 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 1.593e-05/0.8279, allocations: 0 / 1.167 GB, free: 3.262 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 5.318e-05/0.8279, allocations: 0 / 1.167 GB, free: 3.262 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002538/0.8282, allocations: 23.92 kB / 1.167 GB, free: 3.238 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 6.159e-05/0.8283, allocations: 7.938 kB / 1.167 GB, free: 3.23 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 5.525e-05/0.8283, allocations: 0 / 1.167 GB, free: 3.23 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 2.605e-05/0.8284, allocations: 11.97 kB / 1.167 GB, free: 3.219 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 9.035e-05/0.8284, allocations: 0 / 1.167 GB, free: 3.219 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 1.646e-05/0.8285, allocations: 0 / 1.167 GB, free: 3.219 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 7.157e-05/0.8285, allocations: 19.98 kB / 1.167 GB, free: 3.199 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 1.367e-05/0.8286, allocations: 0 / 1.167 GB, free: 3.199 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 3.113e-05/0.8286, allocations: 11.94 kB / 1.167 GB, free: 3.188 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.0001121/0.8287, allocations: 7.984 kB / 1.167 GB, free: 3.18 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 6.833e-06/0.8287, allocations: 0 / 1.167 GB, free: 3.18 MB / 0.8887 GB Notification: Performance of FrontEnd: time 2.435e-06/0.8287, allocations: 0 / 1.167 GB, free: 3.18 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 8.196e-06/0.8288, allocations: 0 / 1.167 GB, free: 3.18 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.0004331/0.8292, allocations: 328.4 kB / 1.168 GB, free: 2.809 MB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 5.422e-05/0.8293, allocations: 8.922 kB / 1.168 GB, free: 2.801 MB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001848/0.8294, allocations: 16.88 kB / 1.168 GB, free: 2.785 MB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001004/0.8295, allocations: 160.4 kB / 1.168 GB, free: 2.59 MB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.346e-05/0.8296, allocations: 4.375 kB / 1.168 GB, free: 2.586 MB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.071e-05/0.8296, allocations: 384 / 1.168 GB, free: 2.586 MB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001456/0.8297, allocations: 42.23 kB / 1.168 GB, free: 2.539 MB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.011e-05/0.8298, allocations: 4.172 kB / 1.168 GB, free: 2.535 MB / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.128e-05/0.8298, allocations: 3.938 kB / 1.168 GB, free: 2.531 MB / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.19e-06/0.8298, allocations: 7.938 kB / 1.168 GB, free: 2.523 MB / 0.8887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.139e-05/0.8299, allocations: 7.984 kB / 1.168 GB, free: 2.516 MB / 0.8887 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001834/0.8301, allocations: 157.7 kB / 1.168 GB, free: 2.312 MB / 0.8887 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001686/0.8302, allocations: 46.53 kB / 1.168 GB, free: 2.258 MB / 0.8887 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.048e-05/0.8303, allocations: 12.92 kB / 1.168 GB, free: 2.242 MB / 0.8887 GB Notification: Performance of preOpt evalFunc (simulation): time 1.838e-05/0.8303, allocations: 0 / 1.168 GB, free: 2.242 MB / 0.8887 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.739e-05/0.8304, allocations: 38.55 kB / 1.168 GB, free: 2.195 MB / 0.8887 GB Notification: Performance of pre-optimization done (n=3): time 7.82e-07/0.8304, allocations: 0 / 1.168 GB, free: 2.195 MB / 0.8887 GB Notification: Performance of matching and sorting (n=3): time 0.0002328/0.8306, allocations: 57.56 kB / 1.168 GB, free: 2.133 MB / 0.8887 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.839e-05/0.8307, allocations: 59.34 kB / 1.168 GB, free: 2.062 MB / 0.8887 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.867e-05/0.8307, allocations: 97.84 kB / 1.168 GB, free: 1.957 MB / 0.8887 GB Notification: Performance of collectPreVariables (initialization): time 1.361e-05/0.8307, allocations: 25.7 kB / 1.168 GB, free: 1.926 MB / 0.8887 GB Notification: Performance of collectInitialEqns (initialization): time 3.63e-05/0.8308, allocations: 80.14 kB / 1.168 GB, free: 1.844 MB / 0.8887 GB Notification: Performance of collectInitialBindings (initialization): time 3.578e-05/0.8308, allocations: 3.953 kB / 1.169 GB, free: 1.84 MB / 0.8887 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.125e-05/0.8308, allocations: 21.72 kB / 1.169 GB, free: 1.812 MB / 0.8887 GB Notification: Performance of setup shared object (initialization): time 0.0001182/0.831, allocations: 310.8 kB / 1.169 GB, free: 1.5 MB / 0.8887 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.073e-05/0.831, allocations: 7.984 kB / 1.169 GB, free: 1.492 MB / 0.8887 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.841e-05/0.831, allocations: 4 kB / 1.169 GB, free: 1.488 MB / 0.8887 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.877e-05/0.8311, allocations: 20.84 kB / 1.169 GB, free: 1.465 MB / 0.8887 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.803e-06/0.8311, allocations: 0 / 1.169 GB, free: 1.465 MB / 0.8887 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001059/0.8312, allocations: 49.62 kB / 1.169 GB, free: 1.41 MB / 0.8887 GB Notification: Performance of prepare postOptimizeDAE: time 1.555e-05/0.8313, allocations: 15.98 kB / 1.169 GB, free: 1.395 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.709e-06/0.8313, allocations: 0 / 1.169 GB, free: 1.395 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.558e-05/0.8313, allocations: 3.938 kB / 1.169 GB, free: 1.391 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003735/0.8317, allocations: 39.94 kB / 1.169 GB, free: 1.352 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001351/0.833, allocations: 1.412 MB / 1.17 GB, free: 15.8 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.334e-05/0.8331, allocations: 11.94 kB / 1.17 GB, free: 15.79 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.069e-06/0.8331, allocations: 0 / 1.17 GB, free: 15.79 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 9.383e-05/0.8332, allocations: 117.8 kB / 1.17 GB, free: 15.66 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.927e-06/0.8332, allocations: 0 / 1.17 GB, free: 15.66 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.395e-05/0.8332, allocations: 11.59 kB / 1.17 GB, free: 15.65 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.202e-06/0.8332, allocations: 0 / 1.17 GB, free: 15.65 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.11e-07/0.8332, allocations: 0 / 1.17 GB, free: 15.65 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.747e-06/0.8333, allocations: 3.984 kB / 1.17 GB, free: 15.64 MB / 0.9044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001026/0.8334, allocations: 149.6 kB / 1.171 GB, free: 15.45 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.442e-06/0.8334, allocations: 0 / 1.171 GB, free: 15.45 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003446/0.8337, allocations: 51.92 kB / 1.171 GB, free: 15.4 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.873e-06/0.8337, allocations: 0 / 1.171 GB, free: 15.4 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.833e-06/0.8337, allocations: 0 / 1.171 GB, free: 15.4 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001133/0.8349, allocations: 1.407 MB / 1.172 GB, free: 13.86 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.262e-06/0.8349, allocations: 4.125 kB / 1.172 GB, free: 13.85 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001351/0.835, allocations: 73.16 kB / 1.172 GB, free: 13.76 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 3.341e-05/0.8351, allocations: 88.97 kB / 1.172 GB, free: 13.66 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.845e-06/0.8351, allocations: 3.938 kB / 1.172 GB, free: 13.65 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.788e-05/0.8351, allocations: 0 / 1.172 GB, free: 13.65 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.945e-05/0.8351, allocations: 11.88 kB / 1.172 GB, free: 13.64 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.996e-06/0.8352, allocations: 0 / 1.172 GB, free: 13.64 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 3.478e-05/0.8352, allocations: 79.28 kB / 1.172 GB, free: 13.56 MB / 0.9044 GB Notification: Performance of sort global known variables: time 1.2e-07/0.8352, allocations: 0 / 1.172 GB, free: 13.56 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.0001967/0.8354, allocations: 8 kB / 1.172 GB, free: 13.55 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.0001336/0.8355, allocations: 103.2 kB / 1.172 GB, free: 13.44 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.0004519/0.836, allocations: 59.92 kB / 1.172 GB, free: 13.38 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 2.505e-06/0.836, allocations: 0 / 1.172 GB, free: 13.38 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 0.0002287/0.8362, allocations: 35.95 kB / 1.172 GB, free: 13.35 MB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001311/0.8364, allocations: 3.938 kB / 1.172 GB, free: 13.34 MB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003026/0.8367, allocations: 96.91 kB / 1.173 GB, free: 13.22 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002038/0.8369, allocations: 0.677 MB / 1.173 GB, free: 12.52 MB / 0.9044 GB Notification: Performance of simCode: alias equations: time 3.998e-05/0.837, allocations: 3.984 kB / 1.173 GB, free: 12.52 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.747e-05/0.837, allocations: 11.44 kB / 1.173 GB, free: 12.5 MB / 0.9044 GB Notification: Performance of SimCode: time 3.6e-07/0.837, allocations: 0 / 1.173 GB, free: 12.5 MB / 0.9044 GB Notification: Performance of Templates: time 0.002374/0.8394, allocations: 416.5 kB / 1.174 GB, free: 12.1 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