Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/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_latest_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_latest_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.001643/0.001643, allocations: 104.9 kB / 16.27 MB, free: 5.949 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.00192/0.00192, allocations: 189.7 kB / 17.2 MB, free: 5.586 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.292/1.292, allocations: 222.9 MB / 240.9 MB, free: 15.21 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.479/2.479, allocations: 469.4 MB / 0.7427 GB, free: 3.68 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001431/0.001431, allocations: 64.72 kB / 0.9088 GB, free: 14.14 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3139/0.3154, allocations: 159.1 MB / 1.064 GB, free: 15.04 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Storage.Ice.BaseClasses.Examples.NormalizedHeatFlowRate): time 0.00346/0.3189, allocations: 1.974 MB / 1.066 GB, free: 13.04 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.001308/0.3202, allocations: 0.6819 MB / 1.067 GB, free: 12.35 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001263/0.3204, allocations: 11.88 kB / 1.067 GB, free: 12.34 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 0.0001298/0.3205, allocations: 19.8 kB / 1.067 GB, free: 12.32 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 9.404e-05/0.3206, allocations: 23.73 kB / 1.067 GB, free: 12.3 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003577/0.321, allocations: 87.84 kB / 1.067 GB, free: 12.21 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 0.0001983/0.3212, allocations: 155.5 kB / 1.067 GB, free: 12.06 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001962/0.3214, allocations: 80.61 kB / 1.067 GB, free: 11.98 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001192/0.3216, allocations: 59.77 kB / 1.067 GB, free: 11.92 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001175/0.3217, allocations: 75.56 kB / 1.067 GB, free: 11.84 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 3.265e-05/0.3217, allocations: 12 kB / 1.067 GB, free: 11.83 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001758/0.3219, allocations: 59.95 kB / 1.067 GB, free: 11.77 MB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 0.0001017/0.322, allocations: 67.81 kB / 1.067 GB, free: 11.71 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 8.786e-05/0.3221, allocations: 99.33 kB / 1.068 GB, free: 11.61 MB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 0.0003071/0.3224, allocations: 255.4 kB / 1.068 GB, free: 11.36 MB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 3.176e-06/0.3224, allocations: 0 / 1.068 GB, free: 11.36 MB / 0.8419 GB Notification: Performance of FrontEnd: time 9.22e-07/0.3224, allocations: 4 kB / 1.068 GB, free: 11.36 MB / 0.8419 GB Notification: Performance of Transformations before backend: time 9.037e-06/0.3225, allocations: 0 / 1.068 GB, free: 11.36 MB / 0.8419 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.000789/0.3232, allocations: 0.5296 MB / 1.068 GB, free: 10.78 MB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 3.779e-05/0.3233, allocations: 12.62 kB / 1.068 GB, free: 10.77 MB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001716/0.325, allocations: 427.9 kB / 1.069 GB, free: 10.35 MB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000391/0.3254, allocations: 303.8 kB / 1.069 GB, free: 10.01 MB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.258e-05/0.3255, allocations: 72.19 kB / 1.069 GB, free: 9.93 MB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.653e-05/0.3256, allocations: 12.31 kB / 1.069 GB, free: 9.918 MB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008421/0.3264, allocations: 391.3 kB / 1.069 GB, free: 9.531 MB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.527e-06/0.3264, allocations: 0 / 1.069 GB, free: 9.531 MB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.929e-05/0.3265, allocations: 8 kB / 1.069 GB, free: 9.523 MB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.546e-06/0.3265, allocations: 3.984 kB / 1.069 GB, free: 9.52 MB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001203/0.3277, allocations: 0.5392 MB / 1.07 GB, free: 8.98 MB / 0.8419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001628/0.3293, allocations: 1.002 MB / 1.071 GB, free: 7.93 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006974/0.33, allocations: 290.3 kB / 1.071 GB, free: 7.637 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005888/0.3306, allocations: 276.6 kB / 1.072 GB, free: 7.363 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 2.149e-05/0.3307, allocations: 0 / 1.072 GB, free: 7.363 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.458e-05/0.3307, allocations: 38.5 kB / 1.072 GB, free: 7.316 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=7): time 1.052e-06/0.3307, allocations: 0 / 1.072 GB, free: 7.316 MB / 0.8419 GB Notification: Performance of matching and sorting (n=7): time 0.001884/0.3326, allocations: 0.7898 MB / 1.072 GB, free: 6.52 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.299e-05/0.3327, allocations: 51.41 kB / 1.072 GB, free: 6.457 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000301/0.333, allocations: 302.7 kB / 1.073 GB, free: 6.156 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 2.66e-05/0.333, allocations: 25.7 kB / 1.073 GB, free: 6.125 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 9.444e-05/0.3331, allocations: 148.2 kB / 1.073 GB, free: 5.977 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 3.724e-05/0.3331, allocations: 23.66 kB / 1.073 GB, free: 5.953 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.699e-05/0.3332, allocations: 37.67 kB / 1.073 GB, free: 5.91 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 0.0001132/0.3334, allocations: 338.8 kB / 1.073 GB, free: 5.57 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000603/0.334, allocations: 255.8 kB / 1.073 GB, free: 5.32 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005712/0.3345, allocations: 267.7 kB / 1.074 GB, free: 5.059 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00106/0.3356, allocations: 444.9 kB / 1.074 GB, free: 4.621 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.415e-06/0.3356, allocations: 0 / 1.074 GB, free: 4.621 MB / 0.8419 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.001234/0.3369, allocations: 0.5321 MB / 1.075 GB, free: 4.082 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 1.673e-05/0.3369, allocations: 8 kB / 1.075 GB, free: 4.074 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.28e-06/0.3369, allocations: 0 / 1.075 GB, free: 4.074 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.496e-05/0.3369, allocations: 0 / 1.075 GB, free: 4.074 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004055/0.3373, allocations: 95.83 kB / 1.075 GB, free: 3.98 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.293e-06/0.3374, allocations: 0 / 1.075 GB, free: 3.98 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003197/0.3377, allocations: 71.86 kB / 1.075 GB, free: 3.91 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.488e-05/0.3377, allocations: 7.984 kB / 1.075 GB, free: 3.902 MB / 0.8419 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.0001579/0.3379, allocations: 145.8 kB / 1.075 GB, free: 3.75 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.662e-05/0.338, allocations: 19.72 kB / 1.075 GB, free: 3.73 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.291e-05/0.338, allocations: 25.7 kB / 1.075 GB, free: 3.707 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.838e-06/0.338, allocations: 0 / 1.075 GB, free: 3.707 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.989e-06/0.338, allocations: 7.938 kB / 1.075 GB, free: 3.699 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.715e-06/0.338, allocations: 0 / 1.075 GB, free: 3.699 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004504/0.3385, allocations: 448.2 kB / 1.075 GB, free: 3.207 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.304e-06/0.3385, allocations: 0 / 1.075 GB, free: 3.207 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003671/0.3389, allocations: 91.83 kB / 1.076 GB, free: 3.117 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.035e-06/0.3389, allocations: 0 / 1.076 GB, free: 3.117 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.289e-05/0.3389, allocations: 11.98 kB / 1.076 GB, free: 3.105 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.897e-06/0.3389, allocations: 0 / 1.076 GB, free: 3.105 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.443e-06/0.3389, allocations: 3.938 kB / 1.076 GB, free: 3.102 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001308/0.3402, allocations: 0.6276 MB / 1.076 GB, free: 2.457 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 7.542e-05/0.3403, allocations: 104.8 kB / 1.076 GB, free: 2.336 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.281e-05/0.3404, allocations: 3.984 kB / 1.076 GB, free: 2.332 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003447/0.3407, allocations: 71.86 kB / 1.076 GB, free: 2.262 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.419e-05/0.3408, allocations: 11.94 kB / 1.076 GB, free: 2.25 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.429e-05/0.3408, allocations: 19.97 kB / 1.076 GB, free: 2.23 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 0.0002186/0.341, allocations: 213.9 kB / 1.077 GB, free: 2.023 MB / 0.8419 GB Notification: Performance of sort global known variables: time 2.51e-07/0.341, allocations: 0 / 1.077 GB, free: 2.023 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.0003145/0.3414, allocations: 39.94 kB / 1.077 GB, free: 1.984 MB / 0.8419 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.0001777/0.3415, allocations: 103.8 kB / 1.077 GB, free: 1.875 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.001293/0.3429, allocations: 0.5268 MB / 1.077 GB, free: 1.348 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 2.234e-06/0.3429, allocations: 0 / 1.077 GB, free: 1.348 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 0.0006914/0.3436, allocations: 279.7 kB / 1.077 GB, free: 1.074 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002994/0.3439, allocations: 21.81 kB / 1.078 GB, free: 1.055 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00124/0.3451, allocations: 0.624 MB / 1.078 GB, free: 396 kB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.4573/0.8025, allocations: 0.7425 MB / 1.079 GB, free: 22.62 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002012/0.8027, allocations: 38.66 kB / 1.079 GB, free: 22.62 MB / 0.8419 GB Notification: Performance of SimCode: time 1.162e-06/0.8027, allocations: 3.844 kB / 1.079 GB, free: 22.62 MB / 0.8419 GB Notification: Performance of Templates: time 0.008046/0.8108, allocations: 3.66 MB / 1.082 GB, free: 22.41 MB / 0.8419 GB make -j1 -f Buildings_latest_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.NormalizedHeatFlowRate.makefile (rm -f Buildings_latest_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.NormalizedHeatFlowRate.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.NormalizedHeatFlowRate.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.NormalizedHeatFlowRate.pipe >> ../files/Buildings_latest_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.NormalizedHeatFlowRate.sim & ./Buildings_latest_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.NormalizedHeatFlowRate -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.NormalizedHeatFlowRate.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.NormalizedHeatFlowRate_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_Storage_Ice_BaseClasses_Examples_NormalizedHeatFlowRate.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.NormalizedHeatFlowRate.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches