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.001317/0.001317, allocations: 112.7 kB / 16.42 MB, free: 6.512 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.001217/0.001217, allocations: 190.7 kB / 17.35 MB, free: 5.738 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.334/1.334, allocations: 222.9 MB / 241 MB, free: 15.13 MB / 206.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.178/2.178, allocations: 390.3 MB / 0.6655 GB, free: 0.5977 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001277/0.001277, allocations: 63.89 kB / 0.9516 GB, free: 7.605 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.807/0.8083, allocations: 140.4 MB / 1.089 GB, free: 5.488 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Storage.Ice.BaseClasses.Examples.NormalizedHeatFlowRate): time 0.002757/0.8111, allocations: 1.981 MB / 1.091 GB, free: 4.102 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.001067/0.8122, allocations: 0.6857 MB / 1.091 GB, free: 3.617 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.116e-05/0.8123, allocations: 6.062 kB / 1.091 GB, free: 3.613 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.0001273/0.8124, allocations: 20.67 kB / 1.091 GB, free: 3.598 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 7.637e-05/0.8125, allocations: 22.72 kB / 1.091 GB, free: 3.582 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003196/0.8129, allocations: 85.39 kB / 1.091 GB, free: 3.539 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0001768/0.8131, allocations: 152.8 kB / 1.092 GB, free: 3.465 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001729/0.8132, allocations: 86.23 kB / 1.092 GB, free: 3.418 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001035/0.8133, allocations: 59.47 kB / 1.092 GB, free: 3.387 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000125/0.8135, allocations: 73.33 kB / 1.092 GB, free: 3.344 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 3.728e-05/0.8135, allocations: 18.16 kB / 1.092 GB, free: 3.34 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001623/0.8137, allocations: 68.45 kB / 1.092 GB, free: 3.32 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 9.608e-05/0.8138, allocations: 64.78 kB / 1.092 GB, free: 3.293 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 8.078e-05/0.8139, allocations: 95.78 kB / 1.092 GB, free: 3.223 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0003563/0.8142, allocations: 267.8 kB / 1.092 GB, free: 3.117 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 4.809e-06/0.8143, allocations: 0 / 1.092 GB, free: 3.117 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.503e-06/0.8143, allocations: 3.938 kB / 1.092 GB, free: 3.113 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 5.701e-06/0.8143, allocations: 0.6562 kB / 1.092 GB, free: 3.113 MB / 0.8575 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.0007249/0.815, allocations: 0.5328 MB / 1.093 GB, free: 2.641 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 3.898e-05/0.815, allocations: 8.938 kB / 1.093 GB, free: 2.641 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001823/0.8169, allocations: 420.6 kB / 1.093 GB, free: 2.617 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000402/0.8173, allocations: 312.2 kB / 1.093 GB, free: 2.348 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.059e-05/0.8174, allocations: 74 kB / 1.094 GB, free: 2.277 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.379e-05/0.8174, allocations: 11.53 kB / 1.094 GB, free: 2.273 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009286/0.8184, allocations: 390.8 kB / 1.094 GB, free: 2.16 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.11e-05/0.8184, allocations: 0 / 1.094 GB, free: 2.16 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.692e-05/0.8184, allocations: 5.594 kB / 1.094 GB, free: 2.156 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.476e-06/0.8184, allocations: 6.766 kB / 1.094 GB, free: 2.152 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001335/0.8198, allocations: 0.5352 MB / 1.094 GB, free: 2.047 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001793/0.8216, allocations: 0.998 MB / 1.095 GB, free: 1.543 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00073/0.8223, allocations: 291.4 kB / 1.096 GB, free: 1.465 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006647/0.823, allocations: 278.8 kB / 1.096 GB, free: 1.398 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 2.128e-05/0.823, allocations: 1 kB / 1.096 GB, free: 1.398 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.904e-05/0.823, allocations: 40.36 kB / 1.096 GB, free: 1.352 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=7): time 1.493e-06/0.823, allocations: 0 / 1.096 GB, free: 1.352 MB / 0.8575 GB Notification: Performance of matching and sorting (n=7): time 0.002214/0.8253, allocations: 0.7844 MB / 1.097 GB, free: 1.168 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.422e-05/0.8253, allocations: 52.66 kB / 1.097 GB, free: 1.105 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000338/0.8256, allocations: 302.1 kB / 1.097 GB, free: 0.9492 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 2.412e-05/0.8257, allocations: 26.83 kB / 1.097 GB, free: 0.918 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 9.123e-05/0.8258, allocations: 150.1 kB / 1.097 GB, free: 0.7891 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 3.601e-05/0.8258, allocations: 23.69 kB / 1.097 GB, free: 0.7695 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.934e-05/0.8259, allocations: 36.02 kB / 1.097 GB, free: 0.75 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 7.303e-05/0.826, allocations: 335.8 kB / 1.098 GB, free: 436 kB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006723/0.8267, allocations: 260.1 kB / 1.098 GB, free: 384 kB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006476/0.8273, allocations: 260.1 kB / 1.098 GB, free: 332 kB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001171/0.8285, allocations: 449.6 kB / 1.099 GB, free: 232 kB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.166e-06/0.8285, allocations: 0.5312 kB / 1.099 GB, free: 232 kB / 0.8575 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.001343/0.8299, allocations: 0.5301 MB / 1.099 GB, free: 96 kB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.725e-05/0.8299, allocations: 6.469 kB / 1.099 GB, free: 96 kB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.009e-06/0.8299, allocations: 0 / 1.099 GB, free: 96 kB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.581e-05/0.8299, allocations: 0.7188 kB / 1.099 GB, free: 96 kB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004289/0.8304, allocations: 97.42 kB / 1.099 GB, free: 88 kB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.121e-05/0.8304, allocations: 0.9688 kB / 1.099 GB, free: 88 kB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003284/0.8307, allocations: 73 kB / 1.099 GB, free: 84 kB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.729e-05/0.8308, allocations: 9.25 kB / 1.099 GB, free: 84 kB / 0.8575 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.0001566/0.8309, allocations: 147.1 kB / 1.099 GB, free: 15.95 MB / 0.8731 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.46e-05/0.831, allocations: 20.44 kB / 1.099 GB, free: 15.94 MB / 0.8731 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.654e-05/0.831, allocations: 24.91 kB / 1.099 GB, free: 15.93 MB / 0.8731 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.807e-06/0.8311, allocations: 5.938 kB / 1.099 GB, free: 15.92 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.092e-06/0.8311, allocations: 0 / 1.099 GB, free: 15.92 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 7.997e-05/0.8311, allocations: 98.7 kB / 1.1 GB, free: 15.82 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.078e-05/0.8312, allocations: 1.891 kB / 1.1 GB, free: 15.82 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003705/0.8316, allocations: 76.72 kB / 1.1 GB, free: 15.81 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.026e-05/0.8316, allocations: 9.703 kB / 1.1 GB, free: 15.8 MB / 0.8731 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001761/0.8334, allocations: 0.6716 MB / 1.1 GB, free: 15.6 MB / 0.8731 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.00156/0.835, allocations: 0.6999 MB / 1.101 GB, free: 15.29 MB / 0.8731 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0006365/0.8356, allocations: 265.4 kB / 1.101 GB, free: 15.24 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 0.0002373/0.8359, allocations: 221.5 kB / 1.101 GB, free: 15.12 MB / 0.8731 GB Notification: Performance of Backend: time 5.41e-07/0.8359, allocations: 0 / 1.101 GB, free: 15.12 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.001131/0.837, allocations: 373.2 kB / 1.102 GB, free: 15 MB / 0.8731 GB Notification: Performance of SimCode: time 0.0008594/0.8379, allocations: 0.8219 MB / 1.103 GB, free: 14.28 MB / 0.8731 GB Notification: Performance of Templates: time 0.009211/0.8471, allocations: 4.719 MB / 1.107 GB, free: 13.91 MB / 0.8731 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