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.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-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.00166/0.00166, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002138/0.002139, allocations: 193.2 kB / 16.53 MB, free: 6.664 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.41/1.41, allocations: 222.9 MB / 240.2 MB, free: 4.379 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.354/2.354, allocations: 390.2 MB / 0.6646 GB, free: 448 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001239/0.001239, allocations: 63.91 kB / 0.8125 GB, free: 14.46 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7149/0.7162, allocations: 140.4 MB / 0.9496 GB, free: 9.344 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Storage.Ice.BaseClasses.Examples.NormalizedHeatFlowRate): time 0.002791/0.719, allocations: 1.982 MB / 0.9515 GB, free: 7.777 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.001039/0.7201, allocations: 0.6827 MB / 0.9522 GB, free: 7.234 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.576e-05/0.7202, allocations: 3.094 kB / 0.9522 GB, free: 7.234 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0001282/0.7203, allocations: 21.23 kB / 0.9522 GB, free: 7.215 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 6.732e-05/0.7204, allocations: 22.5 kB / 0.9522 GB, free: 7.195 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002971/0.7207, allocations: 89.02 kB / 0.9523 GB, free: 7.129 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0001436/0.7208, allocations: 150 kB / 0.9525 GB, free: 7.039 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001422/0.721, allocations: 77.2 kB / 0.9525 GB, free: 6.996 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 8.609e-05/0.7211, allocations: 67.31 kB / 0.9526 GB, free: 6.949 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 8.984e-05/0.7212, allocations: 66.33 kB / 0.9527 GB, free: 6.898 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 2.931e-05/0.7212, allocations: 15.12 kB / 0.9527 GB, free: 6.898 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001269/0.7214, allocations: 67.7 kB / 0.9527 GB, free: 6.867 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 7.742e-05/0.7214, allocations: 69.91 kB / 0.9528 GB, free: 6.82 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 6.661e-05/0.7215, allocations: 97 kB / 0.9529 GB, free: 6.742 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0002217/0.7217, allocations: 256.6 kB / 0.9531 GB, free: 6.555 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 3.186e-06/0.7217, allocations: 0 / 0.9531 GB, free: 6.555 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.873e-06/0.7218, allocations: 0 / 0.9531 GB, free: 6.555 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 5.811e-06/0.7218, allocations: 1.25 kB / 0.9531 GB, free: 6.555 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.0006502/0.7224, allocations: 0.5335 MB / 0.9537 GB, free: 6.047 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.214e-05/0.7225, allocations: 13.06 kB / 0.9537 GB, free: 6.043 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00158/0.724, allocations: 422.4 kB / 0.9541 GB, free: 5.828 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002975/0.7244, allocations: 320.2 kB / 0.9544 GB, free: 5.523 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.592e-05/0.7244, allocations: 67.78 kB / 0.9545 GB, free: 5.453 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.04e-05/0.7245, allocations: 12.03 kB / 0.9545 GB, free: 5.449 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007568/0.7253, allocations: 388.1 kB / 0.9548 GB, free: 5.238 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.568e-06/0.7253, allocations: 1.469 kB / 0.9548 GB, free: 5.238 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.265e-05/0.7253, allocations: 4 kB / 0.9548 GB, free: 5.234 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.095e-06/0.7253, allocations: 7.969 kB / 0.9548 GB, free: 5.23 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001125/0.7264, allocations: 0.5371 MB / 0.9554 GB, free: 4.992 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001392/0.7278, allocations: 0.9986 MB / 0.9563 GB, free: 4.273 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006272/0.7285, allocations: 296.2 kB / 0.9566 GB, free: 4.125 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005672/0.7291, allocations: 269.3 kB / 0.9569 GB, free: 4.004 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 1.771e-05/0.7291, allocations: 5.25 kB / 0.9569 GB, free: 4 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.816e-05/0.7291, allocations: 35.72 kB / 0.9569 GB, free: 3.957 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=7): time 1.152e-06/0.7291, allocations: 0 / 0.9569 GB, free: 3.957 MB / 0.7169 GB Notification: Performance of matching and sorting (n=7): time 0.00176/0.7309, allocations: 0.7844 MB / 0.9577 GB, free: 3.582 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.174e-05/0.7309, allocations: 60.72 kB / 0.9578 GB, free: 3.512 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002556/0.7312, allocations: 295.3 kB / 0.958 GB, free: 3.32 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.884e-05/0.7312, allocations: 25.7 kB / 0.9581 GB, free: 3.289 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 6.529e-05/0.7313, allocations: 158.6 kB / 0.9582 GB, free: 3.145 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 3.017e-05/0.7313, allocations: 22.41 kB / 0.9582 GB, free: 3.125 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.644e-05/0.7314, allocations: 35.73 kB / 0.9583 GB, free: 3.094 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 5.009e-05/0.7314, allocations: 337.2 kB / 0.9586 GB, free: 2.762 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005596/0.732, allocations: 259.1 kB / 0.9588 GB, free: 2.648 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005652/0.7326, allocations: 255.5 kB / 0.9591 GB, free: 2.539 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000995/0.7336, allocations: 451 kB / 0.9595 GB, free: 2.328 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.843e-06/0.7336, allocations: 1.094 kB / 0.9595 GB, free: 2.328 MB / 0.7169 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.001136/0.7347, allocations: 0.5339 MB / 0.96 GB, free: 2.062 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 2.051e-05/0.7348, allocations: 5.188 kB / 0.96 GB, free: 2.062 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.051e-06/0.7348, allocations: 0 / 0.96 GB, free: 2.062 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.27e-05/0.7348, allocations: 5.188 kB / 0.96 GB, free: 2.059 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004041/0.7352, allocations: 96.36 kB / 0.9601 GB, free: 2.008 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.416e-06/0.7352, allocations: 1.484 kB / 0.9601 GB, free: 2.008 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003043/0.7356, allocations: 71.06 kB / 0.9602 GB, free: 1.973 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.364e-05/0.7356, allocations: 15.5 kB / 0.9602 GB, free: 1.961 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001097/0.7357, allocations: 137.1 kB / 0.9603 GB, free: 1.832 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.853e-05/0.7358, allocations: 21.03 kB / 0.9604 GB, free: 1.82 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.836e-05/0.7358, allocations: 26.08 kB / 0.9604 GB, free: 1.809 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.07e-06/0.7358, allocations: 5.047 kB / 0.9604 GB, free: 1.805 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.189e-06/0.7358, allocations: 0 / 0.9604 GB, free: 1.805 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.527e-06/0.7358, allocations: 5.094 kB / 0.9604 GB, free: 1.801 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004381/0.7363, allocations: 435.5 kB / 0.9608 GB, free: 1.457 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.283e-06/0.7363, allocations: 1.125 kB / 0.9608 GB, free: 1.457 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003744/0.7367, allocations: 92.92 kB / 0.9609 GB, free: 1.41 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.215e-06/0.7367, allocations: 4 kB / 0.9609 GB, free: 1.406 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.16e-05/0.7367, allocations: 11.06 kB / 0.9609 GB, free: 1.398 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.423e-06/0.7367, allocations: 0 / 0.9609 GB, free: 1.398 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.22e-07/0.7367, allocations: 1 kB / 0.9609 GB, free: 1.398 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001199/0.7379, allocations: 0.6354 MB / 0.9615 GB, free: 1.023 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 4.861e-05/0.738, allocations: 100.5 kB / 0.9616 GB, free: 0.9141 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.167e-05/0.738, allocations: 5.25 kB / 0.9616 GB, free: 0.9102 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000321/0.7384, allocations: 70.22 kB / 0.9617 GB, free: 0.875 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.405e-05/0.7384, allocations: 6.953 kB / 0.9617 GB, free: 0.8711 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.117e-05/0.7385, allocations: 12.39 kB / 0.9617 GB, free: 0.8633 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.0001874/0.7386, allocations: 218.8 kB / 0.9619 GB, free: 0.7188 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.5e-07/0.7386, allocations: 0 / 0.9619 GB, free: 0.7188 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0003104/0.739, allocations: 40.22 kB / 0.962 GB, free: 0.7109 MB / 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 (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.0001627/0.7391, allocations: 109.2 kB / 0.9621 GB, free: 0.6133 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.001245/0.7404, allocations: 0.5219 MB / 0.9626 GB, free: 392 kB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.154e-06/0.7404, allocations: 0 / 0.9626 GB, free: 392 kB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0005941/0.741, allocations: 284.9 kB / 0.9629 GB, free: 260 kB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002791/0.7413, allocations: 20.88 kB / 0.9629 GB, free: 244 kB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001169/0.7425, allocations: 0.5995 MB / 0.9635 GB, free: 15.87 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002937/0.7428, allocations: 0.7444 MB / 0.9642 GB, free: 15.14 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.0002008/0.743, allocations: 64.86 kB / 0.9643 GB, free: 15.11 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001004/0.7431, allocations: 30.14 kB / 0.9643 GB, free: 15.09 MB / 0.7325 GB Notification: Performance of SimCode: time 2.21e-07/0.7431, allocations: 0.9375 kB / 0.9643 GB, free: 15.09 MB / 0.7325 GB Notification: Performance of Templates: time 0.00645/0.7495, allocations: 2.832 MB / 0.967 GB, free: 13.68 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.NormalizedHeatFlowRate.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches