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.001524/0.001524, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.002295/0.002295, allocations: 193.7 kB / 16.14 MB, free: 6.711 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: 222.9 MB / 239.8 MB, free: 4.605 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.388/2.388, allocations: 390.2 MB / 0.6642 GB, free: 0.6055 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001176/0.001176, allocations: 59.89 kB / 0.8119 GB, free: 14.86 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7003/0.7015, allocations: 140.4 MB / 0.9489 GB, free: 9.082 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Storage.Ice.BaseClasses.Examples.NormalizedHeatFlowRate): time 0.002778/0.7044, allocations: 2.04 MB / 0.9509 GB, free: 7.477 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0009713/0.7053, allocations: 0.6788 MB / 0.9516 GB, free: 6.941 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001011/0.7055, allocations: 2.75 kB / 0.9516 GB, free: 6.941 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0001291/0.7056, allocations: 11.86 kB / 0.9516 GB, free: 6.93 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 7.58e-05/0.7057, allocations: 20 kB / 0.9516 GB, free: 6.914 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002504/0.7059, allocations: 69.8 kB / 0.9517 GB, free: 6.863 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0001491/0.7061, allocations: 137.4 kB / 0.9518 GB, free: 6.785 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001687/0.7063, allocations: 89.36 kB / 0.9519 GB, free: 6.727 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 9.952e-05/0.7064, allocations: 56.84 kB / 0.9519 GB, free: 6.691 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000103/0.7065, allocations: 68.11 kB / 0.952 GB, free: 6.641 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 2.909e-05/0.7065, allocations: 8.531 kB / 0.952 GB, free: 6.641 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001411/0.7067, allocations: 60.08 kB / 0.9521 GB, free: 6.609 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 8.757e-05/0.7068, allocations: 66.16 kB / 0.9521 GB, free: 6.566 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 6.826e-05/0.7068, allocations: 81.28 kB / 0.9522 GB, free: 6.504 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0002599/0.7071, allocations: 257.4 kB / 0.9525 GB, free: 6.312 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 5.781e-06/0.7071, allocations: 0.9375 kB / 0.9525 GB, free: 6.312 MB / 0.7169 GB Notification: Performance of FrontEnd: time 2.164e-06/0.7071, allocations: 0 / 0.9525 GB, free: 6.312 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 6.072e-06/0.7071, allocations: 3.938 kB / 0.9525 GB, free: 6.309 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.0007117/0.7079, allocations: 0.532 MB / 0.953 GB, free: 5.805 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.706e-05/0.7079, allocations: 13.81 kB / 0.953 GB, free: 5.801 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001657/0.7096, allocations: 425.4 kB / 0.9534 GB, free: 5.582 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003056/0.7099, allocations: 307.4 kB / 0.9537 GB, free: 5.293 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.743e-05/0.71, allocations: 69.94 kB / 0.9538 GB, free: 5.223 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.945e-05/0.71, allocations: 14.78 kB / 0.9538 GB, free: 5.215 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007776/0.7108, allocations: 389.4 kB / 0.9541 GB, free: 5.004 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.906e-06/0.7108, allocations: 0 / 0.9541 GB, free: 5.004 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.372e-05/0.7108, allocations: 4.969 kB / 0.9542 GB, free: 5 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.541e-06/0.7108, allocations: 2.906 kB / 0.9542 GB, free: 5 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001189/0.712, allocations: 0.535 MB / 0.9547 GB, free: 4.766 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001423/0.7135, allocations: 1.009 MB / 0.9557 GB, free: 4.035 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006153/0.7141, allocations: 293.8 kB / 0.9559 GB, free: 3.891 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005618/0.7147, allocations: 272.3 kB / 0.9562 GB, free: 3.766 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 1.778e-05/0.7147, allocations: 5.312 kB / 0.9562 GB, free: 3.762 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.365e-05/0.7147, allocations: 31.75 kB / 0.9562 GB, free: 3.723 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=7): time 1.533e-06/0.7147, allocations: 0 / 0.9562 GB, free: 3.723 MB / 0.7169 GB Notification: Performance of matching and sorting (n=7): time 0.001878/0.7166, allocations: 0.7883 MB / 0.957 GB, free: 3.344 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.738e-05/0.7166, allocations: 52.78 kB / 0.9571 GB, free: 3.281 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002763/0.7169, allocations: 299.2 kB / 0.9573 GB, free: 3.082 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 2.187e-05/0.717, allocations: 29.7 kB / 0.9574 GB, free: 3.047 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 6.975e-05/0.717, allocations: 153.4 kB / 0.9575 GB, free: 2.906 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 3.268e-05/0.7171, allocations: 23.06 kB / 0.9575 GB, free: 2.887 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.352e-05/0.7172, allocations: 40.42 kB / 0.9576 GB, free: 2.852 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 6.512e-05/0.7172, allocations: 337.3 kB / 0.9579 GB, free: 2.52 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006138/0.7179, allocations: 259 kB / 0.9581 GB, free: 2.406 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005786/0.7184, allocations: 259.7 kB / 0.9584 GB, free: 2.293 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001056/0.7195, allocations: 439.5 kB / 0.9588 GB, free: 2.094 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.687e-06/0.7195, allocations: 0 / 0.9588 GB, free: 2.094 MB / 0.7169 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.001207/0.7207, allocations: 0.5377 MB / 0.9593 GB, free: 1.824 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.816e-05/0.7208, allocations: 4.969 kB / 0.9593 GB, free: 1.824 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.35e-06/0.7208, allocations: 1.5 kB / 0.9593 GB, free: 1.824 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.514e-05/0.7208, allocations: 0 / 0.9593 GB, free: 1.824 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004055/0.7212, allocations: 93.55 kB / 0.9594 GB, free: 1.777 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.44e-06/0.7212, allocations: 0 / 0.9594 GB, free: 1.777 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003186/0.7215, allocations: 79.3 kB / 0.9595 GB, free: 1.734 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.451e-05/0.7216, allocations: 8.047 kB / 0.9595 GB, free: 1.73 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.0001161/0.7217, allocations: 141 kB / 0.9597 GB, free: 1.598 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.722e-05/0.7218, allocations: 20.78 kB / 0.9597 GB, free: 1.586 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.857e-05/0.7218, allocations: 26.45 kB / 0.9597 GB, free: 1.574 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.555e-06/0.7218, allocations: 3.938 kB / 0.9597 GB, free: 1.57 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.02e-06/0.7218, allocations: 5.156 kB / 0.9597 GB, free: 1.566 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.926e-06/0.7218, allocations: 0 / 0.9597 GB, free: 1.566 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004006/0.7222, allocations: 436.2 kB / 0.9601 GB, free: 1.223 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.593e-06/0.7222, allocations: 5.438 kB / 0.9601 GB, free: 1.219 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003684/0.7226, allocations: 96.55 kB / 0.9602 GB, free: 1.168 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.963e-06/0.7226, allocations: 0 / 0.9602 GB, free: 1.168 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.43e-05/0.7227, allocations: 10.39 kB / 0.9602 GB, free: 1.16 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.893e-06/0.7227, allocations: 1.219 kB / 0.9602 GB, free: 1.16 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.283e-06/0.7227, allocations: 0 / 0.9602 GB, free: 1.16 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001229/0.7239, allocations: 0.6241 MB / 0.9608 GB, free: 0.7969 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 4.469e-05/0.724, allocations: 104.5 kB / 0.9609 GB, free: 0.6836 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.839e-05/0.724, allocations: 1.344 kB / 0.9609 GB, free: 0.6836 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000338/0.7243, allocations: 73.98 kB / 0.961 GB, free: 0.6445 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.611e-05/0.7244, allocations: 11.22 kB / 0.961 GB, free: 0.6367 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.308e-05/0.7244, allocations: 11.75 kB / 0.961 GB, free: 0.6289 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.0001941/0.7246, allocations: 214.4 kB / 0.9612 GB, free: 0.4922 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.3e-07/0.7246, allocations: 3.938 kB / 0.9612 GB, free: 500 kB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0003077/0.7249, allocations: 41.59 kB / 0.9613 GB, free: 492 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 (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.0001428/0.7251, allocations: 116.7 kB / 0.9614 GB, free: 384 kB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.001271/0.7264, allocations: 0.5141 MB / 0.9619 GB, free: 156 kB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.355e-06/0.7264, allocations: 4 kB / 0.9619 GB, free: 152 kB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0006408/0.727, allocations: 276.8 kB / 0.9622 GB, free: 28 kB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003259/0.7274, allocations: 21.81 kB / 0.9622 GB, free: 12 kB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001367/0.7288, allocations: 0.654 MB / 0.9628 GB, free: 15.59 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003485/0.7291, allocations: 0.744 MB / 0.9635 GB, free: 14.86 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.0002315/0.7294, allocations: 60.91 kB / 0.9636 GB, free: 14.83 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001094/0.7295, allocations: 25.78 kB / 0.9636 GB, free: 14.82 MB / 0.7325 GB Notification: Performance of SimCode: time 4.2e-07/0.7295, allocations: 1.062 kB / 0.9636 GB, free: 14.82 MB / 0.7325 GB Notification: Performance of Templates: time 0.005805/0.7353, allocations: 2.681 MB / 0.9663 GB, free: 13.48 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