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.001699/0.001699, allocations: 109.4 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.002048/0.002048, 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.443/1.443, 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 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.812/2.812, allocations: 476.7 MB / 0.7611 GB, free: 11.32 MB / 0.6231 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.002017/0.002017, allocations: 67.89 kB / 1.104 GB, free: 9.293 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8295/0.8315, allocations: 168.7 MB / 1.269 GB, free: 5.184 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Storage.Ice.BaseClasses.Examples.NormalizedHeatFlowRate): time 0.003636/0.8351, allocations: 1.982 MB / 1.271 GB, free: 3.195 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.001374/0.8365, allocations: 0.6973 MB / 1.271 GB, free: 2.492 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001073/0.8366, allocations: 3.938 kB / 1.271 GB, free: 2.488 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.000153/0.8368, allocations: 27.73 kB / 1.271 GB, free: 2.461 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 9.738e-05/0.8369, allocations: 27.78 kB / 1.271 GB, free: 2.434 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003776/0.8372, allocations: 83.78 kB / 1.272 GB, free: 2.352 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.0002236/0.8375, allocations: 143.7 kB / 1.272 GB, free: 2.211 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000187/0.8377, allocations: 58.45 kB / 1.272 GB, free: 2.152 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001182/0.8378, allocations: 67.64 kB / 1.272 GB, free: 2.086 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001561/0.8379, allocations: 67.69 kB / 1.272 GB, free: 2.02 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 3.311e-05/0.838, allocations: 20 kB / 1.272 GB, free: 2 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001624/0.8381, allocations: 71.88 kB / 1.272 GB, free: 1.93 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 0.0001101/0.8382, allocations: 75.75 kB / 1.272 GB, free: 1.855 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 0.0001045/0.8383, allocations: 87.41 kB / 1.272 GB, free: 1.77 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0003915/0.8387, allocations: 270.7 kB / 1.272 GB, free: 1.504 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 7.895e-06/0.8387, allocations: 4 kB / 1.272 GB, free: 1.5 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.573e-06/0.8387, allocations: 0 / 1.272 GB, free: 1.5 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 7.284e-06/0.8387, allocations: 0 / 1.272 GB, free: 1.5 MB / 0.9669 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.0009184/0.8397, allocations: 0.5489 MB / 1.273 GB, free: 0.9023 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 3.664e-05/0.8397, allocations: 8.031 kB / 1.273 GB, free: 0.8945 MB / 0.9669 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.714e-05/0.8398, allocations: 46.73 kB / 1.273 GB, free: 0.8398 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001713/0.8415, allocations: 420 kB / 1.273 GB, free: 440 kB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005488/0.842, allocations: 312 kB / 1.274 GB, free: 92 kB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001234/0.8421, allocations: 76.17 kB / 1.274 GB, free: 4 kB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.749e-05/0.8422, allocations: 12.42 kB / 1.274 GB, free: 15.99 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008905/0.8431, allocations: 383.8 kB / 1.274 GB, free: 15.61 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.576e-06/0.8431, allocations: 0 / 1.274 GB, free: 15.61 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.048e-05/0.8431, allocations: 0 / 1.274 GB, free: 15.61 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.175e-06/0.8431, allocations: 7.984 kB / 1.274 GB, free: 15.61 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001288/0.8444, allocations: 0.5545 MB / 1.275 GB, free: 15.05 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001843/0.8463, allocations: 0.9938 MB / 1.276 GB, free: 14 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006941/0.847, allocations: 298.2 kB / 1.276 GB, free: 13.7 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006331/0.8476, allocations: 268.6 kB / 1.276 GB, free: 13.44 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 1.831e-05/0.8476, allocations: 0 / 1.276 GB, free: 13.44 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.172e-05/0.8476, allocations: 38.56 kB / 1.276 GB, free: 13.39 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=7): time 1.302e-06/0.8476, allocations: 0 / 1.276 GB, free: 13.39 MB / 0.9825 GB Notification: Performance of matching and sorting (n=7): time 0.001981/0.8496, allocations: 0.782 MB / 1.277 GB, free: 12.6 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.321e-05/0.8497, allocations: 55.41 kB / 1.277 GB, free: 12.54 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003585/0.85, allocations: 302.7 kB / 1.277 GB, free: 12.23 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 2.804e-05/0.8501, allocations: 25.7 kB / 1.277 GB, free: 12.2 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001187/0.8502, allocations: 144.5 kB / 1.277 GB, free: 12.05 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 4.596e-05/0.8502, allocations: 35.72 kB / 1.277 GB, free: 12.02 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.821e-05/0.8503, allocations: 33.69 kB / 1.278 GB, free: 11.98 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001635/0.8505, allocations: 346.6 kB / 1.278 GB, free: 11.63 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006368/0.8511, allocations: 255.8 kB / 1.278 GB, free: 11.38 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006171/0.8517, allocations: 263.7 kB / 1.278 GB, free: 11.12 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00111/0.8528, allocations: 436.4 kB / 1.279 GB, free: 10.69 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.385e-06/0.8528, allocations: 0 / 1.279 GB, free: 10.69 MB / 0.9825 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.00135/0.8542, allocations: 0.5245 MB / 1.279 GB, free: 10.16 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 2.016e-05/0.8542, allocations: 11.94 kB / 1.279 GB, free: 10.15 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.322e-06/0.8542, allocations: 0 / 1.279 GB, free: 10.15 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.742e-05/0.8542, allocations: 0 / 1.279 GB, free: 10.15 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004164/0.8547, allocations: 99.77 kB / 1.279 GB, free: 10.05 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.781e-06/0.8547, allocations: 0 / 1.279 GB, free: 10.05 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003274/0.855, allocations: 79.81 kB / 1.279 GB, free: 9.973 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.587e-05/0.855, allocations: 7.984 kB / 1.279 GB, free: 9.965 MB / 0.9825 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.0001694/0.8552, allocations: 145.8 kB / 1.28 GB, free: 9.812 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.116e-05/0.8552, allocations: 19.86 kB / 1.28 GB, free: 9.793 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.555e-05/0.8553, allocations: 25.7 kB / 1.28 GB, free: 9.766 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.518e-06/0.8553, allocations: 4 kB / 1.28 GB, free: 9.762 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.878e-06/0.8553, allocations: 0 / 1.28 GB, free: 9.762 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.635e-06/0.8553, allocations: 0 / 1.28 GB, free: 9.762 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005621/0.8559, allocations: 444.1 kB / 1.28 GB, free: 9.277 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.437e-06/0.8559, allocations: 8 kB / 1.28 GB, free: 9.27 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003735/0.8562, allocations: 87.83 kB / 1.28 GB, free: 9.184 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.485e-06/0.8562, allocations: 0 / 1.28 GB, free: 9.184 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.584e-05/0.8563, allocations: 11.98 kB / 1.28 GB, free: 9.172 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.203e-06/0.8563, allocations: 4 kB / 1.28 GB, free: 9.168 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.292e-06/0.8563, allocations: 0 / 1.28 GB, free: 9.168 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001382/0.8577, allocations: 0.6355 MB / 1.281 GB, free: 8.516 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 9.846e-05/0.8578, allocations: 96.97 kB / 1.281 GB, free: 8.402 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.595e-05/0.8578, allocations: 0 / 1.281 GB, free: 8.402 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003488/0.8581, allocations: 75.86 kB / 1.281 GB, free: 8.328 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.759e-05/0.8582, allocations: 11.98 kB / 1.281 GB, free: 8.316 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.488e-05/0.8582, allocations: 7.984 kB / 1.281 GB, free: 8.309 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.0002453/0.8585, allocations: 217.9 kB / 1.281 GB, free: 8.098 MB / 0.9825 GB Notification: Performance of sort global known variables: time 1.21e-07/0.8585, allocations: 0 / 1.281 GB, free: 8.098 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0003621/0.8588, allocations: 43.89 kB / 1.281 GB, free: 8.055 MB / 0.9825 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.001719/0.8606, allocations: 1.177 MB / 1.282 GB, free: 6.852 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.001328/0.8619, allocations: 0.5197 MB / 1.283 GB, free: 6.332 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.615e-06/0.8619, allocations: 0 / 1.283 GB, free: 6.332 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0006324/0.8625, allocations: 279.7 kB / 1.283 GB, free: 6.059 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003082/0.8628, allocations: 20.44 kB / 1.283 GB, free: 6.039 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006757/0.8696, allocations: 3.904 MB / 1.287 GB, free: 2.062 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004553/0.87, allocations: 0.7513 MB / 1.288 GB, free: 1.285 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 0.0002229/0.8703, allocations: 57.41 kB / 1.288 GB, free: 1.23 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001823/0.8704, allocations: 85.88 kB / 1.288 GB, free: 1.148 MB / 0.9825 GB Notification: Performance of SimCode: time 1.162e-06/0.8704, allocations: 0 / 1.288 GB, free: 1.148 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03285/0.9033, allocations: 5.078 MB / 1.293 GB, free: 12.21 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.303/9.206, allocations: 12.47 kB / 1.293 GB, free: 12.2 MB / 0.9981 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 --stepSize=2.88 --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.383861209265888]