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.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-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.001146/0.001147, allocations: 100.2 kB / 15.05 MB, free: 1.105 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.001001/0.001001, allocations: 177.3 kB / 15.94 MB, free: 228 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.417/1.417, allocations: 223.2 MB / 239.9 MB, free: 5.234 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.728/2.728, allocations: 436.5 MB / 0.7104 GB, free: 7.891 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.00039/0.00039, allocations: 12 kB / 0.8708 GB, free: 4.809 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7667/0.7672, allocations: 153.7 MB / 1.021 GB, free: 1.129 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.PowerLinearized): time 0.001625/0.7688, allocations: 1.157 MB / 1.022 GB, free: 15.96 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.0002572/0.7691, allocations: 84.55 kB / 1.022 GB, free: 15.88 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.182e-05/0.7692, allocations: 0 / 1.022 GB, free: 15.88 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 1.399e-05/0.7692, allocations: 4 kB / 1.022 GB, free: 15.87 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 4.895e-05/0.7692, allocations: 3.984 kB / 1.022 GB, free: 15.87 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.000186/0.7694, allocations: 11.98 kB / 1.022 GB, free: 15.86 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 6.249e-05/0.7695, allocations: 23.91 kB / 1.022 GB, free: 15.83 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 9.414e-05/0.7696, allocations: 0 / 1.022 GB, free: 15.83 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 4.219e-05/0.7697, allocations: 7.984 kB / 1.022 GB, free: 15.82 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 4.481e-05/0.7697, allocations: 15.94 kB / 1.022 GB, free: 15.81 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 1.334e-05/0.7697, allocations: 0 / 1.022 GB, free: 15.81 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 5.681e-05/0.7698, allocations: 11.98 kB / 1.022 GB, free: 15.8 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 1.278e-05/0.7698, allocations: 7.984 kB / 1.022 GB, free: 15.79 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 2.651e-05/0.7698, allocations: 29.7 kB / 1.022 GB, free: 15.75 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 8.18e-05/0.7699, allocations: 19.95 kB / 1.022 GB, free: 15.73 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 2.024e-06/0.7699, allocations: 0 / 1.022 GB, free: 15.73 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.553e-06/0.7699, allocations: 0 / 1.022 GB, free: 15.73 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 4.91e-06/0.77, allocations: 0 / 1.022 GB, free: 15.73 MB / 0.7794 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.0004441/0.7704, allocations: 345.3 kB / 1.022 GB, free: 15.35 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 4.313e-05/0.7705, allocations: 15.92 kB / 1.022 GB, free: 15.34 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001786/0.7706, allocations: 15.98 kB / 1.023 GB, free: 15.32 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001197/0.7708, allocations: 170.9 kB / 1.023 GB, free: 15.11 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.747e-05/0.7708, allocations: 4 kB / 1.023 GB, free: 15.11 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.17e-05/0.7708, allocations: 4 kB / 1.023 GB, free: 15.11 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002067/0.771, allocations: 69.61 kB / 1.023 GB, free: 15.03 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.372e-06/0.771, allocations: 0 / 1.023 GB, free: 15.03 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.175e-05/0.7711, allocations: 0 / 1.023 GB, free: 15.03 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.81e-06/0.7711, allocations: 0 / 1.023 GB, free: 15.03 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002225/0.7713, allocations: 63.95 kB / 1.023 GB, free: 14.97 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003924/0.7717, allocations: 268.8 kB / 1.023 GB, free: 14.66 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001803/0.7719, allocations: 66.55 kB / 1.023 GB, free: 14.58 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 1.574e-05/0.7719, allocations: 0 / 1.023 GB, free: 14.58 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.694e-05/0.772, allocations: 30.56 kB / 1.023 GB, free: 14.54 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=2): time 9.82e-07/0.772, allocations: 0 / 1.023 GB, free: 14.54 MB / 0.7794 GB Notification: Performance of matching and sorting (n=2): time 0.0004348/0.7724, allocations: 129.6 kB / 1.023 GB, free: 14.41 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.255e-05/0.7725, allocations: 63.52 kB / 1.023 GB, free: 14.34 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.372e-05/0.7725, allocations: 105.9 kB / 1.023 GB, free: 14.22 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.406e-05/0.7726, allocations: 25.7 kB / 1.023 GB, free: 14.19 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 4.459e-05/0.7726, allocations: 84.12 kB / 1.024 GB, free: 14.11 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 1.785e-05/0.7726, allocations: 3.906 kB / 1.024 GB, free: 14.1 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.687e-06/0.7726, allocations: 4 kB / 1.024 GB, free: 14.1 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 9.739e-05/0.7727, allocations: 314.8 kB / 1.024 GB, free: 13.78 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001112/0.7729, allocations: 35.97 kB / 1.024 GB, free: 13.75 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.565e-05/0.773, allocations: 27.98 kB / 1.024 GB, free: 13.72 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001062/0.7731, allocations: 32.03 kB / 1.024 GB, free: 13.69 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.863e-06/0.7731, allocations: 0 / 1.024 GB, free: 13.69 MB / 0.7794 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002497/0.7733, allocations: 101.5 kB / 1.024 GB, free: 13.58 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 2.439e-05/0.7734, allocations: 4 kB / 1.024 GB, free: 13.58 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.45e-06/0.7734, allocations: 3.938 kB / 1.024 GB, free: 13.57 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.407e-05/0.7734, allocations: 3.984 kB / 1.024 GB, free: 13.57 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001091/0.7735, allocations: 12 kB / 1.024 GB, free: 13.56 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.173e-06/0.7735, allocations: 3.984 kB / 1.024 GB, free: 13.55 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.422e-05/0.7736, allocations: 12.03 kB / 1.024 GB, free: 13.54 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.642e-06/0.7736, allocations: 0 / 1.024 GB, free: 13.54 MB / 0.7794 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.479e-05/0.7737, allocations: 117.8 kB / 1.024 GB, free: 13.42 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.477e-05/0.7737, allocations: 3.953 kB / 1.024 GB, free: 13.41 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.941e-05/0.7738, allocations: 3.531 kB / 1.024 GB, free: 13.41 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.904e-06/0.7738, allocations: 7.938 kB / 1.024 GB, free: 13.4 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.888e-06/0.7738, allocations: 0 / 1.024 GB, free: 13.4 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.114e-06/0.7738, allocations: 0 / 1.024 GB, free: 13.4 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001547/0.7739, allocations: 161.7 kB / 1.024 GB, free: 13.2 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.132e-06/0.7739, allocations: 4 kB / 1.024 GB, free: 13.19 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.036e-05/0.774, allocations: 19.97 kB / 1.024 GB, free: 13.17 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.919e-06/0.774, allocations: 3.953 kB / 1.024 GB, free: 13.17 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.115e-06/0.7741, allocations: 0 / 1.024 GB, free: 13.17 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.793e-06/0.7741, allocations: 4 kB / 1.024 GB, free: 13.16 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.41e-07/0.7741, allocations: 0 / 1.024 GB, free: 13.16 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002907/0.7744, allocations: 191.4 kB / 1.025 GB, free: 12.96 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 3.691e-05/0.7744, allocations: 81.02 kB / 1.025 GB, free: 12.86 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.859e-05/0.7744, allocations: 7.953 kB / 1.025 GB, free: 12.86 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.468e-05/0.7745, allocations: 16.02 kB / 1.025 GB, free: 12.84 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.418e-05/0.7746, allocations: 4 kB / 1.025 GB, free: 12.84 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.767e-06/0.7746, allocations: 0 / 1.025 GB, free: 12.84 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 3.746e-05/0.7746, allocations: 83.52 kB / 1.025 GB, free: 12.75 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.1e-07/0.7746, allocations: 0 / 1.025 GB, free: 12.75 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002232/0.7749, allocations: 8 kB / 1.025 GB, free: 12.75 MB / 0.7794 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001187/0.775, allocations: 99.19 kB / 1.025 GB, free: 12.64 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0002594/0.7753, allocations: 67.95 kB / 1.025 GB, free: 12.57 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 1.864e-06/0.7753, allocations: 0 / 1.025 GB, free: 12.57 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.0001115/0.7754, allocations: 43.97 kB / 1.025 GB, free: 12.53 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001927/0.7756, allocations: 0 / 1.025 GB, free: 12.53 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003426/0.7759, allocations: 135.1 kB / 1.025 GB, free: 12.38 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002305/0.7762, allocations: 0.6809 MB / 1.026 GB, free: 11.67 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 3.355e-05/0.7762, allocations: 7.922 kB / 1.026 GB, free: 11.66 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.624e-05/0.7762, allocations: 7.438 kB / 1.026 GB, free: 11.65 MB / 0.7794 GB Notification: Performance of SimCode: time 3.91e-07/0.7763, allocations: 0 / 1.026 GB, free: 11.65 MB / 0.7794 GB Notification: Performance of Templates: time 0.002409/0.7787, allocations: 0.4904 MB / 1.026 GB, free: 11.17 MB / 0.7794 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","../files/Buildings_latest_Buildings.Utilities.Math.Examples.PowerLinearized.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches