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.001591/0.001591, allocations: 110.6 kB / 16.46 MB, free: 6.035 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.001801/0.001801, allocations: 191.8 kB / 19.41 MB, free: 3.539 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.436/1.436, allocations: 225.6 MB / 247.8 MB, free: 13.94 MB / 206.1 MB " [Timeout remaining time 178] 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 3.158/3.158, allocations: 497.2 MB / 0.7811 GB, free: 33.62 MB / 0.6231 GB " [Timeout remaining time 177] 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: "" <> buildModelFMU(Buildings.Fluid.Storage.Ice.BaseClasses.Examples.NormalizedHeatFlowRate,fileNamePrefix="Buildings_latest_Buildings_Fluid_Storage_Ice_BaseClasses_Examples_NormalizedHeatFlowRate",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Storage.Ice.BaseClasses.Examples.NormalizedHeatFlowRate,fileNamePrefix="Buildings_latest_Buildings_Fluid_Storage_Ice_BaseClasses_Examples_NormalizedHeatFlowRate",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001953/0.001953, allocations: 66.36 kB / 1.134 GB, free: 33.68 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.312/0.314, allocations: 173.9 MB / 1.304 GB, free: 1.508 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Storage.Ice.BaseClasses.Examples.NormalizedHeatFlowRate): time 0.003629/0.3176, allocations: 1.984 MB / 1.306 GB, free: 15.51 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.001451/0.319, allocations: 0.6935 MB / 1.307 GB, free: 14.81 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001284/0.3192, allocations: 7.938 kB / 1.307 GB, free: 14.8 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 0.0001457/0.3193, allocations: 23.78 kB / 1.307 GB, free: 14.78 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 9.801e-05/0.3194, allocations: 27.67 kB / 1.307 GB, free: 14.75 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003776/0.3198, allocations: 91.77 kB / 1.307 GB, free: 14.66 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.0002261/0.32, allocations: 143.7 kB / 1.307 GB, free: 14.52 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002012/0.3202, allocations: 64.84 kB / 1.307 GB, free: 14.45 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001526/0.3204, allocations: 63.7 kB / 1.307 GB, free: 14.39 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001525/0.3205, allocations: 71.62 kB / 1.307 GB, free: 14.32 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 3.348e-05/0.3206, allocations: 16 kB / 1.307 GB, free: 14.3 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001764/0.3207, allocations: 59.95 kB / 1.307 GB, free: 14.25 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 0.0001155/0.3209, allocations: 75.73 kB / 1.307 GB, free: 14.17 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 0.0001055/0.321, allocations: 95.34 kB / 1.307 GB, free: 14.08 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.0004132/0.3214, allocations: 258.9 kB / 1.308 GB, free: 13.82 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 4.428e-06/0.3214, allocations: 0 / 1.308 GB, free: 13.82 MB / 1.014 GB Notification: Performance of FrontEnd: time 1.222e-06/0.3214, allocations: 0 / 1.308 GB, free: 13.82 MB / 1.014 GB Notification: Performance of Transformations before backend: time 1.039e-05/0.3214, allocations: 0 / 1.308 GB, free: 13.82 MB / 1.014 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.001066/0.3225, allocations: 0.5528 MB / 1.308 GB, free: 13.22 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 5.008e-05/0.3225, allocations: 12.61 kB / 1.308 GB, free: 13.21 MB / 1.014 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.276e-05/0.3226, allocations: 42.75 kB / 1.308 GB, free: 13.16 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001774/0.3243, allocations: 428 kB / 1.309 GB, free: 12.74 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005187/0.3249, allocations: 312 kB / 1.309 GB, free: 12.4 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001056/0.325, allocations: 72.12 kB / 1.309 GB, free: 12.32 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.596e-05/0.325, allocations: 16.31 kB / 1.309 GB, free: 12.3 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008831/0.3259, allocations: 384.3 kB / 1.309 GB, free: 11.92 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.007e-06/0.3259, allocations: 0 / 1.309 GB, free: 11.92 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.17e-05/0.3259, allocations: 4 kB / 1.309 GB, free: 11.92 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.699e-06/0.3259, allocations: 4 kB / 1.309 GB, free: 11.91 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001247/0.3272, allocations: 0.5429 MB / 1.31 GB, free: 11.37 MB / 1.014 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001921/0.3291, allocations: 0.9937 MB / 1.311 GB, free: 10.32 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007195/0.3298, allocations: 290.3 kB / 1.311 GB, free: 10.03 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006131/0.3304, allocations: 268.6 kB / 1.311 GB, free: 9.766 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 2.227e-05/0.3304, allocations: 8 kB / 1.311 GB, free: 9.758 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.302e-05/0.3305, allocations: 34.56 kB / 1.311 GB, free: 9.715 MB / 1.014 GB Notification: Performance of pre-optimization done (n=7): time 1.273e-06/0.3305, allocations: 0 / 1.311 GB, free: 9.715 MB / 1.014 GB Notification: Performance of matching and sorting (n=7): time 0.001974/0.3324, allocations: 0.7781 MB / 1.312 GB, free: 8.93 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.525e-05/0.3325, allocations: 59.41 kB / 1.312 GB, free: 8.859 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003512/0.3328, allocations: 298.7 kB / 1.312 GB, free: 8.555 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 2.981e-05/0.3329, allocations: 25.7 kB / 1.313 GB, free: 8.523 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001187/0.333, allocations: 156.3 kB / 1.313 GB, free: 8.367 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 4.166e-05/0.333, allocations: 27.78 kB / 1.313 GB, free: 8.34 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.076e-05/0.3331, allocations: 37.67 kB / 1.313 GB, free: 8.297 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001506/0.3333, allocations: 338.7 kB / 1.313 GB, free: 7.957 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006404/0.3339, allocations: 263.8 kB / 1.313 GB, free: 7.699 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006019/0.3345, allocations: 255.8 kB / 1.314 GB, free: 7.449 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001106/0.3356, allocations: 448.3 kB / 1.314 GB, free: 7.008 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.585e-06/0.3356, allocations: 0 / 1.314 GB, free: 7.008 MB / 1.014 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.001305/0.3369, allocations: 0.5323 MB / 1.314 GB, free: 6.469 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 1.799e-05/0.3369, allocations: 4 kB / 1.314 GB, free: 6.465 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.46e-06/0.337, allocations: 0 / 1.314 GB, free: 6.465 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.498e-05/0.337, allocations: 0 / 1.314 GB, free: 6.465 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004357/0.3374, allocations: 91.83 kB / 1.315 GB, free: 6.375 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.736e-06/0.3374, allocations: 0.5469 kB / 1.315 GB, free: 6.375 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003239/0.3377, allocations: 75.86 kB / 1.315 GB, free: 6.301 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.544e-05/0.3378, allocations: 7.984 kB / 1.315 GB, free: 6.293 MB / 1.014 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.000158/0.3379, allocations: 145.7 kB / 1.315 GB, free: 6.141 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.506e-05/0.338, allocations: 23.8 kB / 1.315 GB, free: 6.117 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.985e-05/0.338, allocations: 29.69 kB / 1.315 GB, free: 6.086 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.055e-06/0.338, allocations: 4 kB / 1.315 GB, free: 6.082 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.219e-06/0.338, allocations: 0 / 1.315 GB, free: 6.082 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.675e-06/0.338, allocations: 4 kB / 1.315 GB, free: 6.078 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005215/0.3386, allocations: 448.2 kB / 1.315 GB, free: 5.594 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.583e-06/0.3386, allocations: 0 / 1.315 GB, free: 5.594 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003799/0.339, allocations: 87.83 kB / 1.315 GB, free: 5.508 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.196e-06/0.339, allocations: 4 kB / 1.315 GB, free: 5.504 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.298e-05/0.339, allocations: 7.984 kB / 1.315 GB, free: 5.496 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.623e-06/0.339, allocations: 0 / 1.315 GB, free: 5.496 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.122e-06/0.339, allocations: 0 / 1.315 GB, free: 5.496 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001376/0.3404, allocations: 0.6317 MB / 1.316 GB, free: 4.848 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 9.336e-05/0.3404, allocations: 101 kB / 1.316 GB, free: 4.73 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.029e-05/0.3405, allocations: 8 kB / 1.316 GB, free: 4.723 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003405/0.3408, allocations: 75.8 kB / 1.316 GB, free: 4.648 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.612e-05/0.3409, allocations: 4 kB / 1.316 GB, free: 4.645 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.683e-05/0.3409, allocations: 11.97 kB / 1.316 GB, free: 4.633 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.0002272/0.3411, allocations: 217.9 kB / 1.316 GB, free: 4.422 MB / 1.014 GB Notification: Performance of sort global known variables: time 8.1e-08/0.3411, allocations: 0 / 1.316 GB, free: 4.422 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.0003185/0.3414, allocations: 39.89 kB / 1.316 GB, free: 4.383 MB / 1.014 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.001731/0.3432, allocations: 1.18 MB / 1.318 GB, free: 3.176 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.001305/0.3445, allocations: 0.5268 MB / 1.318 GB, free: 2.648 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 2.104e-06/0.3445, allocations: 0 / 1.318 GB, free: 2.648 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.0006357/0.3451, allocations: 271.7 kB / 1.318 GB, free: 2.383 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003092/0.3454, allocations: 24.48 kB / 1.318 GB, free: 2.355 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006503/0.3519, allocations: 3.885 MB / 1.322 GB, free: 14.39 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003849/0.3523, allocations: 0.7552 MB / 1.323 GB, free: 13.61 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 0.0002025/0.3525, allocations: 53.42 kB / 1.323 GB, free: 13.55 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001615/0.3527, allocations: 79.38 kB / 1.323 GB, free: 13.48 MB / 1.029 GB Notification: Performance of SimCode: time 5.81e-07/0.3527, allocations: 0 / 1.323 GB, free: 13.48 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02867/0.3814, allocations: 5.09 MB / 1.328 GB, free: 8.543 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.374/8.755, allocations: 10.08 kB / 1.328 GB, free: 8.539 MB / 1.029 GB " [Timeout remaining time 291] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.NormalizedHeatFlowRate_res.mat --tempDir=temp_Buildings_latest_Buildings_Fluid_Storage_Ice_BaseClasses_Examples_NormalizedHeatFlowRate_fmu --startTime=0 --stopTime=7200 --stepSize=2.88 --timeout=800 --tolerance=1e-06 Buildings_latest_Buildings_Fluid_Storage_Ice_BaseClasses_Examples_NormalizedHeatFlowRate.fmu > Buildings_latest_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.NormalizedHeatFlowRate.pipe 2>&1) [Timeout 840.0] 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: 15.200907345861197]