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) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00154/0.00154, allocations: 107.4 kB / 18.19 MB, free: 4.117 MB / 14.72 MB [Timeout remaining time 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001588/0.001588, allocations: 193.9 kB / 21.34 MB, free: 0.9766 MB / 14.72 MB [Timeout remaining time 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.457/1.457, allocations: 225.6 MB / 249.9 MB, free: 3.23 MB / 190.1 MB [Timeout remaining time 88] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.733/2.733, allocations: 489.7 MB / 0.7761 GB, free: 2.426 MB / 0.6075 GB [Timeout remaining time 87] 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=502,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=502,variableFilter="time|norQSta.qNor|norQSta.canMelt|norQSta.SOC",fileNamePrefix="Buildings_latest_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.NormalizedHeatFlowRate") [Timeout 300] Notification: Performance of FrontEnd - loaded program: time 0.001895/0.001895, allocations: 68.12 kB / 1.127 GB, free: 5.148 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9329/0.9348, allocations: 172 MB / 1.295 GB, free: 38.68 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Storage.Ice.BaseClasses.Examples.NormalizedHeatFlowRate): time 0.002747/0.9375, allocations: 1.988 MB / 1.297 GB, free: 37.3 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.001014/0.9386, allocations: 0.7014 MB / 1.297 GB, free: 36.81 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.372e-05/0.9386, allocations: 2.906 kB / 1.297 GB, free: 36.81 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 0.0001343/0.9388, allocations: 25.98 kB / 1.298 GB, free: 36.8 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 7.841e-05/0.9389, allocations: 14.84 kB / 1.298 GB, free: 36.79 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003309/0.9392, allocations: 88.09 kB / 1.298 GB, free: 36.74 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.0001375/0.9393, allocations: 143.2 kB / 1.298 GB, free: 36.68 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001515/0.9395, allocations: 72.94 kB / 1.298 GB, free: 36.64 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 8.416e-05/0.9396, allocations: 61.27 kB / 1.298 GB, free: 36.6 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 9.191e-05/0.9397, allocations: 76.61 kB / 1.298 GB, free: 36.56 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 2.705e-05/0.9397, allocations: 16.47 kB / 1.298 GB, free: 36.56 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001222/0.9398, allocations: 64.86 kB / 1.298 GB, free: 36.54 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 8.053e-05/0.9399, allocations: 73.41 kB / 1.298 GB, free: 36.5 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 6.107e-05/0.9399, allocations: 91.81 kB / 1.298 GB, free: 36.44 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.0002547/0.9402, allocations: 273.2 kB / 1.298 GB, free: 36.33 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 3.838e-06/0.9402, allocations: 0 / 1.298 GB, free: 36.33 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.243e-06/0.9402, allocations: 0 / 1.298 GB, free: 36.33 MB / 1.061 GB Notification: Performance of Transformations before backend: time 5.239e-06/0.9402, allocations: 0 / 1.298 GB, free: 36.33 MB / 1.061 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.0006505/0.9409, allocations: 0.5435 MB / 1.299 GB, free: 35.84 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 2.807e-05/0.9409, allocations: 8.531 kB / 1.299 GB, free: 35.84 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001563/0.9425, allocations: 428.1 kB / 1.299 GB, free: 35.81 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003288/0.9428, allocations: 314.8 kB / 1.3 GB, free: 35.54 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.658e-05/0.9428, allocations: 79.66 kB / 1.3 GB, free: 35.46 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.052e-05/0.9429, allocations: 12.75 kB / 1.3 GB, free: 35.46 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007134/0.9436, allocations: 380.1 kB / 1.3 GB, free: 35.36 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.406e-06/0.9436, allocations: 0 / 1.3 GB, free: 35.36 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.343e-05/0.9436, allocations: 6.438 kB / 1.3 GB, free: 35.35 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.729e-06/0.9436, allocations: 2.781 kB / 1.3 GB, free: 35.35 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001029/0.9447, allocations: 0.5445 MB / 1.301 GB, free: 35.24 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001388/0.946, allocations: 0.9946 MB / 1.302 GB, free: 34.74 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005775/0.9466, allocations: 289.8 kB / 1.302 GB, free: 34.66 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005114/0.9471, allocations: 271.7 kB / 1.302 GB, free: 34.61 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 1.911e-05/0.9472, allocations: 2.938 kB / 1.302 GB, free: 34.61 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.842e-05/0.9472, allocations: 42.5 kB / 1.302 GB, free: 34.55 MB / 1.061 GB Notification: Performance of pre-optimization done (n=7): time 1.193e-06/0.9472, allocations: 0 / 1.302 GB, free: 34.55 MB / 1.061 GB Notification: Performance of matching and sorting (n=7): time 0.001668/0.9488, allocations: 0.7841 MB / 1.303 GB, free: 34.37 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.53e-05/0.9489, allocations: 55.41 kB / 1.303 GB, free: 34.3 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002383/0.9491, allocations: 301.7 kB / 1.303 GB, free: 34.15 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 1.956e-05/0.9491, allocations: 25.7 kB / 1.303 GB, free: 34.12 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 6.54e-05/0.9492, allocations: 153.1 kB / 1.304 GB, free: 33.98 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 3.031e-05/0.9492, allocations: 25.92 kB / 1.304 GB, free: 33.96 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.655e-05/0.9493, allocations: 32.33 kB / 1.304 GB, free: 33.95 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 4.929e-05/0.9493, allocations: 337.6 kB / 1.304 GB, free: 33.62 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005039/0.9499, allocations: 260.8 kB / 1.304 GB, free: 33.57 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004945/0.9503, allocations: 260 kB / 1.304 GB, free: 33.52 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000921/0.9513, allocations: 439.6 kB / 1.305 GB, free: 33.43 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.964e-06/0.9513, allocations: 0 / 1.305 GB, free: 33.43 MB / 1.061 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.001056/0.9523, allocations: 0.5343 MB / 1.305 GB, free: 33.29 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 1.534e-05/0.9523, allocations: 5.594 kB / 1.305 GB, free: 33.29 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.382e-06/0.9523, allocations: 7.938 kB / 1.305 GB, free: 33.29 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.612e-05/0.9524, allocations: 2.844 kB / 1.305 GB, free: 33.29 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000369/0.9527, allocations: 92.05 kB / 1.305 GB, free: 33.28 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.891e-06/0.9527, allocations: 2.875 kB / 1.305 GB, free: 33.28 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002857/0.953, allocations: 73.58 kB / 1.306 GB, free: 33.28 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.196e-05/0.953, allocations: 17.02 kB / 1.306 GB, free: 33.27 MB / 1.061 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.0001087/0.9532, allocations: 139.2 kB / 1.306 GB, free: 33.14 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.442e-05/0.9532, allocations: 24.77 kB / 1.306 GB, free: 33.13 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.579e-05/0.9532, allocations: 21.61 kB / 1.306 GB, free: 33.12 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.344e-06/0.9532, allocations: 0 / 1.306 GB, free: 33.12 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.017e-06/0.9533, allocations: 0 / 1.306 GB, free: 33.12 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.344e-06/0.9533, allocations: 6.875 kB / 1.306 GB, free: 33.11 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000357/0.9536, allocations: 437.2 kB / 1.306 GB, free: 32.84 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.172e-06/0.9536, allocations: 3.938 kB / 1.306 GB, free: 32.83 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003382/0.9539, allocations: 89.16 kB / 1.306 GB, free: 32.83 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.054e-06/0.954, allocations: 0 / 1.306 GB, free: 32.83 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.89e-05/0.954, allocations: 10.16 kB / 1.306 GB, free: 32.83 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.373e-06/0.954, allocations: 0 / 1.306 GB, free: 32.83 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.82e-07/0.954, allocations: 0 / 1.306 GB, free: 32.83 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001095/0.9551, allocations: 0.6376 MB / 1.307 GB, free: 32.58 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 4.566e-05/0.9551, allocations: 104.4 kB / 1.307 GB, free: 32.47 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.472e-05/0.9551, allocations: 4 kB / 1.307 GB, free: 32.47 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003138/0.9555, allocations: 73.31 kB / 1.307 GB, free: 32.46 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.251e-05/0.9555, allocations: 5.969 kB / 1.307 GB, free: 32.46 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.99e-05/0.9555, allocations: 15.81 kB / 1.307 GB, free: 32.46 MB / 1.061 GB Notification: Performance of sorting global known variables: time 0.0001557/0.9557, allocations: 216.8 kB / 1.307 GB, free: 32.35 MB / 1.061 GB Notification: Performance of sort global known variables: time 7e-08/0.9557, allocations: 0 / 1.307 GB, free: 32.35 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0002896/0.956, allocations: 42.23 kB / 1.307 GB, free: 32.34 MB / 1.061 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.0001277/0.9561, allocations: 100.1 kB / 1.307 GB, free: 32.25 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.001089/0.9572, allocations: 0.5294 MB / 1.308 GB, free: 32.15 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 1.864e-06/0.9572, allocations: 0 / 1.308 GB, free: 32.15 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.0005256/0.9577, allocations: 271.2 kB / 1.308 GB, free: 32.1 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002786/0.958, allocations: 20.12 kB / 1.308 GB, free: 32.09 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001009/0.959, allocations: 0.6282 MB / 1.309 GB, free: 31.77 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00015/0.9592, allocations: 0.7501 MB / 1.31 GB, free: 31.06 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001288/0.9593, allocations: 35.19 kB / 1.31 GB, free: 31.05 MB / 1.061 GB Notification: Performance of SimCode: time 4.81e-07/0.9593, allocations: 0 / 1.31 GB, free: 31.05 MB / 1.061 GB Notification: Performance of Templates: time 0.004641/0.9639, allocations: 3.793 MB / 1.313 GB, free: 30.63 MB / 1.061 GB [Timeout remaining time 299] make -j1 -f Buildings_latest_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.NormalizedHeatFlowRate.makefile [Timeout 300] (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=400 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.NormalizedHeatFlowRate.pipe 2>&1) [Timeout 400] 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) [Timeout 300] [Timeout remaining time 300] Reference file matches