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.001118/0.001117, allocations: 99.34 kB / 16.02 MB, free: 76 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.001692/0.001692, allocations: 183.9 kB / 16.92 MB, free: 6.703 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.413/1.413, allocations: 223.3 MB / 241 MB, free: 5.344 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.483/2.483, allocations: 390.9 MB / 0.667 GB, free: 2.406 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003963/0.0003964, allocations: 8 kB / 0.8166 GB, free: 13.27 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8126/0.813, allocations: 142.4 MB / 0.9557 GB, free: 7.828 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Storage.Ice.BaseClasses.Examples.NormalizedHeatFlowRate): time 0.002382/0.8154, allocations: 1.678 MB / 0.9574 GB, free: 6.5 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.001182/0.8166, allocations: 0.6694 MB / 0.958 GB, free: 5.973 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001063/0.8167, allocations: 6.438 kB / 0.958 GB, free: 5.969 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.000127/0.8169, allocations: 12.95 kB / 0.958 GB, free: 5.957 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 9.102e-05/0.817, allocations: 15.42 kB / 0.958 GB, free: 5.945 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003159/0.8173, allocations: 69.56 kB / 0.9581 GB, free: 5.895 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0001809/0.8175, allocations: 137 kB / 0.9582 GB, free: 5.816 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001949/0.8177, allocations: 86.83 kB / 0.9583 GB, free: 5.762 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 9.922e-05/0.8178, allocations: 44.05 kB / 0.9584 GB, free: 5.734 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001108/0.8179, allocations: 55.95 kB / 0.9584 GB, free: 5.695 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 2.188e-05/0.818, allocations: 3.562 kB / 0.9584 GB, free: 5.695 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001404/0.8181, allocations: 51.27 kB / 0.9585 GB, free: 5.668 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 8.698e-05/0.8182, allocations: 62.81 kB / 0.9585 GB, free: 5.629 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 8.24e-05/0.8183, allocations: 99.61 kB / 0.9586 GB, free: 5.539 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0002523/0.8185, allocations: 189.8 kB / 0.9588 GB, free: 5.406 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 4.789e-06/0.8186, allocations: 0 / 0.9588 GB, free: 5.406 MB / 0.7169 GB Notification: Performance of FrontEnd: time 2.515e-06/0.8186, allocations: 3.938 kB / 0.9588 GB, free: 5.402 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 5.38e-06/0.8186, allocations: 1.375 kB / 0.9588 GB, free: 5.402 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.0007491/0.8193, allocations: 0.5039 MB / 0.9593 GB, free: 4.918 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.352e-05/0.8194, allocations: 9.781 kB / 0.9593 GB, free: 4.918 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001676/0.8211, allocations: 432.9 kB / 0.9597 GB, free: 4.699 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004293/0.8215, allocations: 314 kB / 0.96 GB, free: 4.406 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001034/0.8216, allocations: 67.38 kB / 0.9601 GB, free: 4.336 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.551e-05/0.8217, allocations: 12.12 kB / 0.9601 GB, free: 4.332 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009202/0.8226, allocations: 393.9 kB / 0.9605 GB, free: 4.121 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.151e-05/0.8226, allocations: 3.938 kB / 0.9605 GB, free: 4.117 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.914e-05/0.8227, allocations: 5.375 kB / 0.9605 GB, free: 4.113 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.838e-06/0.8227, allocations: 6.75 kB / 0.9605 GB, free: 4.109 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001413/0.8241, allocations: 0.548 MB / 0.961 GB, free: 3.871 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002248/0.8264, allocations: 1.015 MB / 0.962 GB, free: 3.141 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006926/0.8271, allocations: 297.8 kB / 0.9623 GB, free: 2.996 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006067/0.8277, allocations: 274.3 kB / 0.9626 GB, free: 2.875 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 2.473e-05/0.8277, allocations: 5.125 kB / 0.9626 GB, free: 2.871 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.465e-05/0.8278, allocations: 32.06 kB / 0.9626 GB, free: 2.832 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=7): time 2.816e-06/0.8278, allocations: 0 / 0.9626 GB, free: 2.832 MB / 0.7169 GB Notification: Performance of matching and sorting (n=7): time 0.002146/0.8299, allocations: 0.8112 MB / 0.9634 GB, free: 2.445 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.677e-05/0.83, allocations: 57.81 kB / 0.9634 GB, free: 2.379 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003253/0.8303, allocations: 290 kB / 0.9637 GB, free: 2.188 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 3.161e-05/0.8303, allocations: 30.67 kB / 0.9638 GB, free: 2.152 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001113/0.8305, allocations: 157.4 kB / 0.9639 GB, free: 2.008 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 3.815e-05/0.8305, allocations: 21.78 kB / 0.9639 GB, free: 1.988 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.04e-05/0.8306, allocations: 13.78 kB / 0.9639 GB, free: 1.973 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 0.0001101/0.8307, allocations: 340.7 kB / 0.9643 GB, free: 1.637 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006619/0.8313, allocations: 259.8 kB / 0.9645 GB, free: 1.527 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006231/0.832, allocations: 272.8 kB / 0.9648 GB, free: 1.406 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001147/0.8331, allocations: 453.9 kB / 0.9652 GB, free: 1.203 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.226e-06/0.8331, allocations: 1 kB / 0.9652 GB, free: 1.203 MB / 0.7169 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.001314/0.8345, allocations: 0.54 MB / 0.9657 GB, free: 0.9414 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 2.487e-05/0.8345, allocations: 7 kB / 0.9657 GB, free: 0.9414 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.712e-06/0.8345, allocations: 0.8125 kB / 0.9657 GB, free: 0.9414 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.831e-05/0.8345, allocations: 0.9062 kB / 0.9657 GB, free: 0.9414 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004015/0.8349, allocations: 99.33 kB / 0.9658 GB, free: 0.8906 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.573e-06/0.835, allocations: 0.5469 kB / 0.9658 GB, free: 0.8906 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003114/0.8353, allocations: 83.48 kB / 0.9659 GB, free: 0.8477 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.545e-05/0.8353, allocations: 7.047 kB / 0.9659 GB, free: 0.8438 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.0001465/0.8355, allocations: 146.1 kB / 0.9661 GB, free: 0.707 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.715e-05/0.8355, allocations: 16.38 kB / 0.9661 GB, free: 0.6992 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.875e-05/0.8356, allocations: 25.61 kB / 0.9661 GB, free: 0.6875 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.216e-06/0.8356, allocations: 0.9688 kB / 0.9661 GB, free: 0.6875 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.082e-06/0.8356, allocations: 1.031 kB / 0.9661 GB, free: 0.6875 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.855e-06/0.8356, allocations: 0 / 0.9661 GB, free: 0.6875 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005089/0.8361, allocations: 441 kB / 0.9665 GB, free: 348 kB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.223e-06/0.8361, allocations: 4 kB / 0.9665 GB, free: 344 kB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003688/0.8365, allocations: 94.86 kB / 0.9666 GB, free: 296 kB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.046e-06/0.8365, allocations: 1.031 kB / 0.9666 GB, free: 296 kB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.205e-05/0.8365, allocations: 10.33 kB / 0.9666 GB, free: 288 kB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.833e-06/0.8366, allocations: 4.969 kB / 0.9666 GB, free: 284 kB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.643e-06/0.8366, allocations: 3.938 kB / 0.9666 GB, free: 280 kB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001345/0.8379, allocations: 0.642 MB / 0.9673 GB, free: 15.9 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 8.281e-05/0.838, allocations: 100.2 kB / 0.9674 GB, free: 15.79 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.587e-05/0.838, allocations: 1.062 kB / 0.9674 GB, free: 15.79 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003487/0.8384, allocations: 78.23 kB / 0.9674 GB, free: 15.75 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.226e-05/0.8385, allocations: 11.39 kB / 0.9674 GB, free: 15.75 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.301e-05/0.8385, allocations: 7.578 kB / 0.9674 GB, free: 15.74 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.000243/0.8388, allocations: 219 kB / 0.9677 GB, free: 15.6 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.11e-07/0.8388, allocations: 0 / 0.9677 GB, free: 15.6 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.000328/0.8391, allocations: 37.38 kB / 0.9677 GB, free: 15.6 MB / 0.7325 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.0002138/0.8393, allocations: 115.9 kB / 0.9678 GB, free: 15.49 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.001342/0.8407, allocations: 0.5366 MB / 0.9683 GB, free: 15.26 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 4.568e-06/0.8407, allocations: 4 kB / 0.9683 GB, free: 15.25 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0006363/0.8413, allocations: 281.1 kB / 0.9686 GB, free: 15.13 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003349/0.8417, allocations: 19.38 kB / 0.9686 GB, free: 15.12 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001377/0.8431, allocations: 0.6999 MB / 0.9693 GB, free: 14.65 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003324/0.8434, allocations: 0.744 MB / 0.97 GB, free: 13.93 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001465/0.8436, allocations: 37.66 kB / 0.9701 GB, free: 13.9 MB / 0.7325 GB Notification: Performance of SimCode: time 5.61e-07/0.8436, allocations: 0 / 0.9701 GB, free: 13.9 MB / 0.7325 GB Notification: Performance of Templates: time 0.006933/0.8505, allocations: 3.636 MB / 0.9736 GB, free: 12.02 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/jenkins1/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