Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.001307/0.001307, allocations: 114.7 kB / 17.6 MB, free: 4.668 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.001261/0.001261, allocations: 189.9 kB / 20.78 MB, free: 1.5 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.507/1.507, allocations: 225.6 MB / 249.4 MB, free: 3.148 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.905/2.905, allocations: 476.7 MB / 0.7629 GB, free: 15.11 MB / 0.6075 GB " [Timeout remaining time 176] Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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: "" <> buildModelFMU(Buildings.Fluid.Storage.Ice.BaseClasses.Examples.NormalizedHeatFlowRate,fileNamePrefix="Buildings_11_Buildings_Fluid_Storage_Ice_BaseClasses_Examples_NormalizedHeatFlowRate",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Storage.Ice.BaseClasses.Examples.NormalizedHeatFlowRate,fileNamePrefix="Buildings_11_Buildings_Fluid_Storage_Ice_BaseClasses_Examples_NormalizedHeatFlowRate",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002037/0.002037, allocations: 59.91 kB / 1.107 GB, free: 5.035 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9448/0.9468, allocations: 168.7 MB / 1.272 GB, free: 7.656 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Storage.Ice.BaseClasses.Examples.NormalizedHeatFlowRate): time 0.002951/0.9498, allocations: 2.008 MB / 1.273 GB, free: 6.293 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.001083/0.9509, allocations: 0.706 MB / 1.274 GB, free: 5.801 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001008/0.951, allocations: 2.688 kB / 1.274 GB, free: 5.801 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.0001265/0.9511, allocations: 18.77 kB / 1.274 GB, free: 5.789 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 8.404e-05/0.9512, allocations: 25.5 kB / 1.274 GB, free: 5.77 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003372/0.9515, allocations: 95.64 kB / 1.274 GB, free: 5.719 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.0001785/0.9517, allocations: 137.8 kB / 1.274 GB, free: 5.656 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000156/0.9519, allocations: 62.22 kB / 1.275 GB, free: 5.621 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001069/0.952, allocations: 71.42 kB / 1.275 GB, free: 5.578 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000109/0.9521, allocations: 64.61 kB / 1.275 GB, free: 5.547 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 3.041e-05/0.9521, allocations: 18.19 kB / 1.275 GB, free: 5.543 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001529/0.9523, allocations: 64.84 kB / 1.275 GB, free: 5.527 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 9.102e-05/0.9523, allocations: 84.48 kB / 1.275 GB, free: 5.48 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 6.773e-05/0.9524, allocations: 87.59 kB / 1.275 GB, free: 5.418 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.0003122/0.9527, allocations: 268.3 kB / 1.275 GB, free: 5.309 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 4.128e-06/0.9527, allocations: 5.062 kB / 1.275 GB, free: 5.305 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.553e-06/0.9527, allocations: 0 / 1.275 GB, free: 5.305 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 5.611e-06/0.9527, allocations: 0 / 1.275 GB, free: 5.305 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.0007321/0.9535, allocations: 0.5411 MB / 1.276 GB, free: 4.82 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 3.866e-05/0.9535, allocations: 9.688 kB / 1.276 GB, free: 4.82 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.999e-05/0.9535, allocations: 45.69 kB / 1.276 GB, free: 4.773 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001667/0.9552, allocations: 424.3 kB / 1.276 GB, free: 4.746 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000339/0.9556, allocations: 316.8 kB / 1.276 GB, free: 4.477 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.302e-05/0.9556, allocations: 70.5 kB / 1.276 GB, free: 4.41 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.197e-05/0.9557, allocations: 11.59 kB / 1.277 GB, free: 4.406 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008428/0.9565, allocations: 383.5 kB / 1.277 GB, free: 4.301 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.046e-05/0.9565, allocations: 0.9062 kB / 1.277 GB, free: 4.301 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.348e-05/0.9565, allocations: 8.75 kB / 1.277 GB, free: 4.293 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.136e-06/0.9565, allocations: 3.312 kB / 1.277 GB, free: 4.293 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001242/0.9578, allocations: 0.5397 MB / 1.277 GB, free: 4.184 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001761/0.9595, allocations: 1.001 MB / 1.278 GB, free: 3.676 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007429/0.9603, allocations: 293.2 kB / 1.279 GB, free: 3.594 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006607/0.9609, allocations: 272.8 kB / 1.279 GB, free: 3.531 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 2.243e-05/0.961, allocations: 1.125 kB / 1.279 GB, free: 3.531 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.873e-05/0.961, allocations: 32.34 kB / 1.279 GB, free: 3.492 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=7): time 1.644e-06/0.961, allocations: 0 / 1.279 GB, free: 3.492 MB / 0.9981 GB Notification: Performance of matching and sorting (n=7): time 0.002089/0.9631, allocations: 0.7888 MB / 1.28 GB, free: 3.305 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.893e-05/0.9631, allocations: 53.7 kB / 1.28 GB, free: 3.242 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003372/0.9634, allocations: 292.9 kB / 1.28 GB, free: 3.09 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 2.276e-05/0.9635, allocations: 31.3 kB / 1.28 GB, free: 3.055 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 8.44e-05/0.9636, allocations: 154.2 kB / 1.28 GB, free: 2.922 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 3.593e-05/0.9636, allocations: 28.28 kB / 1.28 GB, free: 2.898 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001012/0.9637, allocations: 36.17 kB / 1.28 GB, free: 2.879 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 7.146e-05/0.9638, allocations: 334.1 kB / 1.281 GB, free: 2.555 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006149/0.9644, allocations: 260.4 kB / 1.281 GB, free: 2.504 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006244/0.965, allocations: 261 kB / 1.281 GB, free: 2.453 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00115/0.9661, allocations: 445.2 kB / 1.282 GB, free: 2.359 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.494e-06/0.9662, allocations: 6.094 kB / 1.282 GB, free: 2.355 MB / 0.9981 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.001415/0.9676, allocations: 0.531 MB / 1.282 GB, free: 2.223 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 2.245e-05/0.9676, allocations: 4.125 kB / 1.282 GB, free: 2.223 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.366e-06/0.9676, allocations: 0.5625 kB / 1.282 GB, free: 2.223 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.236e-05/0.9676, allocations: 6.062 kB / 1.282 GB, free: 2.219 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000437/0.9681, allocations: 94.25 kB / 1.282 GB, free: 2.215 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.205e-06/0.9681, allocations: 0 / 1.282 GB, free: 2.215 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003444/0.9684, allocations: 71.92 kB / 1.282 GB, free: 2.211 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.112e-05/0.9684, allocations: 8.484 kB / 1.282 GB, free: 2.211 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.0001733/0.9686, allocations: 150.9 kB / 1.282 GB, free: 2.074 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.688e-05/0.9687, allocations: 22.62 kB / 1.282 GB, free: 2.062 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.861e-05/0.9687, allocations: 24.77 kB / 1.282 GB, free: 2.047 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.178e-06/0.9687, allocations: 0.6562 kB / 1.282 GB, free: 2.047 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.54e-06/0.9687, allocations: 2.312 kB / 1.282 GB, free: 2.047 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.499e-06/0.9687, allocations: 0.5156 kB / 1.282 GB, free: 2.047 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005057/0.9692, allocations: 441.1 kB / 1.283 GB, free: 1.762 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.544e-06/0.9692, allocations: 0.75 kB / 1.283 GB, free: 1.762 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003857/0.9696, allocations: 95.22 kB / 1.283 GB, free: 1.754 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.639e-06/0.9696, allocations: 4.953 kB / 1.283 GB, free: 1.75 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.874e-05/0.9697, allocations: 7.812 kB / 1.283 GB, free: 1.75 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.715e-06/0.9697, allocations: 0.6562 kB / 1.283 GB, free: 1.75 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.873e-06/0.9697, allocations: 0 / 1.283 GB, free: 1.75 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001315/0.971, allocations: 0.6332 MB / 1.284 GB, free: 1.508 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 4.993e-05/0.971, allocations: 103.1 kB / 1.284 GB, free: 1.398 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.498e-05/0.9711, allocations: 5.766 kB / 1.284 GB, free: 1.395 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003385/0.9714, allocations: 72.14 kB / 1.284 GB, free: 1.395 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.636e-05/0.9715, allocations: 6.062 kB / 1.284 GB, free: 1.391 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.54e-05/0.9715, allocations: 8.703 kB / 1.284 GB, free: 1.391 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0002015/0.9717, allocations: 222.4 kB / 1.284 GB, free: 1.27 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1e-07/0.9717, allocations: 0 / 1.284 GB, free: 1.27 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0003355/0.972, allocations: 39.98 kB / 1.284 GB, free: 1.262 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.001522/0.9735, allocations: 1.178 MB / 1.285 GB, free: 0.4922 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.001319/0.9749, allocations: 0.5219 MB / 1.286 GB, free: 400 kB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 3.005e-06/0.9749, allocations: 4.562 kB / 1.286 GB, free: 396 kB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0006223/0.9755, allocations: 272.4 kB / 1.286 GB, free: 344 kB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003123/0.9758, allocations: 14.95 kB / 1.286 GB, free: 336 kB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006315/0.9821, allocations: 3.909 MB / 1.29 GB, free: 14.45 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003655/0.9825, allocations: 0.7486 MB / 1.291 GB, free: 13.75 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 0.0002102/0.9827, allocations: 51.73 kB / 1.291 GB, free: 13.73 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001772/0.9829, allocations: 84.89 kB / 1.291 GB, free: 13.68 MB / 1.014 GB Notification: Performance of SimCode: time 6.61e-07/0.9829, allocations: 4 kB / 1.291 GB, free: 13.67 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02866/1.012, allocations: 5.07 MB / 1.296 GB, free: 13.04 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.391/9.402, allocations: 5.25 kB / 1.296 GB, free: 13.04 MB / 1.014 GB " [Timeout remaining time 291] (rm -f Buildings_11_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.NormalizedHeatFlowRate.pipe ; mkfifo Buildings_11_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.NormalizedHeatFlowRate.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.NormalizedHeatFlowRate.pipe >> ../files/Buildings_11_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.NormalizedHeatFlowRate.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.NormalizedHeatFlowRate_res.mat --tempDir=temp_Buildings_11_Buildings_Fluid_Storage_Ice_BaseClasses_Examples_NormalizedHeatFlowRate_fmu --startTime=0 --stopTime=7200 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Fluid_Storage_Ice_BaseClasses_Examples_NormalizedHeatFlowRate.fmu > Buildings_11_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.NormalizedHeatFlowRate.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.NormalizedHeatFlowRate_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Fluid_Storage_Ice_BaseClasses_Examples_NormalizedHeatFlowRate.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_11_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: 15.605797575000906]