Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.NormalizedHeatFlowRate.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.Fluid.Storage.Ice.BaseClasses.Examples.NormalizedHeatFlowRate,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|norQSta.qNor|norQSta.canMelt|norQSta.SOC",fileNamePrefix="Buildings_10_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.NormalizedHeatFlowRate") translateModel(Buildings.Fluid.Storage.Ice.BaseClasses.Examples.NormalizedHeatFlowRate,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|norQSta.qNor|norQSta.canMelt|norQSta.SOC",fileNamePrefix="Buildings_10_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.NormalizedHeatFlowRate") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0014/0.0014, allocations: 114.6 kB / 16.42 MB, free: 6.523 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.001621/0.001621, allocations: 186.7 kB / 17.35 MB, free: 5.734 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.322/1.322, allocations: 222.9 MB / 241.1 MB, free: 15.15 MB / 206.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.41/2.41, allocations: 437.1 MB / 0.7112 GB, free: 4.34 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.00144/0.00144, allocations: 63.89 kB / 1.019 GB, free: 9.328 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7412/0.7427, allocations: 151.6 MB / 1.167 GB, free: 3.797 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Storage.Ice.BaseClasses.Examples.NormalizedHeatFlowRate): time 0.003529/0.7462, allocations: 1.989 MB / 1.169 GB, free: 1.797 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.001351/0.7476, allocations: 0.6826 MB / 1.17 GB, free: 1.105 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001719/0.7478, allocations: 7.938 kB / 1.17 GB, free: 1.098 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 0.0001563/0.748, allocations: 19.8 kB / 1.17 GB, free: 1.078 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 0.0001225/0.7481, allocations: 31.72 kB / 1.17 GB, free: 1.047 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003867/0.7485, allocations: 87.84 kB / 1.17 GB, free: 0.9609 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 0.0002132/0.7487, allocations: 143.6 kB / 1.17 GB, free: 0.8203 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001867/0.7489, allocations: 88.59 kB / 1.17 GB, free: 0.7344 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001229/0.7491, allocations: 55.72 kB / 1.17 GB, free: 0.6797 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001436/0.7492, allocations: 71.62 kB / 1.17 GB, free: 0.6094 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 3.702e-05/0.7493, allocations: 16 kB / 1.17 GB, free: 0.5938 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001636/0.7494, allocations: 59.95 kB / 1.17 GB, free: 0.5352 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 9.938e-05/0.7495, allocations: 71.73 kB / 1.171 GB, free: 476 kB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 0.0001077/0.7497, allocations: 99.41 kB / 1.171 GB, free: 376 kB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.0003733/0.75, allocations: 267.3 kB / 1.171 GB, free: 112 kB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 4.158e-06/0.7501, allocations: 0 / 1.171 GB, free: 112 kB / 0.8887 GB Notification: Performance of FrontEnd: time 2.825e-06/0.7501, allocations: 4 kB / 1.171 GB, free: 108 kB / 0.8887 GB Notification: Performance of Transformations before backend: time 7.574e-06/0.7501, allocations: 0 / 1.171 GB, free: 108 kB / 0.8887 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 28 * Number of variables: 28 Notification: Performance of Generate backend data structure: time 0.0008788/0.751, allocations: 0.5373 MB / 1.171 GB, free: 15.52 MB / 0.9044 GB Notification: Performance of prepare preOptimizeDAE: time 3.948e-05/0.751, allocations: 8.922 kB / 1.171 GB, free: 15.51 MB / 0.9044 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001737/0.7528, allocations: 432 kB / 1.172 GB, free: 15.09 MB / 0.9044 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004182/0.7532, allocations: 312 kB / 1.172 GB, free: 14.75 MB / 0.9044 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.143e-05/0.7533, allocations: 68.19 kB / 1.172 GB, free: 14.67 MB / 0.9044 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.431e-05/0.7533, allocations: 12.38 kB / 1.172 GB, free: 14.66 MB / 0.9044 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008558/0.7542, allocations: 391 kB / 1.173 GB, free: 14.27 MB / 0.9044 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.185e-05/0.7542, allocations: 0 / 1.173 GB, free: 14.27 MB / 0.9044 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.501e-05/0.7542, allocations: 7.938 kB / 1.173 GB, free: 14.27 MB / 0.9044 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.7e-05/0.7543, allocations: 8 kB / 1.173 GB, free: 14.26 MB / 0.9044 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001254/0.7555, allocations: 0.5307 MB / 1.173 GB, free: 13.73 MB / 0.9044 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001707/0.7572, allocations: 1.001 MB / 1.174 GB, free: 12.67 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006747/0.7579, allocations: 294.3 kB / 1.174 GB, free: 12.37 MB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006239/0.7586, allocations: 280.6 kB / 1.175 GB, free: 12.09 MB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 2.461e-05/0.7586, allocations: 0 / 1.175 GB, free: 12.09 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.663e-05/0.7586, allocations: 34.56 kB / 1.175 GB, free: 12.05 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=7): time 1.583e-06/0.7586, allocations: 0 / 1.175 GB, free: 12.05 MB / 0.9044 GB Notification: Performance of matching and sorting (n=7): time 0.001923/0.7606, allocations: 0.782 MB / 1.175 GB, free: 11.26 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.938e-05/0.7606, allocations: 55.34 kB / 1.176 GB, free: 11.2 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003108/0.7609, allocations: 306.6 kB / 1.176 GB, free: 10.89 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 2.942e-05/0.761, allocations: 25.7 kB / 1.176 GB, free: 10.86 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 9.833e-05/0.7611, allocations: 156.4 kB / 1.176 GB, free: 10.7 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 3.71e-05/0.7611, allocations: 23.8 kB / 1.176 GB, free: 10.68 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.37e-05/0.7612, allocations: 37.67 kB / 1.176 GB, free: 10.64 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 0.0001144/0.7613, allocations: 334.8 kB / 1.176 GB, free: 10.3 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006021/0.762, allocations: 259.8 kB / 1.177 GB, free: 10.05 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005921/0.7626, allocations: 256.1 kB / 1.177 GB, free: 9.797 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001062/0.7636, allocations: 452.5 kB / 1.177 GB, free: 9.352 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.394e-06/0.7636, allocations: 0 / 1.177 GB, free: 9.352 MB / 0.9044 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.001228/0.7649, allocations: 0.5245 MB / 1.178 GB, free: 8.82 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 1.813e-05/0.7649, allocations: 11.94 kB / 1.178 GB, free: 8.809 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.21e-06/0.7649, allocations: 4 kB / 1.178 GB, free: 8.805 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.348e-05/0.7649, allocations: 0 / 1.178 GB, free: 8.805 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003961/0.7653, allocations: 91.83 kB / 1.178 GB, free: 8.715 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.518e-06/0.7654, allocations: 0 / 1.178 GB, free: 8.715 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003145/0.7657, allocations: 79.81 kB / 1.178 GB, free: 8.637 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.025e-05/0.7657, allocations: 7.984 kB / 1.178 GB, free: 8.629 MB / 0.9044 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 1 (not1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (7): * Single equations (assignments): 7 * 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 0.0001486/0.7659, allocations: 145.8 kB / 1.178 GB, free: 8.477 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.963e-05/0.7659, allocations: 27.78 kB / 1.178 GB, free: 8.449 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.393e-05/0.766, allocations: 21.72 kB / 1.178 GB, free: 8.426 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.901e-06/0.766, allocations: 3.984 kB / 1.178 GB, free: 8.422 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.262e-06/0.766, allocations: 0 / 1.178 GB, free: 8.422 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 7.074e-05/0.7661, allocations: 101 kB / 1.178 GB, free: 8.305 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.795e-05/0.7661, allocations: 4 kB / 1.178 GB, free: 8.301 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003624/0.7665, allocations: 71.86 kB / 1.178 GB, free: 8.23 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.734e-05/0.7665, allocations: 7.938 kB / 1.178 GB, free: 8.223 MB / 0.9044 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001554/0.7681, allocations: 0.676 MB / 1.179 GB, free: 7.539 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.001305/0.7694, allocations: 0.6974 MB / 1.18 GB, free: 6.824 MB / 0.9044 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0006112/0.77, allocations: 271.7 kB / 1.18 GB, free: 6.559 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 0.0002105/0.7703, allocations: 217.9 kB / 1.18 GB, free: 6.352 MB / 0.9044 GB Notification: Performance of Backend: time 8.21e-07/0.7703, allocations: 8 kB / 1.18 GB, free: 6.344 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.001076/0.7714, allocations: 363.2 kB / 1.181 GB, free: 5.984 MB / 0.9044 GB Notification: Performance of SimCode: time 0.0008095/0.7722, allocations: 0.8236 MB / 1.181 GB, free: 5.105 MB / 0.9044 GB Notification: Performance of Templates: time 0.00936/0.7816, allocations: 4.732 MB / 1.186 GB, free: 376 kB / 0.9044 GB make -j1 -f Buildings_10_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.NormalizedHeatFlowRate.makefile (rm -f Buildings_10_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.NormalizedHeatFlowRate.pipe ; mkfifo Buildings_10_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.NormalizedHeatFlowRate.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.NormalizedHeatFlowRate.pipe >> ../files/Buildings_10_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.NormalizedHeatFlowRate.sim & ./Buildings_10_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.NormalizedHeatFlowRate -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.NormalizedHeatFlowRate.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.NormalizedHeatFlowRate_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Fluid_Storage_Ice_BaseClasses_Examples_NormalizedHeatFlowRate.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.NormalizedHeatFlowRate.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches