Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_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 9.1.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.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_9_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_9_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.001013/0.001013, allocations: 99.86 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.001432/0.001432, 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.403/1.403, allocations: 223.2 MB / 239.9 MB, free: 5.309 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.481/2.481, allocations: 390.3 MB / 0.6653 GB, free: 2.902 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003311/0.0003312, allocations: 8 kB / 0.8146 GB, free: 14.23 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7979/0.7982, allocations: 142.3 MB / 0.9535 GB, free: 8.289 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Storage.Ice.BaseClasses.Examples.NormalizedHeatFlowRate): time 0.001984/0.8002, allocations: 1.63 MB / 0.9551 GB, free: 7.008 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0009924/0.8012, allocations: 0.6464 MB / 0.9558 GB, free: 6.5 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001109/0.8014, allocations: 2.312 kB / 0.9558 GB, free: 6.5 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 4.579e-05/0.8014, allocations: 11.86 kB / 0.9558 GB, free: 6.488 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0001237/0.8016, allocations: 20.78 kB / 0.9558 GB, free: 6.473 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003066/0.8019, allocations: 70.02 kB / 0.9559 GB, free: 6.422 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0001763/0.8021, allocations: 92.14 kB / 0.9559 GB, free: 6.359 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001739/0.8023, allocations: 67.38 kB / 0.956 GB, free: 6.316 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001093/0.8024, allocations: 46.81 kB / 0.956 GB, free: 6.289 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 9.698e-05/0.8025, allocations: 51.5 kB / 0.9561 GB, free: 6.254 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.928e-05/0.8025, allocations: 3.094 kB / 0.9561 GB, free: 6.254 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001318/0.8026, allocations: 51.08 kB / 0.9561 GB, free: 6.227 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 7.36e-05/0.8027, allocations: 49.52 kB / 0.9562 GB, free: 6.199 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 3.875e-05/0.8028, allocations: 54.61 kB / 0.9562 GB, free: 6.148 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0001922/0.803, allocations: 189.2 kB / 0.9564 GB, free: 6.016 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 3.036e-06/0.803, allocations: 0.875 kB / 0.9564 GB, free: 6.016 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.894e-06/0.803, allocations: 3.938 kB / 0.9564 GB, free: 6.012 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 9.127e-06/0.803, allocations: 0 / 0.9564 GB, free: 6.012 MB / 0.7169 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.0007012/0.8037, allocations: 0.5095 MB / 0.9569 GB, free: 5.523 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.724e-05/0.8037, allocations: 13.64 kB / 0.9569 GB, free: 5.52 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001545/0.8053, allocations: 432.8 kB / 0.9574 GB, free: 5.301 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003716/0.8057, allocations: 302.7 kB / 0.9576 GB, free: 5.012 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.804e-05/0.8058, allocations: 71.56 kB / 0.9577 GB, free: 4.938 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.063e-05/0.8058, allocations: 11.44 kB / 0.9577 GB, free: 4.934 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000751/0.8066, allocations: 392.4 kB / 0.9581 GB, free: 4.723 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.527e-06/0.8066, allocations: 1.375 kB / 0.9581 GB, free: 4.723 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.468e-05/0.8066, allocations: 4 kB / 0.9581 GB, free: 4.719 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.664e-06/0.8066, allocations: 8.078 kB / 0.9581 GB, free: 4.715 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001168/0.8078, allocations: 0.5423 MB / 0.9586 GB, free: 4.48 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001575/0.8094, allocations: 1.007 MB / 0.9596 GB, free: 3.766 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006453/0.81, allocations: 293.7 kB / 0.9599 GB, free: 3.625 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 2.248e-05/0.8101, allocations: 9.016 kB / 0.9599 GB, free: 3.617 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.023e-05/0.8101, allocations: 31.5 kB / 0.9599 GB, free: 3.578 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=7): time 2.054e-06/0.8101, allocations: 1.031 kB / 0.9599 GB, free: 3.578 MB / 0.7169 GB Notification: Performance of matching and sorting (n=7): time 0.001913/0.812, allocations: 0.8099 MB / 0.9607 GB, free: 3.191 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.042e-05/0.8121, allocations: 52.62 kB / 0.9608 GB, free: 3.129 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003207/0.8124, allocations: 293.9 kB / 0.9611 GB, free: 2.934 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 2.33e-05/0.8124, allocations: 25.7 kB / 0.9611 GB, free: 2.902 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 9.669e-05/0.8125, allocations: 157.9 kB / 0.9612 GB, free: 2.758 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 3.104e-05/0.8126, allocations: 21.56 kB / 0.9613 GB, free: 2.738 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.556e-05/0.8126, allocations: 5.25 kB / 0.9613 GB, free: 2.734 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 9.228e-05/0.8127, allocations: 332 kB / 0.9616 GB, free: 2.406 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005655/0.8133, allocations: 260.3 kB / 0.9618 GB, free: 2.297 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005614/0.8138, allocations: 268.4 kB / 0.9621 GB, free: 2.18 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005281/0.8144, allocations: 219.7 kB / 0.9623 GB, free: 2.086 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.635e-06/0.8144, allocations: 1.156 kB / 0.9623 GB, free: 2.086 MB / 0.7169 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.001213/0.8156, allocations: 0.5471 MB / 0.9628 GB, free: 1.816 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.909e-05/0.8156, allocations: 5.156 kB / 0.9628 GB, free: 1.816 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.371e-06/0.8156, allocations: 1.094 kB / 0.9628 GB, free: 1.816 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.923e-05/0.8157, allocations: 3.953 kB / 0.9628 GB, free: 1.812 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003908/0.8161, allocations: 99.36 kB / 0.9629 GB, free: 1.762 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.833e-06/0.8161, allocations: 1 kB / 0.9629 GB, free: 1.762 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002979/0.8164, allocations: 75.34 kB / 0.963 GB, free: 1.727 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.515e-05/0.8164, allocations: 12.55 kB / 0.963 GB, free: 1.719 MB / 0.7169 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001351/0.8166, allocations: 140.2 kB / 0.9632 GB, free: 1.586 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.083e-05/0.8166, allocations: 25.47 kB / 0.9632 GB, free: 1.57 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.343e-05/0.8167, allocations: 25.48 kB / 0.9632 GB, free: 1.559 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.378e-06/0.8167, allocations: 4.828 kB / 0.9632 GB, free: 1.555 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.452e-06/0.8167, allocations: 4.812 kB / 0.9632 GB, free: 1.551 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.737e-06/0.8167, allocations: 0 / 0.9632 GB, free: 1.551 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000432/0.8171, allocations: 433 kB / 0.9636 GB, free: 1.207 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.232e-06/0.8172, allocations: 0 / 0.9636 GB, free: 1.207 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003434/0.8175, allocations: 99.64 kB / 0.9637 GB, free: 1.156 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.284e-06/0.8175, allocations: 0 / 0.9637 GB, free: 1.156 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.452e-05/0.8175, allocations: 15.12 kB / 0.9637 GB, free: 1.145 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.989e-06/0.8176, allocations: 8.984 kB / 0.9637 GB, free: 1.137 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.793e-06/0.8176, allocations: 0 / 0.9637 GB, free: 1.137 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001224/0.8188, allocations: 0.6329 MB / 0.9644 GB, free: 0.7734 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 7.029e-05/0.8189, allocations: 109.1 kB / 0.9645 GB, free: 0.6562 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.866e-05/0.8189, allocations: 0.9062 kB / 0.9645 GB, free: 0.6562 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003415/0.8193, allocations: 70.25 kB / 0.9645 GB, free: 0.625 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.362e-05/0.8193, allocations: 18.94 kB / 0.9646 GB, free: 0.6094 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.115e-05/0.8194, allocations: 8.047 kB / 0.9646 GB, free: 0.6055 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.0001898/0.8195, allocations: 217.1 kB / 0.9648 GB, free: 476 kB / 0.7169 GB Notification: Performance of sort global known variables: time 1.1e-07/0.8196, allocations: 0 / 0.9648 GB, free: 476 kB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0003164/0.8199, allocations: 36.25 kB / 0.9648 GB, free: 472 kB / 0.7169 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 (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.0001634/0.82, allocations: 108.5 kB / 0.9649 GB, free: 372 kB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.001207/0.8213, allocations: 0.5326 MB / 0.9654 GB, free: 136 kB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.404e-06/0.8213, allocations: 0 / 0.9654 GB, free: 136 kB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0005991/0.8219, allocations: 289.4 kB / 0.9657 GB, free: 4 kB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002645/0.8222, allocations: 14.89 kB / 0.9657 GB, free: 15.99 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001328/0.8235, allocations: 0.6545 MB / 0.9664 GB, free: 15.57 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003386/0.8238, allocations: 0.7587 MB / 0.9671 GB, free: 14.84 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.0001988/0.824, allocations: 51.23 kB / 0.9671 GB, free: 14.82 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.754e-05/0.8242, allocations: 31.55 kB / 0.9672 GB, free: 14.8 MB / 0.7325 GB Notification: Performance of SimCode: time 4.51e-07/0.8242, allocations: 0 / 0.9672 GB, free: 14.8 MB / 0.7325 GB Notification: Performance of Templates: time 0.006299/0.8305, allocations: 2.602 MB / 0.9697 GB, free: 13.49 MB / 0.7325 GB make -j1 -f Buildings_9_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.NormalizedHeatFlowRate.makefile (rm -f Buildings_9_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.NormalizedHeatFlowRate.pipe ; mkfifo Buildings_9_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.NormalizedHeatFlowRate.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.NormalizedHeatFlowRate.pipe >> ../files/Buildings_9_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.NormalizedHeatFlowRate.sim & ./Buildings_9_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.NormalizedHeatFlowRate -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.NormalizedHeatFlowRate.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.NormalizedHeatFlowRate_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_Storage_Ice_BaseClasses_Examples_NormalizedHeatFlowRate.csv","../files/Buildings_9_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.NormalizedHeatFlowRate.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches