Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 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.Functions.Examples.PowerLinearized,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|T|TExact",fileNamePrefix="Buildings_9_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_9_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.009544/0.009544, allocations: 97.81 kB / 15.73 MB, free: 6.004 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.0022/0.0022, allocations: 195 kB / 16.67 MB, free: 5.934 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.398/1.398, allocations: 222.9 MB / 240.4 MB, free: 15.14 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.232/2.232, allocations: 390.2 MB / 0.6648 GB, free: 0.6484 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001165/0.001165, allocations: 67.91 kB / 0.9509 GB, free: 7.617 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8595/0.8607, allocations: 140.4 MB / 1.088 GB, free: 5.523 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.PowerLinearized): time 0.003114/0.8639, allocations: 0.5816 MB / 1.089 GB, free: 5.164 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.0005266/0.8644, allocations: 100.2 kB / 1.089 GB, free: 5.102 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.749e-05/0.8645, allocations: 0 / 1.089 GB, free: 5.102 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 2.323e-05/0.8645, allocations: 1.062 kB / 1.089 GB, free: 5.102 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 7.143e-05/0.8646, allocations: 0 / 1.089 GB, free: 5.102 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003646/0.865, allocations: 14.48 kB / 1.089 GB, free: 5.098 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 8.126e-05/0.8651, allocations: 8.906 kB / 1.089 GB, free: 5.094 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 7.546e-05/0.8651, allocations: 1.828 kB / 1.089 GB, free: 5.094 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 3.055e-05/0.8652, allocations: 2.703 kB / 1.089 GB, free: 5.094 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001051/0.8653, allocations: 15.81 kB / 1.089 GB, free: 5.082 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 2.037e-05/0.8653, allocations: 1.25 kB / 1.089 GB, free: 5.082 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001009/0.8654, allocations: 14.72 kB / 1.089 GB, free: 5.078 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 1.76e-05/0.8654, allocations: 0 / 1.089 GB, free: 5.078 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 2.845e-05/0.8655, allocations: 1.609 kB / 1.089 GB, free: 5.078 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.000136/0.8656, allocations: 18.81 kB / 1.089 GB, free: 5.07 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 6.032e-06/0.8656, allocations: 0 / 1.089 GB, free: 5.07 MB / 0.8575 GB Notification: Performance of FrontEnd: time 2.905e-06/0.8656, allocations: 0 / 1.089 GB, free: 5.07 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 9.127e-06/0.8656, allocations: 1.031 kB / 1.089 GB, free: 5.07 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.0004544/0.8661, allocations: 320.4 kB / 1.089 GB, free: 4.719 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.717e-05/0.8662, allocations: 9.359 kB / 1.089 GB, free: 4.719 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001782/0.8663, allocations: 13.58 kB / 1.089 GB, free: 4.715 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.912e-05/0.8664, allocations: 161.6 kB / 1.089 GB, free: 4.52 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.225e-05/0.8665, allocations: 5.438 kB / 1.089 GB, free: 4.516 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.468e-05/0.8665, allocations: 1.984 kB / 1.089 GB, free: 4.516 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001428/0.8666, allocations: 43.97 kB / 1.089 GB, free: 4.477 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.089e-05/0.8666, allocations: 1.281 kB / 1.089 GB, free: 4.477 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.49e-05/0.8667, allocations: 3.938 kB / 1.089 GB, free: 4.473 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.322e-06/0.8667, allocations: 5.125 kB / 1.089 GB, free: 4.469 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001042/0.8668, allocations: 14.78 kB / 1.089 GB, free: 4.465 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001821/0.867, allocations: 151.6 kB / 1.089 GB, free: 4.273 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001979/0.8672, allocations: 39.22 kB / 1.089 GB, free: 4.246 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.461e-05/0.8672, allocations: 20 kB / 1.089 GB, free: 4.23 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 2.357e-05/0.8673, allocations: 7.984 kB / 1.089 GB, free: 4.223 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.617e-05/0.8673, allocations: 36.08 kB / 1.09 GB, free: 4.18 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=3): time 1.022e-06/0.8673, allocations: 1.062 kB / 1.09 GB, free: 4.18 MB / 0.8575 GB Notification: Performance of matching and sorting (n=3): time 0.0002791/0.8676, allocations: 55.7 kB / 1.09 GB, free: 4.141 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.706e-05/0.8676, allocations: 53.08 kB / 1.09 GB, free: 4.078 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.587e-05/0.8677, allocations: 89.86 kB / 1.09 GB, free: 3.98 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 1.076e-05/0.8677, allocations: 25.7 kB / 1.09 GB, free: 3.949 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 1.673e-05/0.8677, allocations: 85.2 kB / 1.09 GB, free: 3.863 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 5.703e-05/0.8678, allocations: 15.2 kB / 1.09 GB, free: 3.852 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.108e-05/0.8678, allocations: 13.28 kB / 1.09 GB, free: 3.836 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 5.707e-05/0.8679, allocations: 312.5 kB / 1.09 GB, free: 3.523 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.053e-05/0.8679, allocations: 10.03 kB / 1.09 GB, free: 3.52 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.431e-05/0.868, allocations: 5.125 kB / 1.09 GB, free: 3.52 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.001e-05/0.8681, allocations: 25.47 kB / 1.09 GB, free: 3.504 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.735e-06/0.8681, allocations: 4 kB / 1.09 GB, free: 3.5 MB / 0.8575 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001103/0.8682, allocations: 48.48 kB / 1.09 GB, free: 3.465 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.869e-05/0.8682, allocations: 8.812 kB / 1.09 GB, free: 3.461 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.221e-06/0.8682, allocations: 0.9688 kB / 1.09 GB, free: 3.461 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.018e-05/0.8683, allocations: 4.5 kB / 1.09 GB, free: 3.457 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004163/0.8687, allocations: 41.47 kB / 1.09 GB, free: 3.457 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001142/0.8698, allocations: 1.407 MB / 1.092 GB, free: 2.012 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.074e-05/0.8699, allocations: 5.406 kB / 1.092 GB, free: 2.008 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.971e-06/0.8699, allocations: 1.562 kB / 1.092 GB, free: 2.008 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 (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 7.342e-05/0.87, allocations: 120 kB / 1.092 GB, free: 1.883 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.124e-05/0.87, allocations: 1.469 kB / 1.092 GB, free: 1.883 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.221e-05/0.87, allocations: 4.281 kB / 1.092 GB, free: 1.875 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.066e-06/0.87, allocations: 1.172 kB / 1.092 GB, free: 1.875 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.183e-06/0.87, allocations: 0 / 1.092 GB, free: 1.875 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.208e-06/0.87, allocations: 1.578 kB / 1.092 GB, free: 1.875 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.547e-05/0.8701, allocations: 158.2 kB / 1.092 GB, free: 1.676 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.867e-06/0.8701, allocations: 5.312 kB / 1.092 GB, free: 1.672 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003802/0.8705, allocations: 53.98 kB / 1.092 GB, free: 1.664 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.245e-06/0.8705, allocations: 0.9375 kB / 1.092 GB, free: 1.664 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.736e-06/0.8705, allocations: 1.156 kB / 1.092 GB, free: 1.664 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001234/0.8718, allocations: 1.402 MB / 1.093 GB, free: 16.23 MB / 0.8731 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.216e-06/0.8718, allocations: 1.828 kB / 1.093 GB, free: 16.23 MB / 0.8731 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001314/0.8719, allocations: 75.81 kB / 1.093 GB, free: 16.15 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 3.469e-05/0.872, allocations: 78.86 kB / 1.093 GB, free: 16.06 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.075e-05/0.872, allocations: 5.594 kB / 1.094 GB, free: 16.05 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.824e-05/0.872, allocations: 2.25 kB / 1.094 GB, free: 16.05 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.163e-05/0.872, allocations: 6.203 kB / 1.094 GB, free: 16.05 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.458e-06/0.872, allocations: 5.031 kB / 1.094 GB, free: 16.05 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 3.584e-05/0.8721, allocations: 75.28 kB / 1.094 GB, free: 15.97 MB / 0.8731 GB Notification: Performance of sort global known variables: time 9e-08/0.8721, allocations: 0 / 1.094 GB, free: 15.97 MB / 0.8731 GB Notification: Performance of remove unused functions: time 0.0003129/0.8724, allocations: 4.359 kB / 1.094 GB, free: 15.97 MB / 0.8731 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.0001445/0.8726, allocations: 98.97 kB / 1.094 GB, free: 15.88 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.0004839/0.873, allocations: 71.64 kB / 1.094 GB, free: 15.87 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 2.926e-06/0.8731, allocations: 0 / 1.094 GB, free: 15.87 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 0.0002553/0.8733, allocations: 39.44 kB / 1.094 GB, free: 15.86 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001402/0.8735, allocations: 5 kB / 1.094 GB, free: 15.86 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003511/0.8738, allocations: 104.5 kB / 1.094 GB, free: 15.75 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002328/0.8741, allocations: 0.6737 MB / 1.095 GB, free: 15.05 MB / 0.8731 GB Notification: Performance of simCode: alias equations: time 3.218e-05/0.8741, allocations: 2.953 kB / 1.095 GB, free: 15.05 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.734e-05/0.8741, allocations: 9.266 kB / 1.095 GB, free: 15.05 MB / 0.8731 GB Notification: Performance of SimCode: time 2.11e-07/0.8741, allocations: 4 kB / 1.095 GB, free: 15.04 MB / 0.8731 GB Notification: Performance of Templates: time 0.002662/0.8768, allocations: 420.2 kB / 1.095 GB, free: 14.98 MB / 0.8731 GB make -j1 -f Buildings_9_Buildings.Utilities.Math.Functions.Examples.PowerLinearized.makefile (rm -f Buildings_9_Buildings.Utilities.Math.Functions.Examples.PowerLinearized.pipe ; mkfifo Buildings_9_Buildings.Utilities.Math.Functions.Examples.PowerLinearized.pipe ; head -c 1048576 < Buildings_9_Buildings.Utilities.Math.Functions.Examples.PowerLinearized.pipe >> ../files/Buildings_9_Buildings.Utilities.Math.Functions.Examples.PowerLinearized.sim & ./Buildings_9_Buildings.Utilities.Math.Functions.Examples.PowerLinearized -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Utilities.Math.Functions.Examples.PowerLinearized.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Utilities.Math.Functions.Examples.PowerLinearized_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Utilities_Math_Functions_Examples_PowerLinearized.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Utilities.Math.Functions.Examples.PowerLinearized.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches