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.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.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.001552/0.001552, 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.002134/0.002134, allocations: 198.5 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.451/1.451, allocations: 222.9 MB / 239.8 MB, free: 4.609 MB / 190.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.569/2.569, allocations: 437 MB / 0.7099 GB, free: 5.23 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001366/0.001366, allocations: 71.83 kB / 0.8685 GB, free: 5.137 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.741/0.7424, allocations: 151.6 MB / 1.017 GB, free: 2.727 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.PowerLinearized): time 0.00314/0.7456, allocations: 1.515 MB / 1.018 GB, free: 1.203 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.0002963/0.7459, allocations: 92.59 kB / 1.018 GB, free: 1.109 MB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.474e-05/0.746, allocations: 4 kB / 1.018 GB, free: 1.105 MB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 3.201e-05/0.746, allocations: 0 / 1.018 GB, free: 1.105 MB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 4.257e-05/0.7461, allocations: 3.938 kB / 1.018 GB, free: 1.102 MB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001518/0.7462, allocations: 11.98 kB / 1.018 GB, free: 1.09 MB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 5.404e-05/0.7463, allocations: 19.94 kB / 1.018 GB, free: 1.07 MB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 7.97e-05/0.7464, allocations: 7.984 kB / 1.018 GB, free: 1.062 MB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 3.88e-05/0.7464, allocations: 7.938 kB / 1.018 GB, free: 1.055 MB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 4.333e-05/0.7465, allocations: 19.91 kB / 1.018 GB, free: 1.035 MB / 0.7637 GB Notification: Performance of NFPackage.collectConstants: time 1.269e-05/0.7465, allocations: 0 / 1.018 GB, free: 1.035 MB / 0.7637 GB Notification: Performance of NFFlatten.collectFunctions: time 5.606e-05/0.7465, allocations: 15.98 kB / 1.018 GB, free: 1.02 MB / 0.7637 GB Notification: Performance of NFScalarize.scalarize: time 1.63e-05/0.7466, allocations: 8 kB / 1.018 GB, free: 1.012 MB / 0.7637 GB Notification: Performance of NFVerifyModel.verify: time 2.724e-05/0.7466, allocations: 11.92 kB / 1.018 GB, free: 1 MB / 0.7637 GB Notification: Performance of NFConvertDAE.convert: time 0.0001081/0.7467, allocations: 31.91 kB / 1.018 GB, free: 0.9688 MB / 0.7637 GB Notification: Performance of FrontEnd - DAE generated: time 4.148e-06/0.7467, allocations: 0 / 1.018 GB, free: 0.9688 MB / 0.7637 GB Notification: Performance of FrontEnd: time 8.21e-07/0.7467, allocations: 0 / 1.018 GB, free: 0.9688 MB / 0.7637 GB Notification: Performance of Transformations before backend: time 4.078e-06/0.7467, allocations: 0 / 1.018 GB, free: 0.9688 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.0004245/0.7472, allocations: 347.3 kB / 1.019 GB, free: 0.582 MB / 0.7637 GB Notification: Performance of prepare preOptimizeDAE: time 3.649e-05/0.7472, allocations: 8.031 kB / 1.019 GB, free: 0.5742 MB / 0.7637 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001779/0.7474, allocations: 16.92 kB / 1.019 GB, free: 0.5586 MB / 0.7637 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001043/0.7475, allocations: 172.3 kB / 1.019 GB, free: 360 kB / 0.7637 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.148e-05/0.7475, allocations: 384 / 1.019 GB, free: 360 kB / 0.7637 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.177e-06/0.7475, allocations: 384 / 1.019 GB, free: 360 kB / 0.7637 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001863/0.7477, allocations: 54.23 kB / 1.019 GB, free: 300 kB / 0.7637 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.517e-06/0.7478, allocations: 192 / 1.019 GB, free: 300 kB / 0.7637 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.51e-05/0.7478, allocations: 7.875 kB / 1.019 GB, free: 292 kB / 0.7637 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.641e-06/0.7478, allocations: 4 kB / 1.019 GB, free: 288 kB / 0.7637 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002132/0.748, allocations: 51.94 kB / 1.019 GB, free: 236 kB / 0.7637 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003932/0.7484, allocations: 264.8 kB / 1.019 GB, free: 15.92 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001828/0.7486, allocations: 62.5 kB / 1.019 GB, free: 15.85 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001115/0.7487, allocations: 28.91 kB / 1.019 GB, free: 15.82 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 1.515e-05/0.7487, allocations: 0 / 1.019 GB, free: 15.82 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.608e-05/0.7488, allocations: 38.5 kB / 1.019 GB, free: 15.77 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=2): time 2.093e-06/0.7488, allocations: 0 / 1.019 GB, free: 15.77 MB / 0.7794 GB Notification: Performance of matching and sorting (n=2): time 0.0004241/0.7492, allocations: 109.6 kB / 1.019 GB, free: 15.66 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.242e-05/0.7493, allocations: 55.41 kB / 1.019 GB, free: 15.59 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.977e-05/0.7493, allocations: 101.8 kB / 1.02 GB, free: 15.48 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.313e-05/0.7493, allocations: 25.7 kB / 1.02 GB, free: 15.45 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 8.806e-05/0.7494, allocations: 92.12 kB / 1.02 GB, free: 15.36 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 1.943e-05/0.7495, allocations: 3.906 kB / 1.02 GB, free: 15.36 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.657e-05/0.7495, allocations: 13.72 kB / 1.02 GB, free: 15.34 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001608/0.7497, allocations: 314.8 kB / 1.02 GB, free: 15.02 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001068/0.7498, allocations: 24 kB / 1.02 GB, free: 15 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.903e-05/0.7499, allocations: 27.97 kB / 1.02 GB, free: 14.97 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001884/0.7501, allocations: 53 kB / 1.02 GB, free: 14.91 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.813e-06/0.7501, allocations: 0 / 1.02 GB, free: 14.91 MB / 0.7794 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002776/0.7504, allocations: 89.66 kB / 1.02 GB, free: 14.82 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.441e-05/0.7504, allocations: 5.562 kB / 1.02 GB, free: 14.82 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.117e-06/0.7504, allocations: 0 / 1.02 GB, free: 14.82 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.966e-06/0.7504, allocations: 0 / 1.02 GB, free: 14.82 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001113/0.7505, allocations: 11.98 kB / 1.02 GB, free: 14.8 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.929e-06/0.7506, allocations: 0 / 1.02 GB, free: 14.8 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.499e-05/0.7506, allocations: 7.984 kB / 1.02 GB, free: 14.8 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.556e-06/0.7506, allocations: 8.031 kB / 1.02 GB, free: 14.79 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 6.895e-05/0.7507, allocations: 113.8 kB / 1.02 GB, free: 14.67 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.779e-05/0.7507, allocations: 3.906 kB / 1.02 GB, free: 14.66 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.769e-05/0.7508, allocations: 15.45 kB / 1.02 GB, free: 14.65 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.834e-06/0.7508, allocations: 0 / 1.02 GB, free: 14.65 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.886e-06/0.7508, allocations: 0 / 1.02 GB, free: 14.65 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.993e-06/0.7508, allocations: 0 / 1.02 GB, free: 14.65 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001593/0.751, allocations: 169.6 kB / 1.021 GB, free: 14.43 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.32e-07/0.751, allocations: 0 / 1.021 GB, free: 14.43 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.393e-05/0.7511, allocations: 15.98 kB / 1.021 GB, free: 14.42 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.265e-06/0.7511, allocations: 0 / 1.021 GB, free: 14.42 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.035e-06/0.7511, allocations: 0 / 1.021 GB, free: 14.42 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.894e-06/0.7511, allocations: 0 / 1.021 GB, free: 14.42 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.12e-07/0.7511, allocations: 0 / 1.021 GB, free: 14.42 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002824/0.7514, allocations: 179.4 kB / 1.021 GB, free: 14.23 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 3.381e-05/0.7514, allocations: 77.11 kB / 1.021 GB, free: 14.13 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.579e-05/0.7515, allocations: 0 / 1.021 GB, free: 14.13 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.199e-05/0.7516, allocations: 15.92 kB / 1.021 GB, free: 14.12 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.202e-05/0.7516, allocations: 0 / 1.021 GB, free: 14.12 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.428e-06/0.7516, allocations: 0 / 1.021 GB, free: 14.12 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 4.662e-05/0.7516, allocations: 91.2 kB / 1.021 GB, free: 14.03 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.3e-07/0.7517, allocations: 0 / 1.021 GB, free: 14.03 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002161/0.7519, allocations: 8 kB / 1.021 GB, free: 14.02 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.0001052/0.752, allocations: 107.1 kB / 1.021 GB, free: 13.91 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0002473/0.7522, allocations: 51.95 kB / 1.021 GB, free: 13.86 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 1.873e-06/0.7523, allocations: 3.938 kB / 1.021 GB, free: 13.85 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.0001102/0.7524, allocations: 27.97 kB / 1.021 GB, free: 13.82 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002972/0.7527, allocations: 8.062 kB / 1.021 GB, free: 13.82 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003332/0.753, allocations: 131.1 kB / 1.021 GB, free: 13.66 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003179/0.7533, allocations: 0.6809 MB / 1.022 GB, free: 12.96 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 3.401e-05/0.7534, allocations: 0 / 1.022 GB, free: 12.96 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.2e-05/0.7534, allocations: 11.44 kB / 1.022 GB, free: 12.95 MB / 0.7794 GB Notification: Performance of SimCode: time 2.9e-07/0.7534, allocations: 0 / 1.022 GB, free: 12.95 MB / 0.7794 GB Notification: Performance of Templates: time 0.002333/0.7558, allocations: 0.5079 MB / 1.022 GB, free: 12.44 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/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Utilities.Math.Examples.PowerLinearized.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches