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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-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.001284/0.001284, 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.001259/0.001259, allocations: 196.5 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.397/1.397, 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 12.0.0-master/package.mo): time 2.81/2.81, allocations: 472.6 MB / 0.7451 GB, free: 4.68 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001268/0.001268, allocations: 59.81 kB / 0.912 GB, free: 33.39 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2978/0.2991, allocations: 159.9 MB / 1.068 GB, free: 10.48 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Storage.Ice.BaseClasses.Examples.NormalizedHeatFlowRate): time 0.004618/0.3037, allocations: 1.978 MB / 1.07 GB, free: 8.484 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.001486/0.3053, allocations: 0.6896 MB / 1.071 GB, free: 7.789 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001887/0.3055, allocations: 4 kB / 1.071 GB, free: 7.785 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.00017/0.3056, allocations: 19.78 kB / 1.071 GB, free: 7.766 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.0001436/0.3058, allocations: 23.73 kB / 1.071 GB, free: 7.742 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004404/0.3063, allocations: 87.78 kB / 1.071 GB, free: 7.656 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0002321/0.3065, allocations: 151.6 kB / 1.071 GB, free: 7.508 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001896/0.3067, allocations: 80.61 kB / 1.071 GB, free: 7.426 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001381/0.3069, allocations: 67.7 kB / 1.071 GB, free: 7.359 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001383/0.307, allocations: 71.62 kB / 1.071 GB, free: 7.289 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 3.336e-05/0.3071, allocations: 12 kB / 1.071 GB, free: 7.277 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001773/0.3072, allocations: 59.95 kB / 1.071 GB, free: 7.219 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 0.0001241/0.3074, allocations: 67.81 kB / 1.071 GB, free: 7.152 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 0.0001172/0.3075, allocations: 99.28 kB / 1.072 GB, free: 7.055 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0003938/0.3079, allocations: 259.4 kB / 1.072 GB, free: 6.801 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 3.667e-06/0.3079, allocations: 0 / 1.072 GB, free: 6.801 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.463e-06/0.3079, allocations: 0 / 1.072 GB, free: 6.801 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 1.422e-05/0.3079, allocations: 0 / 1.072 GB, free: 6.801 MB / 0.8262 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.001031/0.309, allocations: 0.5336 MB / 1.072 GB, free: 6.219 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 4.688e-05/0.309, allocations: 12.03 kB / 1.072 GB, free: 6.207 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001748/0.3108, allocations: 419.8 kB / 1.073 GB, free: 5.797 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004562/0.3113, allocations: 315.7 kB / 1.073 GB, free: 5.449 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001097/0.3114, allocations: 76.17 kB / 1.073 GB, free: 5.363 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.54e-05/0.3114, allocations: 12.38 kB / 1.073 GB, free: 5.352 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008638/0.3123, allocations: 380.5 kB / 1.073 GB, free: 4.977 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.267e-06/0.3123, allocations: 0 / 1.073 GB, free: 4.977 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.072e-05/0.3124, allocations: 11.98 kB / 1.073 GB, free: 4.965 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.47e-06/0.3124, allocations: 0 / 1.073 GB, free: 4.965 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001263/0.3136, allocations: 0.5392 MB / 1.074 GB, free: 4.426 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001793/0.3154, allocations: 1.005 MB / 1.075 GB, free: 3.367 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006637/0.3161, allocations: 294.3 kB / 1.075 GB, free: 3.07 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006072/0.3167, allocations: 272.6 kB / 1.075 GB, free: 2.801 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 2.521e-05/0.3168, allocations: 4.141 kB / 1.075 GB, free: 2.797 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.105e-05/0.3168, allocations: 42.44 kB / 1.076 GB, free: 2.746 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=7): time 1.493e-06/0.3168, allocations: 0 / 1.076 GB, free: 2.746 MB / 0.8262 GB Notification: Performance of matching and sorting (n=7): time 0.001911/0.3187, allocations: 0.786 MB / 1.076 GB, free: 1.953 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.393e-05/0.3188, allocations: 51.41 kB / 1.076 GB, free: 1.891 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003096/0.3191, allocations: 298.7 kB / 1.077 GB, free: 1.59 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 2.561e-05/0.3191, allocations: 25.7 kB / 1.077 GB, free: 1.559 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 9.777e-05/0.3192, allocations: 152.1 kB / 1.077 GB, free: 1.406 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 3.801e-05/0.3193, allocations: 19.73 kB / 1.077 GB, free: 1.387 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001003/0.3194, allocations: 45.67 kB / 1.077 GB, free: 1.336 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001039/0.3195, allocations: 330.8 kB / 1.077 GB, free: 1.004 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005728/0.3201, allocations: 263.7 kB / 1.077 GB, free: 0.7461 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005581/0.3206, allocations: 263.8 kB / 1.078 GB, free: 500 kB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001009/0.3217, allocations: 436.4 kB / 1.078 GB, free: 60 kB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.825e-06/0.3217, allocations: 4 kB / 1.078 GB, free: 56 kB / 0.8262 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.001224/0.3229, allocations: 0.536 MB / 1.079 GB, free: 15.51 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 2.096e-05/0.3229, allocations: 4 kB / 1.079 GB, free: 15.51 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.791e-06/0.3229, allocations: 8 kB / 1.079 GB, free: 15.5 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.531e-05/0.323, allocations: 0 / 1.079 GB, free: 15.5 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004131/0.3234, allocations: 87.83 kB / 1.079 GB, free: 15.41 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.063e-06/0.3234, allocations: 0 / 1.079 GB, free: 15.41 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003101/0.3237, allocations: 71.88 kB / 1.079 GB, free: 15.34 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.85e-05/0.3238, allocations: 11.97 kB / 1.079 GB, free: 15.33 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.0001596/0.3239, allocations: 145.7 kB / 1.079 GB, free: 15.18 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.319e-05/0.324, allocations: 23.72 kB / 1.079 GB, free: 15.16 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.151e-05/0.324, allocations: 25.7 kB / 1.079 GB, free: 15.13 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.677e-06/0.3241, allocations: 0 / 1.079 GB, free: 15.13 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.063e-06/0.3241, allocations: 4 kB / 1.079 GB, free: 15.13 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.815e-06/0.3241, allocations: 0 / 1.079 GB, free: 15.13 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004952/0.3246, allocations: 436.4 kB / 1.079 GB, free: 14.65 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.324e-06/0.3246, allocations: 0 / 1.079 GB, free: 14.65 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003798/0.325, allocations: 99.77 kB / 1.08 GB, free: 14.55 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.436e-06/0.325, allocations: 0 / 1.08 GB, free: 14.55 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.587e-05/0.325, allocations: 11.97 kB / 1.08 GB, free: 14.54 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.447e-06/0.325, allocations: 0 / 1.08 GB, free: 14.54 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.453e-06/0.325, allocations: 3.938 kB / 1.08 GB, free: 14.54 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001276/0.3263, allocations: 0.6315 MB / 1.08 GB, free: 13.89 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 7.368e-05/0.3264, allocations: 100.8 kB / 1.08 GB, free: 13.77 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.704e-05/0.3264, allocations: 0 / 1.08 GB, free: 13.77 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003374/0.3268, allocations: 75.88 kB / 1.08 GB, free: 13.7 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.742e-05/0.3269, allocations: 7.984 kB / 1.08 GB, free: 13.69 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.092e-05/0.3269, allocations: 7.984 kB / 1.08 GB, free: 13.68 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 0.0002064/0.3271, allocations: 217.9 kB / 1.081 GB, free: 13.47 MB / 0.8419 GB Notification: Performance of sort global known variables: time 4.71e-07/0.3271, allocations: 4 kB / 1.081 GB, free: 13.47 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.0003255/0.3274, allocations: 43.84 kB / 1.081 GB, free: 13.43 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.0001822/0.3276, allocations: 99.78 kB / 1.081 GB, free: 13.32 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.001281/0.3289, allocations: 0.5346 MB / 1.081 GB, free: 12.79 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 3.216e-06/0.3289, allocations: 0 / 1.081 GB, free: 12.79 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 0.0006312/0.3296, allocations: 283.7 kB / 1.081 GB, free: 12.51 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002978/0.3299, allocations: 18.47 kB / 1.081 GB, free: 12.49 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001225/0.3311, allocations: 0.5911 MB / 1.082 GB, free: 11.87 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003494/0.3315, allocations: 0.7474 MB / 1.083 GB, free: 11.09 MB / 0.8419 GB Notification: Performance of simCode: alias equations: time 0.0002022/0.3317, allocations: 53.42 kB / 1.083 GB, free: 11.04 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001078/0.3318, allocations: 31.39 kB / 1.083 GB, free: 11.01 MB / 0.8419 GB Notification: Performance of SimCode: time 2.7e-07/0.3318, allocations: 4 kB / 1.083 GB, free: 11.01 MB / 0.8419 GB Notification: Performance of Templates: time 0.006445/0.3382, allocations: 2.825 MB / 1.086 GB, free: 8.188 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/jenkins/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