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 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001276/0.001276, allocations: 112.3 kB / 17.08 MB, free: 6.012 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001258/0.001258, allocations: 194.2 kB / 20.03 MB, free: 3.082 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.37/1.37, allocations: 222.9 MB / 245.7 MB, free: 4.215 MB / 190.1 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.891/2.891, allocations: 489.3 MB / 0.7687 GB, free: 3.785 MB / 0.6075 GB " [Timeout remaining time 176] 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=2500,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=2500,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.001979/0.001979, allocations: 75.86 kB / 1.103 GB, free: 0.7578 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9219/0.9239, allocations: 163.8 MB / 1.263 GB, free: 7.992 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Storage.Ice.BaseClasses.Examples.NormalizedHeatFlowRate): time 0.00322/0.9271, allocations: 1.979 MB / 1.265 GB, free: 6.633 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.001242/0.9284, allocations: 0.6895 MB / 1.265 GB, free: 6.148 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001059/0.9285, allocations: 6.781 kB / 1.265 GB, free: 6.145 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.0001427/0.9287, allocations: 21.53 kB / 1.265 GB, free: 6.129 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 7.588e-05/0.9288, allocations: 17.11 kB / 1.265 GB, free: 6.117 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003611/0.9291, allocations: 89.41 kB / 1.265 GB, free: 6.07 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.0002117/0.9294, allocations: 152.5 kB / 1.265 GB, free: 5.996 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001954/0.9296, allocations: 94.36 kB / 1.266 GB, free: 5.945 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001152/0.9297, allocations: 58.88 kB / 1.266 GB, free: 5.914 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001316/0.9298, allocations: 70.25 kB / 1.266 GB, free: 5.875 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 3.939e-05/0.9299, allocations: 14.94 kB / 1.266 GB, free: 5.875 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001694/0.93, allocations: 71.73 kB / 1.266 GB, free: 5.852 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.0001062/0.9301, allocations: 64.38 kB / 1.266 GB, free: 5.824 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 9.603e-05/0.9303, allocations: 100.2 kB / 1.266 GB, free: 5.75 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.0003913/0.9306, allocations: 266.1 kB / 1.266 GB, free: 5.645 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 5.33e-06/0.9307, allocations: 0.9375 kB / 1.266 GB, free: 5.645 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.843e-06/0.9307, allocations: 0 / 1.266 GB, free: 5.645 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 7.033e-06/0.9307, allocations: 0 / 1.266 GB, free: 5.645 MB / 0.9981 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.0007971/0.9315, allocations: 0.5424 MB / 1.267 GB, free: 5.16 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 4.384e-05/0.9315, allocations: 9.797 kB / 1.267 GB, free: 5.16 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001765/0.9333, allocations: 419.7 kB / 1.267 GB, free: 5.137 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003987/0.9337, allocations: 318.1 kB / 1.267 GB, free: 4.863 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.394e-05/0.9338, allocations: 69.16 kB / 1.267 GB, free: 4.797 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.55e-05/0.9338, allocations: 15.97 kB / 1.268 GB, free: 4.789 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008903/0.9347, allocations: 381.5 kB / 1.268 GB, free: 4.684 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.119e-05/0.9348, allocations: 0.8438 kB / 1.268 GB, free: 4.684 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.596e-05/0.9348, allocations: 5.547 kB / 1.268 GB, free: 4.68 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.414e-06/0.9348, allocations: 3.344 kB / 1.268 GB, free: 4.68 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001353/0.9362, allocations: 0.5429 MB / 1.268 GB, free: 4.566 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001646/0.9378, allocations: 0.9892 MB / 1.269 GB, free: 4.074 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006679/0.9385, allocations: 295.7 kB / 1.27 GB, free: 3.992 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006534/0.9392, allocations: 274.8 kB / 1.27 GB, free: 3.93 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 2.623e-05/0.9392, allocations: 9.188 kB / 1.27 GB, free: 3.922 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.725e-05/0.9392, allocations: 35.89 kB / 1.27 GB, free: 3.879 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=7): time 1.743e-06/0.9392, allocations: 4.625 kB / 1.27 GB, free: 3.875 MB / 0.9981 GB Notification: Performance of matching and sorting (n=7): time 0.002009/0.9412, allocations: 0.7809 MB / 1.271 GB, free: 3.695 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.647e-05/0.9413, allocations: 52.53 kB / 1.271 GB, free: 3.633 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003548/0.9416, allocations: 304.5 kB / 1.271 GB, free: 3.473 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 1.916e-05/0.9417, allocations: 25.7 kB / 1.271 GB, free: 3.441 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 8.664e-05/0.9418, allocations: 157 kB / 1.271 GB, free: 3.305 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 3.139e-05/0.9418, allocations: 20.22 kB / 1.271 GB, free: 3.289 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.961e-05/0.9419, allocations: 40.23 kB / 1.271 GB, free: 3.266 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 6.423e-05/0.942, allocations: 334.4 kB / 1.272 GB, free: 2.941 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006105/0.9426, allocations: 262.4 kB / 1.272 GB, free: 2.891 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005995/0.9432, allocations: 259.1 kB / 1.272 GB, free: 2.84 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00107/0.9443, allocations: 449.2 kB / 1.273 GB, free: 2.742 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.464e-06/0.9443, allocations: 0.6875 kB / 1.273 GB, free: 2.742 MB / 0.9981 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.001283/0.9456, allocations: 0.5317 MB / 1.273 GB, free: 2.609 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 2.094e-05/0.9456, allocations: 9.719 kB / 1.273 GB, free: 2.605 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.392e-06/0.9456, allocations: 1.094 kB / 1.273 GB, free: 2.605 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.765e-05/0.9456, allocations: 0.7969 kB / 1.273 GB, free: 2.605 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004091/0.946, allocations: 92.34 kB / 1.273 GB, free: 2.602 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.907e-06/0.9461, allocations: 5.625 kB / 1.273 GB, free: 2.598 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003169/0.9464, allocations: 73.27 kB / 1.273 GB, free: 2.594 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.007e-05/0.9464, allocations: 12.94 kB / 1.273 GB, free: 2.59 MB / 0.9981 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.000128/0.9466, allocations: 145.9 kB / 1.273 GB, free: 2.461 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.531e-05/0.9466, allocations: 21.17 kB / 1.273 GB, free: 2.449 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.01e-05/0.9467, allocations: 26.03 kB / 1.273 GB, free: 2.434 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.577e-06/0.9467, allocations: 0 / 1.273 GB, free: 2.434 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.11e-06/0.9467, allocations: 0.9062 kB / 1.273 GB, free: 2.434 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.928e-06/0.9467, allocations: 0.6094 kB / 1.273 GB, free: 2.434 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005171/0.9472, allocations: 437.7 kB / 1.274 GB, free: 2.148 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.313e-06/0.9472, allocations: 4 kB / 1.274 GB, free: 2.145 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003896/0.9476, allocations: 88.86 kB / 1.274 GB, free: 2.145 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.058e-06/0.9476, allocations: 1.531 kB / 1.274 GB, free: 2.145 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.734e-05/0.9477, allocations: 7.219 kB / 1.274 GB, free: 2.145 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.493e-06/0.9477, allocations: 5.156 kB / 1.274 GB, free: 2.141 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.343e-06/0.9477, allocations: 4 kB / 1.274 GB, free: 2.137 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001346/0.949, allocations: 0.6373 MB / 1.275 GB, free: 1.891 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 5.341e-05/0.9491, allocations: 102.6 kB / 1.275 GB, free: 1.781 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.756e-05/0.9491, allocations: 5.375 kB / 1.275 GB, free: 1.777 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003425/0.9495, allocations: 69.38 kB / 1.275 GB, free: 1.777 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.198e-05/0.9496, allocations: 10.17 kB / 1.275 GB, free: 1.773 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.644e-05/0.9496, allocations: 8 kB / 1.275 GB, free: 1.773 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0002217/0.9498, allocations: 221.7 kB / 1.275 GB, free: 1.656 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.1e-07/0.9498, allocations: 0 / 1.275 GB, free: 1.656 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0003202/0.9501, allocations: 41.7 kB / 1.275 GB, free: 1.648 MB / 0.9981 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.000158/0.9503, allocations: 102.2 kB / 1.275 GB, free: 1.562 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.00135/0.9517, allocations: 0.5276 MB / 1.276 GB, free: 1.457 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 2.154e-06/0.9517, allocations: 0 / 1.276 GB, free: 1.457 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0006334/0.9523, allocations: 275.8 kB / 1.276 GB, free: 1.406 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002889/0.9526, allocations: 17.91 kB / 1.276 GB, free: 1.395 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001127/0.9538, allocations: 0.6272 MB / 1.277 GB, free: 1.074 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001929/0.954, allocations: 0.7525 MB / 1.277 GB, free: 376 kB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001451/0.9541, allocations: 38.31 kB / 1.277 GB, free: 364 kB / 0.9981 GB Notification: Performance of SimCode: time 2.3e-07/0.9541, allocations: 1.375 kB / 1.277 GB, free: 364 kB / 0.9981 GB Notification: Performance of Templates: time 0.006961/0.9611, allocations: 3.682 MB / 1.281 GB, free: 15.96 MB / 1.014 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=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.NormalizedHeatFlowRate.pipe 2>&1) [Timeout 800] 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_2/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 [Calling sys.exit(0), Time elapsed: 11.880348640028387]