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.001011/0.001011, allocations: 91.84 kB / 15.06 MB, free: 1.098 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.001238/0.001238, allocations: 172.7 kB / 15.95 MB, free: 208 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.447/1.447, allocations: 223.3 MB / 240 MB, free: 5.211 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.38/2.38, allocations: 390.9 MB / 0.666 GB, free: 2.453 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0004047/0.0004051, allocations: 11.98 kB / 0.8154 GB, free: 13.63 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7088/0.7092, allocations: 142.4 MB / 0.9544 GB, free: 7.684 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Storage.Ice.BaseClasses.Examples.NormalizedHeatFlowRate): time 0.002179/0.7114, allocations: 1.641 MB / 0.9561 GB, free: 6.387 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.001051/0.7125, allocations: 0.6415 MB / 0.9567 GB, free: 5.879 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001098/0.7126, allocations: 2.594 kB / 0.9567 GB, free: 5.879 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0001213/0.7128, allocations: 17.27 kB / 0.9567 GB, free: 5.863 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 7.129e-05/0.7128, allocations: 14.61 kB / 0.9567 GB, free: 5.852 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002885/0.7131, allocations: 62.67 kB / 0.9568 GB, free: 5.809 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0001736/0.7133, allocations: 138 kB / 0.9569 GB, free: 5.723 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001579/0.7135, allocations: 57.2 kB / 0.957 GB, free: 5.691 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 9.905e-05/0.7136, allocations: 50.38 kB / 0.957 GB, free: 5.66 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001127/0.7137, allocations: 47.34 kB / 0.957 GB, free: 5.629 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 2.324e-05/0.7138, allocations: 9.719 kB / 0.9571 GB, free: 5.625 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001332/0.7139, allocations: 41.98 kB / 0.9571 GB, free: 5.605 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 8.016e-05/0.714, allocations: 62.73 kB / 0.9572 GB, free: 5.566 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 3.715e-05/0.714, allocations: 54.42 kB / 0.9572 GB, free: 5.516 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0001701/0.7142, allocations: 189 kB / 0.9574 GB, free: 5.383 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 4.178e-06/0.7142, allocations: 0 / 0.9574 GB, free: 5.383 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.874e-06/0.7142, allocations: 1.469 kB / 0.9574 GB, free: 5.383 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 4.709e-06/0.7142, allocations: 0 / 0.9574 GB, free: 5.383 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.0006083/0.7148, allocations: 0.5092 MB / 0.9579 GB, free: 4.895 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.33e-05/0.7149, allocations: 13.06 kB / 0.9579 GB, free: 4.891 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001443/0.7163, allocations: 437.3 kB / 0.9583 GB, free: 4.668 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003345/0.7167, allocations: 309.7 kB / 0.9586 GB, free: 4.371 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.34e-05/0.7168, allocations: 68.25 kB / 0.9587 GB, free: 4.301 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.101e-05/0.7168, allocations: 11.81 kB / 0.9587 GB, free: 4.297 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007771/0.7176, allocations: 387.1 kB / 0.9591 GB, free: 4.09 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.628e-06/0.7176, allocations: 1.094 kB / 0.9591 GB, free: 4.09 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.533e-05/0.7176, allocations: 9.312 kB / 0.9591 GB, free: 4.082 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.874e-06/0.7176, allocations: 6.734 kB / 0.9591 GB, free: 4.078 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001139/0.7188, allocations: 0.5474 MB / 0.9596 GB, free: 3.84 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001462/0.7203, allocations: 0.9946 MB / 0.9606 GB, free: 3.133 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006111/0.7209, allocations: 301.7 kB / 0.9609 GB, free: 2.984 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000541/0.7214, allocations: 278.3 kB / 0.9611 GB, free: 2.859 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 2.149e-05/0.7215, allocations: 1.25 kB / 0.9611 GB, free: 2.859 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.41e-05/0.7215, allocations: 39.88 kB / 0.9612 GB, free: 2.812 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=7): time 1.573e-06/0.7215, allocations: 0 / 0.9612 GB, free: 2.812 MB / 0.7169 GB Notification: Performance of matching and sorting (n=7): time 0.001699/0.7232, allocations: 0.8061 MB / 0.962 GB, free: 2.43 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.321e-05/0.7232, allocations: 52.41 kB / 0.962 GB, free: 2.367 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002762/0.7235, allocations: 293.9 kB / 0.9623 GB, free: 2.168 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.747e-05/0.7236, allocations: 30.92 kB / 0.9623 GB, free: 2.133 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 6.821e-05/0.7236, allocations: 156.8 kB / 0.9625 GB, free: 1.988 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 3.065e-05/0.7237, allocations: 18.25 kB / 0.9625 GB, free: 1.973 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.51e-05/0.7237, allocations: 5.312 kB / 0.9625 GB, free: 1.969 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 5.356e-05/0.7237, allocations: 332.8 kB / 0.9628 GB, free: 1.641 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004849/0.7242, allocations: 260.6 kB / 0.9631 GB, free: 1.531 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004972/0.7247, allocations: 264 kB / 0.9633 GB, free: 1.418 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004671/0.7252, allocations: 219.7 kB / 0.9635 GB, free: 1.324 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.874e-06/0.7252, allocations: 0 / 0.9635 GB, free: 1.324 MB / 0.7169 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.001084/0.7263, allocations: 0.5524 MB / 0.9641 GB, free: 1.051 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.543e-05/0.7263, allocations: 5.219 kB / 0.9641 GB, free: 1.051 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.979e-06/0.7263, allocations: 7.953 kB / 0.9641 GB, free: 1.043 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.17e-05/0.7264, allocations: 1 kB / 0.9641 GB, free: 1.043 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003805/0.7268, allocations: 94.8 kB / 0.9642 GB, free: 0.9961 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.552e-06/0.7268, allocations: 5.031 kB / 0.9642 GB, free: 0.9922 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002714/0.727, allocations: 74.62 kB / 0.9642 GB, free: 0.957 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.347e-05/0.7271, allocations: 11.91 kB / 0.9643 GB, free: 0.9492 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.0001119/0.7272, allocations: 141 kB / 0.9644 GB, free: 0.8164 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.913e-05/0.7272, allocations: 20.72 kB / 0.9644 GB, free: 0.8047 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.827e-05/0.7273, allocations: 25.83 kB / 0.9644 GB, free: 0.793 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.467e-06/0.7273, allocations: 4.922 kB / 0.9644 GB, free: 0.7891 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.629e-06/0.7273, allocations: 5.047 kB / 0.9644 GB, free: 0.7852 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.535e-06/0.7273, allocations: 0 / 0.9644 GB, free: 0.7852 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003989/0.7277, allocations: 428.9 kB / 0.9648 GB, free: 460 kB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.162e-06/0.7277, allocations: 3.938 kB / 0.9649 GB, free: 456 kB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003362/0.7281, allocations: 98.98 kB / 0.9649 GB, free: 404 kB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.245e-06/0.7281, allocations: 0.7812 kB / 0.9649 GB, free: 404 kB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.305e-05/0.7281, allocations: 15.28 kB / 0.965 GB, free: 392 kB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.944e-06/0.7281, allocations: 3.953 kB / 0.965 GB, free: 388 kB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.794e-06/0.7281, allocations: 0.9688 kB / 0.965 GB, free: 388 kB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001121/0.7293, allocations: 0.6374 MB / 0.9656 GB, free: 12 kB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 8.63e-05/0.7293, allocations: 104.8 kB / 0.9657 GB, free: 15.9 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.713e-05/0.7294, allocations: 1.156 kB / 0.9657 GB, free: 15.9 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003225/0.7297, allocations: 73.66 kB / 0.9658 GB, free: 15.86 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.249e-05/0.7298, allocations: 15.94 kB / 0.9658 GB, free: 15.85 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.2e-05/0.7298, allocations: 7.328 kB / 0.9658 GB, free: 15.85 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.0002122/0.73, allocations: 216.6 kB / 0.966 GB, free: 15.71 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.1e-07/0.73, allocations: 0 / 0.966 GB, free: 15.71 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0003056/0.7303, allocations: 36.78 kB / 0.966 GB, free: 15.71 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 (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.0001978/0.7306, allocations: 116.8 kB / 0.9661 GB, free: 15.6 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.001207/0.7318, allocations: 0.5356 MB / 0.9667 GB, free: 15.37 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 1.964e-06/0.7318, allocations: 0 / 0.9667 GB, free: 15.37 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0006011/0.7324, allocations: 289.4 kB / 0.9669 GB, free: 15.24 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003006/0.7327, allocations: 13.75 kB / 0.9669 GB, free: 15.23 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001168/0.7339, allocations: 0.652 MB / 0.9676 GB, free: 14.81 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003047/0.7342, allocations: 0.7523 MB / 0.9683 GB, free: 14.08 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.0002318/0.7344, allocations: 51.95 kB / 0.9684 GB, free: 14.05 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000104/0.7345, allocations: 30.92 kB / 0.9684 GB, free: 14.04 MB / 0.7325 GB Notification: Performance of SimCode: time 2.4e-07/0.7346, allocations: 4 kB / 0.9684 GB, free: 14.04 MB / 0.7325 GB Notification: Performance of Templates: time 0.005764/0.7403, allocations: 2.606 MB / 0.9709 GB, free: 12.72 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