Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-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.Examples.PowerLinearized,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|powerLinearized.y",fileNamePrefix="Buildings_10_Buildings.Utilities.Math.Examples.PowerLinearized") translateModel(Buildings.Utilities.Math.Examples.PowerLinearized,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|powerLinearized.y",fileNamePrefix="Buildings_10_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.006002/0.006002, allocations: 101.1 kB / 15.88 MB, free: 6.328 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.001456/0.001457, allocations: 195 kB / 16.79 MB, free: 6.254 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.378/1.378, allocations: 222.9 MB / 240.5 MB, free: 4.59 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.65/2.65, allocations: 437 MB / 0.7106 GB, free: 5.332 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001481/0.001482, allocations: 63.91 kB / 0.8692 GB, free: 5.191 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6726/0.6741, allocations: 151.6 MB / 1.017 GB, free: 2.805 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.PowerLinearized): time 0.003171/0.6773, allocations: 1.496 MB / 1.019 GB, free: 1.301 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.0003637/0.6777, allocations: 88.59 kB / 1.019 GB, free: 1.211 MB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.089e-05/0.6777, allocations: 0 / 1.019 GB, free: 1.211 MB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 3.619e-05/0.6778, allocations: 0 / 1.019 GB, free: 1.211 MB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 5.145e-05/0.6778, allocations: 11.92 kB / 1.019 GB, free: 1.199 MB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001795/0.678, allocations: 11.98 kB / 1.019 GB, free: 1.188 MB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 6.541e-05/0.6781, allocations: 23.92 kB / 1.019 GB, free: 1.164 MB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001072/0.6782, allocations: 8 kB / 1.019 GB, free: 1.156 MB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 4.423e-05/0.6783, allocations: 11.94 kB / 1.019 GB, free: 1.145 MB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 4.389e-05/0.6783, allocations: 15.92 kB / 1.019 GB, free: 1.129 MB / 0.7637 GB Notification: Performance of NFPackage.collectConstants: time 1.41e-05/0.6783, allocations: 3.938 kB / 1.019 GB, free: 1.125 MB / 0.7637 GB Notification: Performance of NFFlatten.collectFunctions: time 6.121e-05/0.6784, allocations: 15.98 kB / 1.019 GB, free: 1.109 MB / 0.7637 GB Notification: Performance of NFScalarize.scalarize: time 1.451e-05/0.6784, allocations: 0 / 1.019 GB, free: 1.109 MB / 0.7637 GB Notification: Performance of NFVerifyModel.verify: time 3.273e-05/0.6784, allocations: 15.92 kB / 1.019 GB, free: 1.094 MB / 0.7637 GB Notification: Performance of NFConvertDAE.convert: time 9.131e-05/0.6785, allocations: 23.95 kB / 1.019 GB, free: 1.07 MB / 0.7637 GB Notification: Performance of FrontEnd - DAE generated: time 4.989e-06/0.6786, allocations: 0 / 1.019 GB, free: 1.07 MB / 0.7637 GB Notification: Performance of FrontEnd: time 1.593e-06/0.6786, allocations: 0 / 1.019 GB, free: 1.07 MB / 0.7637 GB Notification: Performance of Transformations before backend: time 4.308e-06/0.6786, allocations: 0 / 1.019 GB, free: 1.07 MB / 0.7637 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.0005033/0.6791, allocations: 349.4 kB / 1.019 GB, free: 0.6797 MB / 0.7637 GB Notification: Performance of prepare preOptimizeDAE: time 4.372e-05/0.6791, allocations: 8.031 kB / 1.019 GB, free: 0.6719 MB / 0.7637 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001904/0.6793, allocations: 12.92 kB / 1.019 GB, free: 0.6602 MB / 0.7637 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001361/0.6795, allocations: 168.3 kB / 1.019 GB, free: 468 kB / 0.7637 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.276e-05/0.6795, allocations: 384 / 1.019 GB, free: 468 kB / 0.7637 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.426e-05/0.6795, allocations: 384 / 1.019 GB, free: 468 kB / 0.7637 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002026/0.6797, allocations: 66.09 kB / 1.02 GB, free: 396 kB / 0.7637 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.047e-05/0.6797, allocations: 8.172 kB / 1.02 GB, free: 388 kB / 0.7637 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.246e-05/0.6798, allocations: 3.938 kB / 1.02 GB, free: 384 kB / 0.7637 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.733e-06/0.6798, allocations: 4 kB / 1.02 GB, free: 380 kB / 0.7637 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002122/0.68, allocations: 43.95 kB / 1.02 GB, free: 336 kB / 0.7637 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004232/0.6804, allocations: 264.9 kB / 1.02 GB, free: 20 kB / 0.7637 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002038/0.6806, allocations: 62.42 kB / 1.02 GB, free: 15.95 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001059/0.6808, allocations: 28.89 kB / 1.02 GB, free: 15.92 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 2.045e-05/0.6808, allocations: 0 / 1.02 GB, free: 15.92 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.241e-05/0.6808, allocations: 38.56 kB / 1.02 GB, free: 15.87 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=2): time 8.52e-07/0.6808, allocations: 0 / 1.02 GB, free: 15.87 MB / 0.7794 GB Notification: Performance of matching and sorting (n=2): time 0.0004258/0.6813, allocations: 101.6 kB / 1.02 GB, free: 15.77 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.372e-05/0.6813, allocations: 55.41 kB / 1.02 GB, free: 15.7 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.947e-05/0.6814, allocations: 101.8 kB / 1.02 GB, free: 15.59 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.462e-05/0.6814, allocations: 25.7 kB / 1.02 GB, free: 15.56 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 4.967e-05/0.6815, allocations: 92.08 kB / 1.02 GB, free: 15.46 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 1.779e-05/0.6815, allocations: 4.031 kB / 1.02 GB, free: 15.46 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.571e-05/0.6816, allocations: 21.7 kB / 1.02 GB, free: 15.43 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001261/0.6817, allocations: 314.8 kB / 1.021 GB, free: 15.12 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001038/0.6818, allocations: 15.98 kB / 1.021 GB, free: 15.1 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.454e-05/0.6819, allocations: 27.97 kB / 1.021 GB, free: 15.07 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001867/0.6821, allocations: 52.88 kB / 1.021 GB, free: 15.02 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.883e-06/0.6821, allocations: 0 / 1.021 GB, free: 15.02 MB / 0.7794 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002402/0.6823, allocations: 85.58 kB / 1.021 GB, free: 14.93 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.547e-05/0.6824, allocations: 4 kB / 1.021 GB, free: 14.93 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.19e-06/0.6824, allocations: 0 / 1.021 GB, free: 14.93 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.266e-05/0.6824, allocations: 0 / 1.021 GB, free: 14.93 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001177/0.6825, allocations: 19.95 kB / 1.021 GB, free: 14.91 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.6e-06/0.6825, allocations: 3.938 kB / 1.021 GB, free: 14.9 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.406e-05/0.6826, allocations: 7.984 kB / 1.021 GB, free: 14.89 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.151e-06/0.6826, allocations: 4 kB / 1.021 GB, free: 14.89 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.113e-05/0.6827, allocations: 113.8 kB / 1.021 GB, free: 14.77 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.808e-05/0.6827, allocations: 7.906 kB / 1.021 GB, free: 14.76 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.925e-05/0.6828, allocations: 3.531 kB / 1.021 GB, free: 14.76 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.613e-06/0.6828, allocations: 0 / 1.021 GB, free: 14.76 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.474e-06/0.6828, allocations: 4 kB / 1.021 GB, free: 14.75 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.334e-06/0.6828, allocations: 3.938 kB / 1.021 GB, free: 14.75 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001782/0.683, allocations: 169.6 kB / 1.021 GB, free: 14.54 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.625e-06/0.683, allocations: 3.984 kB / 1.021 GB, free: 14.53 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.99e-05/0.6831, allocations: 8 kB / 1.021 GB, free: 14.52 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.483e-06/0.6831, allocations: 0 / 1.021 GB, free: 14.52 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.011e-05/0.6831, allocations: 3.984 kB / 1.021 GB, free: 14.52 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.042e-06/0.6831, allocations: 0 / 1.021 GB, free: 14.52 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.61e-07/0.6831, allocations: 0 / 1.021 GB, free: 14.52 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003015/0.6834, allocations: 179.4 kB / 1.021 GB, free: 14.33 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 4.886e-05/0.6835, allocations: 81.09 kB / 1.021 GB, free: 14.23 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.547e-05/0.6835, allocations: 256 / 1.021 GB, free: 14.23 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.9e-05/0.6836, allocations: 8 kB / 1.021 GB, free: 14.22 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.966e-05/0.6836, allocations: 7.984 kB / 1.021 GB, free: 14.21 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.128e-06/0.6836, allocations: 0 / 1.021 GB, free: 14.21 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 4.62e-05/0.6837, allocations: 87.31 kB / 1.022 GB, free: 14.13 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.11e-07/0.6837, allocations: 0 / 1.022 GB, free: 14.13 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002118/0.6839, allocations: 8 kB / 1.022 GB, free: 14.12 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 (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.0001261/0.6841, allocations: 103.2 kB / 1.022 GB, free: 14.01 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.000261/0.6843, allocations: 51.95 kB / 1.022 GB, free: 13.96 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 2.004e-06/0.6843, allocations: 4.062 kB / 1.022 GB, free: 13.95 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.0001065/0.6844, allocations: 31.91 kB / 1.022 GB, free: 13.92 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003129/0.6848, allocations: 7.938 kB / 1.022 GB, free: 13.91 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003823/0.6852, allocations: 156.8 kB / 1.022 GB, free: 13.73 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002708/0.6854, allocations: 0.681 MB / 1.023 GB, free: 13.02 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.548e-05/0.6855, allocations: 7.438 kB / 1.023 GB, free: 13.02 MB / 0.7794 GB Notification: Performance of SimCode: time 4e-07/0.6855, allocations: 0 / 1.023 GB, free: 13.02 MB / 0.7794 GB Notification: Performance of Templates: time 0.001937/0.6874, allocations: 0.6277 MB / 1.023 GB, free: 12.39 MB / 0.7794 GB make -j1 -f Buildings_10_Buildings.Utilities.Math.Examples.PowerLinearized.makefile (rm -f Buildings_10_Buildings.Utilities.Math.Examples.PowerLinearized.pipe ; mkfifo Buildings_10_Buildings.Utilities.Math.Examples.PowerLinearized.pipe ; head -c 1048576 < Buildings_10_Buildings.Utilities.Math.Examples.PowerLinearized.pipe >> ../files/Buildings_10_Buildings.Utilities.Math.Examples.PowerLinearized.sim & ./Buildings_10_Buildings.Utilities.Math.Examples.PowerLinearized -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Utilities.Math.Examples.PowerLinearized.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Utilities.Math.Examples.PowerLinearized_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Utilities_Math_Examples_PowerLinearized.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Utilities.Math.Examples.PowerLinearized.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches