Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.NormalizedHeatFlowRate.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001583/0.001583, allocations: 99.64 kB / 18.94 MB, free: 2.551 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001703/0.001703, allocations: 211.8 kB / 22.24 MB, free: 4.855 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.387/1.387, allocations: 230.6 MB / 256 MB, free: 7.789 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 2.94/2.94, allocations: 0.4892 GB / 0.7943 GB, free: 35.47 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Storage.Ice.BaseClasses.Examples.NormalizedHeatFlowRate,fileNamePrefix="Buildings_12_Buildings_Fluid_Storage_Ice_BaseClasses_Examples_NormalizedHeatFlowRate",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Storage.Ice.BaseClasses.Examples.NormalizedHeatFlowRate,fileNamePrefix="Buildings_12_Buildings_Fluid_Storage_Ice_BaseClasses_Examples_NormalizedHeatFlowRate",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001892/0.001892, allocations: 72.47 kB / 1.153 GB, free: 25.6 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3297/0.3316, allocations: 176.1 MB / 1.325 GB, free: 2.215 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Storage.Ice.BaseClasses.Examples.NormalizedHeatFlowRate): time 0.003244/0.3348, allocations: 1.952 MB / 1.327 GB, free: 260 kB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.001308/0.3361, allocations: 0.713 MB / 1.328 GB, free: 15.54 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.916e-05/0.3362, allocations: 11.88 kB / 1.328 GB, free: 15.52 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.0001181/0.3363, allocations: 19.8 kB / 1.328 GB, free: 15.5 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 7.667e-05/0.3364, allocations: 23.73 kB / 1.328 GB, free: 15.48 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003417/0.3368, allocations: 99.77 kB / 1.328 GB, free: 15.38 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0001852/0.337, allocations: 155.5 kB / 1.328 GB, free: 15.23 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001487/0.3371, allocations: 63.08 kB / 1.328 GB, free: 15.16 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000145/0.3372, allocations: 71.7 kB / 1.328 GB, free: 15.09 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001012/0.3373, allocations: 63.62 kB / 1.328 GB, free: 15.03 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 2.98e-05/0.3374, allocations: 16 kB / 1.328 GB, free: 15.02 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001543/0.3375, allocations: 71.88 kB / 1.328 GB, free: 14.95 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 9.267e-05/0.3376, allocations: 71.75 kB / 1.328 GB, free: 14.88 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 7.061e-05/0.3377, allocations: 71.53 kB / 1.328 GB, free: 14.8 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0003532/0.338, allocations: 278.8 kB / 1.329 GB, free: 14.53 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 3.436e-06/0.3381, allocations: 0 / 1.329 GB, free: 14.53 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.613e-06/0.3381, allocations: 0 / 1.329 GB, free: 14.53 MB / 1.029 GB Notification: Performance of Transformations before backend: time 5.831e-06/0.3381, allocations: 0 / 1.329 GB, free: 14.53 MB / 1.029 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.0007582/0.3388, allocations: 477 kB / 1.329 GB, free: 14.04 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 3.321e-05/0.3388, allocations: 8.031 kB / 1.329 GB, free: 14.03 MB / 1.029 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.238e-05/0.3389, allocations: 46.73 kB / 1.329 GB, free: 13.97 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001673/0.3406, allocations: 440 kB / 1.33 GB, free: 13.54 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004329/0.341, allocations: 257.7 kB / 1.33 GB, free: 13.27 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001251/0.3411, allocations: 119.6 kB / 1.33 GB, free: 13.13 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.284e-05/0.3412, allocations: 12.38 kB / 1.33 GB, free: 13.12 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008197/0.342, allocations: 383.8 kB / 1.33 GB, free: 12.74 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.796e-06/0.342, allocations: 0 / 1.33 GB, free: 12.74 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.175e-05/0.342, allocations: 4 kB / 1.33 GB, free: 12.73 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.975e-06/0.342, allocations: 4 kB / 1.33 GB, free: 12.73 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001265/0.3433, allocations: 0.5468 MB / 1.331 GB, free: 12.18 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001682/0.345, allocations: 0.9224 MB / 1.332 GB, free: 11.21 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006884/0.3457, allocations: 290.3 kB / 1.332 GB, free: 10.92 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006106/0.3463, allocations: 272.6 kB / 1.332 GB, free: 10.65 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 2.008e-05/0.3463, allocations: 0 / 1.332 GB, free: 10.65 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.877e-05/0.3463, allocations: 34.56 kB / 1.332 GB, free: 10.61 MB / 1.029 GB Notification: Performance of pre-optimization done (n=7): time 1.122e-06/0.3463, allocations: 4 kB / 1.332 GB, free: 10.61 MB / 1.029 GB Notification: Performance of matching and sorting (n=7): time 0.001931/0.3483, allocations: 0.782 MB / 1.333 GB, free: 9.816 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.659e-05/0.3483, allocations: 55.41 kB / 1.333 GB, free: 9.75 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003447/0.3487, allocations: 297.9 kB / 1.333 GB, free: 9.449 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 2.876e-05/0.3487, allocations: 29.7 kB / 1.333 GB, free: 9.414 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.000114/0.3488, allocations: 148.4 kB / 1.334 GB, free: 9.266 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 3.912e-05/0.3488, allocations: 31.73 kB / 1.334 GB, free: 9.234 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.198e-05/0.3489, allocations: 37.67 kB / 1.334 GB, free: 9.191 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001655/0.3491, allocations: 346.6 kB / 1.334 GB, free: 8.844 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005919/0.3497, allocations: 251.8 kB / 1.334 GB, free: 8.598 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000583/0.3503, allocations: 263.7 kB / 1.334 GB, free: 8.34 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00108/0.3513, allocations: 440.4 kB / 1.335 GB, free: 7.906 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.204e-06/0.3513, allocations: 0 / 1.335 GB, free: 7.906 MB / 1.029 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.001252/0.3526, allocations: 0.5284 MB / 1.335 GB, free: 7.371 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.67e-05/0.3526, allocations: 4 kB / 1.335 GB, free: 7.367 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.987e-06/0.3526, allocations: 0 / 1.335 GB, free: 7.367 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.558e-05/0.3526, allocations: 3.984 kB / 1.335 GB, free: 7.363 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003852/0.353, allocations: 103.8 kB / 1.336 GB, free: 7.262 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.949e-06/0.353, allocations: 0 / 1.336 GB, free: 7.262 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000302/0.3533, allocations: 71.83 kB / 1.336 GB, free: 7.191 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.446e-05/0.3533, allocations: 7.984 kB / 1.336 GB, free: 7.184 MB / 1.029 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.0001487/0.3535, allocations: 149.8 kB / 1.336 GB, free: 7.027 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.348e-05/0.3535, allocations: 19.86 kB / 1.336 GB, free: 7.008 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.728e-05/0.3536, allocations: 25.7 kB / 1.336 GB, free: 6.98 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.374e-06/0.3536, allocations: 0 / 1.336 GB, free: 6.98 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.907e-06/0.3536, allocations: 0 / 1.336 GB, free: 6.98 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.918e-06/0.3536, allocations: 4 kB / 1.336 GB, free: 6.977 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004775/0.3541, allocations: 383.2 kB / 1.336 GB, free: 6.555 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.022e-06/0.3541, allocations: 0 / 1.336 GB, free: 6.555 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003577/0.3544, allocations: 95.77 kB / 1.336 GB, free: 6.461 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.074e-06/0.3544, allocations: 0 / 1.336 GB, free: 6.461 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.662e-05/0.3545, allocations: 7.984 kB / 1.336 GB, free: 6.453 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.302e-06/0.3545, allocations: 0 / 1.336 GB, free: 6.453 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.082e-06/0.3545, allocations: 0 / 1.336 GB, free: 6.453 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001312/0.3558, allocations: 0.6355 MB / 1.337 GB, free: 5.801 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 5.252e-05/0.3558, allocations: 19.86 kB / 1.337 GB, free: 5.781 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.848e-05/0.3559, allocations: 8 kB / 1.337 GB, free: 5.773 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003224/0.3562, allocations: 71.86 kB / 1.337 GB, free: 5.703 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.732e-05/0.3563, allocations: 7.984 kB / 1.337 GB, free: 5.695 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.443e-05/0.3563, allocations: 7.984 kB / 1.337 GB, free: 5.688 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.0002489/0.3565, allocations: 221.2 kB / 1.337 GB, free: 5.473 MB / 1.029 GB Notification: Performance of sort global known variables: time 8e-08/0.3565, allocations: 4 kB / 1.337 GB, free: 5.469 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0003003/0.3568, allocations: 39.89 kB / 1.337 GB, free: 5.43 MB / 1.029 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.001792/0.3586, allocations: 1.181 MB / 1.338 GB, free: 4.223 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.001308/0.3599, allocations: 0.519 MB / 1.339 GB, free: 3.703 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.836e-06/0.3599, allocations: 0 / 1.339 GB, free: 3.703 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0006361/0.3606, allocations: 279.9 kB / 1.339 GB, free: 3.43 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002973/0.3609, allocations: 16.59 kB / 1.339 GB, free: 3.41 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006505/0.3674, allocations: 3.911 MB / 1.343 GB, free: 15.42 MB / 1.045 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001539/0.3675, allocations: 136.6 kB / 1.343 GB, free: 15.27 MB / 1.045 GB Notification: Performance of simCode: alias equations: time 0.0001997/0.3677, allocations: 61.42 kB / 1.343 GB, free: 15.21 MB / 1.045 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001682/0.3679, allocations: 83.38 kB / 1.343 GB, free: 15.13 MB / 1.045 GB Notification: Performance of SimCode: time 9.52e-07/0.3679, allocations: 0 / 1.343 GB, free: 15.13 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0351/0.403, allocations: 5.811 MB / 1.349 GB, free: 9.465 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.56/10.96, allocations: 0 / 1.349 GB, free: 9.465 MB / 1.045 GB " [Timeout remaining time 289] (rm -f Buildings_12_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.NormalizedHeatFlowRate.pipe ; mkfifo Buildings_12_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.NormalizedHeatFlowRate.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.NormalizedHeatFlowRate.pipe >> ../files/Buildings_12_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.NormalizedHeatFlowRate.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_12_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.NormalizedHeatFlowRate_res.mat --tempDir=temp_Buildings_12_Buildings_Fluid_Storage_Ice_BaseClasses_Examples_NormalizedHeatFlowRate_fmu --startTime=0 --stopTime=7200 --stepSize=2.88 --timeout=400 --tolerance=1e-06 Buildings_12_Buildings_Fluid_Storage_Ice_BaseClasses_Examples_NormalizedHeatFlowRate.fmu > Buildings_12_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.NormalizedHeatFlowRate.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.NormalizedHeatFlowRate_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Fluid_Storage_Ice_BaseClasses_Examples_NormalizedHeatFlowRate.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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: 17.120055055245757]