Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/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_latest_Buildings.Utilities.Math.Examples.PowerLinearized") translateModel(Buildings.Utilities.Math.Examples.PowerLinearized,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|powerLinearized.y",fileNamePrefix="Buildings_latest_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.001129/0.001128, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001304/0.001304, allocations: 189.2 kB / 16.14 MB, free: 6.711 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.394/1.394, allocations: 222.9 MB / 239.8 MB, free: 4.617 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.748/2.748, allocations: 461.9 MB / 0.7342 GB, free: 14.98 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.00124/0.00124, allocations: 66.45 kB / 0.8984 GB, free: 37.23 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3475/0.3488, allocations: 157.4 MB / 1.052 GB, free: 8.859 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.PowerLinearized): time 0.00273/0.3516, allocations: 1.499 MB / 1.054 GB, free: 7.344 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.0002933/0.3519, allocations: 99.73 kB / 1.054 GB, free: 7.246 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.575e-05/0.3519, allocations: 0 / 1.054 GB, free: 7.246 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 3.112e-05/0.3519, allocations: 0 / 1.054 GB, free: 7.246 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 4.462e-05/0.352, allocations: 3.938 kB / 1.054 GB, free: 7.242 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001676/0.3522, allocations: 11.98 kB / 1.054 GB, free: 7.23 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 6.148e-05/0.3522, allocations: 27.88 kB / 1.054 GB, free: 7.203 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 7.859e-05/0.3523, allocations: 7.984 kB / 1.054 GB, free: 7.195 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 3.732e-05/0.3524, allocations: 11.98 kB / 1.054 GB, free: 7.184 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 3.54e-05/0.3524, allocations: 11.92 kB / 1.054 GB, free: 7.172 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 1.398e-05/0.3524, allocations: 4 kB / 1.054 GB, free: 7.168 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 5.818e-05/0.3525, allocations: 11.98 kB / 1.054 GB, free: 7.156 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 1.438e-05/0.3525, allocations: 8 kB / 1.054 GB, free: 7.148 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 2.335e-05/0.3525, allocations: 3.938 kB / 1.054 GB, free: 7.145 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 9.775e-05/0.3526, allocations: 39.83 kB / 1.054 GB, free: 7.105 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 4.308e-06/0.3527, allocations: 0 / 1.054 GB, free: 7.105 MB / 0.8106 GB Notification: Performance of FrontEnd: time 9.72e-07/0.3527, allocations: 4 kB / 1.054 GB, free: 7.102 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 3.907e-06/0.3527, allocations: 0 / 1.054 GB, free: 7.102 MB / 0.8106 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.0004066/0.3531, allocations: 347.6 kB / 1.054 GB, free: 6.711 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 3.657e-05/0.3531, allocations: 12.03 kB / 1.054 GB, free: 6.699 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001618/0.3533, allocations: 8.922 kB / 1.054 GB, free: 6.691 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001197/0.3534, allocations: 168.4 kB / 1.054 GB, free: 6.488 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.917e-05/0.3534, allocations: 384 / 1.054 GB, free: 6.488 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.698e-06/0.3535, allocations: 4.375 kB / 1.054 GB, free: 6.484 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002712/0.3537, allocations: 66.16 kB / 1.054 GB, free: 6.414 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.433e-06/0.3538, allocations: 192 / 1.054 GB, free: 6.414 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.411e-05/0.3538, allocations: 7.938 kB / 1.054 GB, free: 6.406 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.867e-06/0.3538, allocations: 0 / 1.054 GB, free: 6.406 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002077/0.354, allocations: 43.94 kB / 1.054 GB, free: 6.363 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005094/0.3545, allocations: 272.8 kB / 1.055 GB, free: 6.047 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001836/0.3547, allocations: 58.47 kB / 1.055 GB, free: 5.98 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001244/0.3548, allocations: 24.91 kB / 1.055 GB, free: 5.953 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 2.16e-05/0.3549, allocations: 7.938 kB / 1.055 GB, free: 5.945 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.125e-05/0.3549, allocations: 30.56 kB / 1.055 GB, free: 5.906 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=2): time 1.082e-06/0.3549, allocations: 4 kB / 1.055 GB, free: 5.902 MB / 0.8106 GB Notification: Performance of matching and sorting (n=2): time 0.0004321/0.3553, allocations: 97.62 kB / 1.055 GB, free: 5.801 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001007/0.3555, allocations: 55.41 kB / 1.055 GB, free: 5.734 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.41e-05/0.3555, allocations: 109.8 kB / 1.055 GB, free: 5.617 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 1.431e-05/0.3556, allocations: 25.7 kB / 1.055 GB, free: 5.586 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 5.158e-05/0.3556, allocations: 84.27 kB / 1.055 GB, free: 5.5 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 2.091e-05/0.3556, allocations: 15.83 kB / 1.055 GB, free: 5.484 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.352e-05/0.3557, allocations: 13.72 kB / 1.055 GB, free: 5.465 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001099/0.3558, allocations: 314.8 kB / 1.055 GB, free: 5.148 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001078/0.3559, allocations: 23.97 kB / 1.056 GB, free: 5.125 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.526e-05/0.356, allocations: 27.92 kB / 1.056 GB, free: 5.098 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001886/0.3562, allocations: 52.86 kB / 1.056 GB, free: 5.043 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.883e-06/0.3562, allocations: 0 / 1.056 GB, free: 5.043 MB / 0.8106 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002373/0.3565, allocations: 81.59 kB / 1.056 GB, free: 4.957 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.566e-05/0.3565, allocations: 4 kB / 1.056 GB, free: 4.953 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.068e-06/0.3565, allocations: 0 / 1.056 GB, free: 4.953 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.331e-05/0.3565, allocations: 4.031 kB / 1.056 GB, free: 4.949 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001193/0.3566, allocations: 11.98 kB / 1.056 GB, free: 4.938 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.122e-06/0.3567, allocations: 0 / 1.056 GB, free: 4.938 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.767e-05/0.3567, allocations: 11.98 kB / 1.056 GB, free: 4.926 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.362e-06/0.3567, allocations: 0 / 1.056 GB, free: 4.926 MB / 0.8106 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.349e-05/0.3568, allocations: 117.7 kB / 1.056 GB, free: 4.801 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.745e-05/0.3568, allocations: 11.84 kB / 1.056 GB, free: 4.789 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.7e-05/0.3569, allocations: 3.531 kB / 1.056 GB, free: 4.785 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.346e-06/0.3569, allocations: 7.984 kB / 1.056 GB, free: 4.777 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.687e-06/0.3569, allocations: 0 / 1.056 GB, free: 4.777 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.405e-06/0.3569, allocations: 0 / 1.056 GB, free: 4.777 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001618/0.3571, allocations: 169.6 kB / 1.056 GB, free: 4.562 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.02e-07/0.3571, allocations: 0 / 1.056 GB, free: 4.562 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.011e-05/0.3572, allocations: 11.98 kB / 1.056 GB, free: 4.551 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.266e-06/0.3572, allocations: 0 / 1.056 GB, free: 4.551 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.484e-06/0.3572, allocations: 3.938 kB / 1.056 GB, free: 4.547 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.635e-06/0.3572, allocations: 3.984 kB / 1.056 GB, free: 4.543 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.61e-07/0.3572, allocations: 0 / 1.056 GB, free: 4.543 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002723/0.3575, allocations: 179.4 kB / 1.056 GB, free: 4.352 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 3.871e-05/0.3575, allocations: 77.11 kB / 1.056 GB, free: 4.258 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.531e-05/0.3575, allocations: 4 kB / 1.056 GB, free: 4.254 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.13e-05/0.3576, allocations: 7.984 kB / 1.056 GB, free: 4.246 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.269e-05/0.3577, allocations: 7.938 kB / 1.056 GB, free: 4.238 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.418e-06/0.3577, allocations: 4.281 kB / 1.056 GB, free: 4.234 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 4.711e-05/0.3577, allocations: 91.27 kB / 1.056 GB, free: 4.145 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.2e-07/0.3578, allocations: 0 / 1.056 GB, free: 4.145 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0002122/0.358, allocations: 4 kB / 1.056 GB, free: 4.141 MB / 0.8106 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.0001254/0.3581, allocations: 99.25 kB / 1.056 GB, free: 4.035 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.0002485/0.3584, allocations: 47.95 kB / 1.057 GB, free: 3.988 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 2.615e-06/0.3584, allocations: 0 / 1.057 GB, free: 3.988 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 0.0001288/0.3585, allocations: 27.97 kB / 1.057 GB, free: 3.961 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003064/0.3588, allocations: 16.91 kB / 1.057 GB, free: 3.945 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000327/0.3591, allocations: 131.3 kB / 1.057 GB, free: 3.789 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002322/0.3594, allocations: 0.677 MB / 1.057 GB, free: 3.086 MB / 0.8106 GB Notification: Performance of simCode: alias equations: time 3.352e-05/0.3594, allocations: 0 / 1.057 GB, free: 3.086 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.12e-05/0.3595, allocations: 7.438 kB / 1.057 GB, free: 3.078 MB / 0.8106 GB Notification: Performance of SimCode: time 3.31e-07/0.3595, allocations: 7.938 kB / 1.057 GB, free: 3.07 MB / 0.8106 GB Notification: Performance of Templates: time 0.002667/0.3621, allocations: 0.5034 MB / 1.058 GB, free: 2.57 MB / 0.8106 GB make -j1 -f Buildings_latest_Buildings.Utilities.Math.Examples.PowerLinearized.makefile (rm -f Buildings_latest_Buildings.Utilities.Math.Examples.PowerLinearized.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Math.Examples.PowerLinearized.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Math.Examples.PowerLinearized.pipe >> ../files/Buildings_latest_Buildings.Utilities.Math.Examples.PowerLinearized.sim & ./Buildings_latest_Buildings.Utilities.Math.Examples.PowerLinearized -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Utilities.Math.Examples.PowerLinearized.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Utilities.Math.Examples.PowerLinearized_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Utilities_Math_Examples_PowerLinearized.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Utilities.Math.Examples.PowerLinearized.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches