Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 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.Fluid.Storage.Ice.BaseClasses.Examples.NormalizedHeatFlowRate,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|norQSta.qNor|norQSta.canMelt|norQSta.SOC",fileNamePrefix="Buildings_latest_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_latest_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.001299/0.001298, allocations: 102.1 kB / 16.4 MB, free: 6.406 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.001244/0.001244, allocations: 192.2 kB / 17.35 MB, free: 5.695 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.37/1.37, allocations: 222.9 MB / 241 MB, free: 15.08 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.655/2.655, allocations: 461.9 MB / 0.7355 GB, free: 11.04 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001445/0.001445, allocations: 59.91 kB / 1.055 GB, free: 7.637 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9181/0.9195, allocations: 157.4 MB / 1.208 GB, free: 13.6 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Storage.Ice.BaseClasses.Examples.NormalizedHeatFlowRate): time 0.003644/0.9232, allocations: 1.972 MB / 1.21 GB, free: 11.62 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.001456/0.9247, allocations: 0.6935 MB / 1.211 GB, free: 10.92 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001889/0.9249, allocations: 0 / 1.211 GB, free: 10.92 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 0.0001679/0.9251, allocations: 23.73 kB / 1.211 GB, free: 10.9 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 0.0001228/0.9253, allocations: 23.78 kB / 1.211 GB, free: 10.88 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004556/0.9257, allocations: 95.78 kB / 1.211 GB, free: 10.78 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.0002703/0.926, allocations: 143.7 kB / 1.211 GB, free: 10.64 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002302/0.9262, allocations: 76.61 kB / 1.211 GB, free: 10.56 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001555/0.9264, allocations: 71.64 kB / 1.211 GB, free: 10.49 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001538/0.9266, allocations: 63.69 kB / 1.212 GB, free: 10.43 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 4.245e-05/0.9266, allocations: 12 kB / 1.212 GB, free: 10.42 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001854/0.9268, allocations: 59.95 kB / 1.212 GB, free: 10.36 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 0.0001112/0.9269, allocations: 79.67 kB / 1.212 GB, free: 10.28 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 0.0001036/0.927, allocations: 91.41 kB / 1.212 GB, free: 10.19 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.0004025/0.9274, allocations: 262.9 kB / 1.212 GB, free: 9.938 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 8.306e-06/0.9275, allocations: 0 / 1.212 GB, free: 9.938 MB / 0.9356 GB Notification: Performance of FrontEnd: time 1.613e-06/0.9275, allocations: 7.938 kB / 1.212 GB, free: 9.93 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 1.441e-05/0.9275, allocations: 0 / 1.212 GB, free: 9.93 MB / 0.9356 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.0009826/0.9285, allocations: 0.5354 MB / 1.213 GB, free: 9.348 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 4.076e-05/0.9285, allocations: 11.97 kB / 1.213 GB, free: 9.336 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001747/0.9303, allocations: 431.8 kB / 1.213 GB, free: 8.914 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004407/0.9307, allocations: 303.9 kB / 1.213 GB, free: 8.582 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001024/0.9309, allocations: 72.12 kB / 1.213 GB, free: 8.5 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.419e-05/0.9309, allocations: 12.38 kB / 1.213 GB, free: 8.488 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008463/0.9317, allocations: 383.3 kB / 1.214 GB, free: 8.109 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.008e-05/0.9318, allocations: 0 / 1.214 GB, free: 8.109 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.977e-05/0.9318, allocations: 8 kB / 1.214 GB, free: 8.102 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.981e-06/0.9318, allocations: 0 / 1.214 GB, free: 8.102 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00127/0.9331, allocations: 0.5468 MB / 1.214 GB, free: 7.555 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001972/0.9351, allocations: 1.005 MB / 1.215 GB, free: 6.496 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006544/0.9357, allocations: 286.3 kB / 1.215 GB, free: 6.207 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005908/0.9363, allocations: 272.6 kB / 1.216 GB, free: 5.938 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 2.373e-05/0.9364, allocations: 4 kB / 1.216 GB, free: 5.934 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.916e-05/0.9364, allocations: 38.56 kB / 1.216 GB, free: 5.887 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=7): time 1.472e-06/0.9364, allocations: 0 / 1.216 GB, free: 5.887 MB / 0.9356 GB Notification: Performance of matching and sorting (n=7): time 0.001917/0.9383, allocations: 0.7818 MB / 1.217 GB, free: 5.098 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.132e-05/0.9384, allocations: 59.41 kB / 1.217 GB, free: 5.027 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003261/0.9387, allocations: 294.7 kB / 1.217 GB, free: 4.723 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 3.144e-05/0.9388, allocations: 25.7 kB / 1.217 GB, free: 4.691 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001095/0.9389, allocations: 156.2 kB / 1.217 GB, free: 4.535 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 3.886e-05/0.9389, allocations: 27.72 kB / 1.217 GB, free: 4.508 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.734e-05/0.939, allocations: 33.69 kB / 1.217 GB, free: 4.469 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001188/0.9391, allocations: 338.8 kB / 1.217 GB, free: 4.129 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005952/0.9397, allocations: 259.8 kB / 1.218 GB, free: 3.875 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005734/0.9403, allocations: 255.8 kB / 1.218 GB, free: 3.625 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001051/0.9414, allocations: 444.9 kB / 1.218 GB, free: 3.188 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.296e-06/0.9414, allocations: 3.938 kB / 1.218 GB, free: 3.184 MB / 0.9356 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.001224/0.9426, allocations: 0.5321 MB / 1.219 GB, free: 2.645 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.926e-05/0.9427, allocations: 5.875 kB / 1.219 GB, free: 2.641 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.652e-06/0.9427, allocations: 0 / 1.219 GB, free: 2.641 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.894e-05/0.9427, allocations: 4 kB / 1.219 GB, free: 2.637 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004004/0.9431, allocations: 91.77 kB / 1.219 GB, free: 2.547 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.743e-06/0.9431, allocations: 4 kB / 1.219 GB, free: 2.543 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003096/0.9434, allocations: 71.86 kB / 1.219 GB, free: 2.473 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.477e-05/0.9435, allocations: 11.98 kB / 1.219 GB, free: 2.461 MB / 0.9356 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.0001492/0.9436, allocations: 141.8 kB / 1.219 GB, free: 2.312 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.188e-05/0.9437, allocations: 23.72 kB / 1.219 GB, free: 2.289 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.706e-05/0.9438, allocations: 29.66 kB / 1.219 GB, free: 2.262 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.947e-06/0.9438, allocations: 3.984 kB / 1.219 GB, free: 2.258 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.731e-06/0.9438, allocations: 0 / 1.219 GB, free: 2.258 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.517e-06/0.9438, allocations: 0 / 1.219 GB, free: 2.258 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004657/0.9443, allocations: 444.4 kB / 1.22 GB, free: 1.777 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.195e-06/0.9443, allocations: 0 / 1.22 GB, free: 1.777 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000376/0.9446, allocations: 91.83 kB / 1.22 GB, free: 1.688 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.133e-06/0.9447, allocations: 7.984 kB / 1.22 GB, free: 1.68 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.238e-05/0.9447, allocations: 3.984 kB / 1.22 GB, free: 1.676 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.605e-06/0.9447, allocations: 0 / 1.22 GB, free: 1.676 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.323e-06/0.9447, allocations: 0 / 1.22 GB, free: 1.676 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001303/0.946, allocations: 0.6315 MB / 1.22 GB, free: 1.027 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 8.157e-05/0.9461, allocations: 100.8 kB / 1.22 GB, free: 0.9102 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.555e-05/0.9462, allocations: 8 kB / 1.22 GB, free: 0.9023 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003384/0.9465, allocations: 75.8 kB / 1.221 GB, free: 0.8281 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.584e-05/0.9466, allocations: 11.92 kB / 1.221 GB, free: 0.8164 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.267e-05/0.9466, allocations: 11.98 kB / 1.221 GB, free: 0.8047 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 0.0002103/0.9468, allocations: 213.9 kB / 1.221 GB, free: 0.5977 MB / 0.9356 GB Notification: Performance of sort global known variables: time 1.61e-07/0.9468, allocations: 0 / 1.221 GB, free: 0.5977 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0003179/0.9471, allocations: 43.89 kB / 1.221 GB, free: 0.5547 MB / 0.9356 GB Notification: Model statistics after passing the back-end for simulation: * 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 simulation (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 Backend phase and start with SimCode phase: time 0.0001832/0.9473, allocations: 103.2 kB / 1.221 GB, free: 456 kB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.001271/0.9486, allocations: 0.5346 MB / 1.221 GB, free: 15.91 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 2.695e-06/0.9486, allocations: 0 / 1.221 GB, free: 15.91 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 0.000612/0.9492, allocations: 275.7 kB / 1.222 GB, free: 15.64 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003148/0.9496, allocations: 18.39 kB / 1.222 GB, free: 15.62 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001266/0.9508, allocations: 0.6084 MB / 1.222 GB, free: 14.98 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003258/0.9512, allocations: 0.7513 MB / 1.223 GB, free: 14.2 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001441/0.9513, allocations: 43.31 kB / 1.223 GB, free: 14.16 MB / 0.9512 GB Notification: Performance of SimCode: time 3.6e-07/0.9513, allocations: 0 / 1.223 GB, free: 14.16 MB / 0.9512 GB Notification: Performance of Templates: time 0.006628/0.958, allocations: 3.678 MB / 1.227 GB, free: 10.48 MB / 0.9512 GB make -j1 -f Buildings_latest_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.NormalizedHeatFlowRate.makefile (rm -f Buildings_latest_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.NormalizedHeatFlowRate.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.NormalizedHeatFlowRate.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.NormalizedHeatFlowRate.pipe >> ../files/Buildings_latest_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.NormalizedHeatFlowRate.sim & ./Buildings_latest_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.NormalizedHeatFlowRate -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.NormalizedHeatFlowRate.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.NormalizedHeatFlowRate_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_Storage_Ice_BaseClasses_Examples_NormalizedHeatFlowRate.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.NormalizedHeatFlowRate.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches