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.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.0007868/0.0007868, allocations: 80.44 kB / 19.17 MB, free: 0.7422 MB / 13.93 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.0009103/0.0009103, allocations: 169.9 kB / 22.46 MB, free: 2.105 MB / 18.57 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 0.8778/0.8778, allocations: 177.1 MB / 202.8 MB, free: 5.742 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 1.728/1.728, allocations: 389 MB / 0.633 GB, free: 12.68 MB / 0.6042 GB " [Timeout remaining time 178] Using package Buildings with version 13.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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_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 1.453e-06/1.453e-06, allocations: 3.938 kB / 0.9997 GB, free: 13.48 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.332e-05/1.477e-05, allocations: 6.281 kB / 0.9997 GB, free: 13.48 MB / 0.9636 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Storage.Ice.BaseClasses.Examples.NormalizedHeatFlowRate): time 0.002071/0.002086, allocations: 1.952 MB / 1.002 GB, free: 11.52 MB / 0.9636 GB Notification: Performance of NFInst.instExpressions: time 0.000896/0.002982, allocations: 0.6973 MB / 1.002 GB, free: 10.81 MB / 0.9636 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.295e-05/0.003065, allocations: 3.938 kB / 1.002 GB, free: 10.81 MB / 0.9636 GB Notification: Performance of NFTyping.typeComponents: time 0.0001224/0.003187, allocations: 27.72 kB / 1.002 GB, free: 10.78 MB / 0.9636 GB Notification: Performance of NFTyping.typeBindings: time 6.688e-05/0.003254, allocations: 27.73 kB / 1.002 GB, free: 10.75 MB / 0.9636 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003292/0.003583, allocations: 95.77 kB / 1.002 GB, free: 10.66 MB / 0.9636 GB Notification: Performance of NFFlatten.flatten: time 0.0001471/0.003731, allocations: 159.5 kB / 1.003 GB, free: 10.5 MB / 0.9636 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001337/0.003864, allocations: 67.17 kB / 1.003 GB, free: 10.44 MB / 0.9636 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001622/0.004026, allocations: 87.8 kB / 1.003 GB, free: 10.35 MB / 0.9636 GB Notification: Performance of NFSimplifyModel.simplify: time 7.059e-05/0.004097, allocations: 47.81 kB / 1.003 GB, free: 10.3 MB / 0.9636 GB Notification: Performance of NFPackage.collectConstants: time 3.003e-05/0.004127, allocations: 19.98 kB / 1.003 GB, free: 10.29 MB / 0.9636 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001204/0.004247, allocations: 63.89 kB / 1.003 GB, free: 10.22 MB / 0.9636 GB Notification: Performance of NFScalarize.scalarize: time 7.574e-05/0.004323, allocations: 67.75 kB / 1.003 GB, free: 10.16 MB / 0.9636 GB Notification: Performance of NFVerifyModel.verify: time 4.872e-05/0.004372, allocations: 59.77 kB / 1.003 GB, free: 10.1 MB / 0.9636 GB Notification: Performance of NFConvertDAE.convert: time 0.0002573/0.004629, allocations: 271.1 kB / 1.003 GB, free: 9.832 MB / 0.9636 GB Notification: Performance of FrontEnd - DAE generated: time 1.923e-06/0.004631, allocations: 0 / 1.003 GB, free: 9.832 MB / 0.9636 GB Notification: Performance of FrontEnd: time 5.31e-07/0.004632, allocations: 4 kB / 1.003 GB, free: 9.828 MB / 0.9636 GB Notification: Performance of Transformations before backend: time 4.338e-06/0.004636, allocations: 0 / 1.003 GB, free: 9.828 MB / 0.9636 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.0007961/0.005432, allocations: 496.9 kB / 1.004 GB, free: 9.309 MB / 0.9636 GB Notification: Performance of prepare preOptimizeDAE: time 3.553e-05/0.005468, allocations: 8.75 kB / 1.004 GB, free: 9.301 MB / 0.9636 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.561e-05/0.005503, allocations: 42.73 kB / 1.004 GB, free: 9.25 MB / 0.9636 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009225/0.006426, allocations: 0.6479 MB / 1.004 GB, free: 8.602 MB / 0.9636 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003287/0.006754, allocations: 268.9 kB / 1.005 GB, free: 8.316 MB / 0.9636 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.675e-05/0.006851, allocations: 135.6 kB / 1.005 GB, free: 8.16 MB / 0.9636 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.066e-05/0.006872, allocations: 12.38 kB / 1.005 GB, free: 8.148 MB / 0.9636 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004933/0.007365, allocations: 459.5 kB / 1.005 GB, free: 7.695 MB / 0.9636 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.955e-06/0.007373, allocations: 4.172 kB / 1.005 GB, free: 7.691 MB / 0.9636 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.803e-05/0.007391, allocations: 7.938 kB / 1.005 GB, free: 7.684 MB / 0.9636 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.58e-06/0.007397, allocations: 4 kB / 1.005 GB, free: 7.68 MB / 0.9636 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006615/0.008058, allocations: 0.6444 MB / 1.006 GB, free: 7.035 MB / 0.9636 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00104/0.009098, allocations: 1.029 MB / 1.007 GB, free: 5.961 MB / 0.9636 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000398/0.009496, allocations: 350.1 kB / 1.007 GB, free: 5.609 MB / 0.9636 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003364/0.009833, allocations: 320.5 kB / 1.008 GB, free: 5.293 MB / 0.9636 GB Notification: Performance of preOpt evalFunc (simulation): time 1.937e-05/0.009852, allocations: 3.938 kB / 1.008 GB, free: 5.289 MB / 0.9636 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.53e-05/0.009877, allocations: 38.56 kB / 1.008 GB, free: 5.242 MB / 0.9636 GB Notification: Performance of pre-optimization done (n=7): time 1.593e-06/0.009879, allocations: 0 / 1.008 GB, free: 5.242 MB / 0.9636 GB Notification: Performance of matching and sorting (n=7): time 0.001146/0.01103, allocations: 0.9693 MB / 1.009 GB, free: 4.266 MB / 0.9636 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.599e-05/0.01106, allocations: 55.41 kB / 1.009 GB, free: 4.199 MB / 0.9636 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002331/0.01129, allocations: 297.8 kB / 1.009 GB, free: 3.895 MB / 0.9636 GB Notification: Performance of collectPreVariables (initialization): time 2.043e-05/0.01131, allocations: 33.7 kB / 1.009 GB, free: 3.855 MB / 0.9636 GB Notification: Performance of collectInitialEqns (initialization): time 8.507e-05/0.0114, allocations: 156.4 kB / 1.009 GB, free: 3.699 MB / 0.9636 GB Notification: Performance of collectInitialBindings (initialization): time 2.599e-05/0.01143, allocations: 19.8 kB / 1.009 GB, free: 3.68 MB / 0.9636 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.591e-05/0.0115, allocations: 73.62 kB / 1.009 GB, free: 3.602 MB / 0.9636 GB Notification: Performance of setup shared object (initialization): time 9.775e-05/0.0116, allocations: 330.8 kB / 1.009 GB, free: 3.27 MB / 0.9636 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003286/0.01193, allocations: 323.5 kB / 1.01 GB, free: 2.953 MB / 0.9636 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003097/0.01224, allocations: 315.7 kB / 1.01 GB, free: 2.645 MB / 0.9636 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008454/0.01308, allocations: 0.5353 MB / 1.011 GB, free: 2.105 MB / 0.9636 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.784e-06/0.01308, allocations: 0 / 1.011 GB, free: 2.105 MB / 0.9636 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0006654/0.01375, allocations: 0.6647 MB / 1.011 GB, free: 1.434 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 1.344e-05/0.01376, allocations: 8 kB / 1.011 GB, free: 1.426 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.188e-06/0.01377, allocations: 0 / 1.011 GB, free: 1.426 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.034e-05/0.01378, allocations: 0 / 1.011 GB, free: 1.426 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002118/0.01399, allocations: 167.6 kB / 1.011 GB, free: 1.262 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.438e-06/0.01399, allocations: 4 kB / 1.011 GB, free: 1.258 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001481/0.01414, allocations: 119.7 kB / 1.011 GB, free: 1.141 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.76e-05/0.01423, allocations: 139.8 kB / 1.012 GB, free: 1.004 MB / 0.9636 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 9.129e-05/0.01432, allocations: 133.8 kB / 1.012 GB, free: 0.8633 MB / 0.9636 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.239e-05/0.01435, allocations: 31.78 kB / 1.012 GB, free: 0.832 MB / 0.9636 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.548e-05/0.01438, allocations: 17.78 kB / 1.012 GB, free: 0.8164 MB / 0.9636 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.631e-06/0.01438, allocations: 4 kB / 1.012 GB, free: 0.8125 MB / 0.9636 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.847e-06/0.01439, allocations: 3.938 kB / 1.012 GB, free: 0.8086 MB / 0.9636 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.757e-06/0.01439, allocations: 3.984 kB / 1.012 GB, free: 0.8047 MB / 0.9636 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002706/0.01466, allocations: 387.8 kB / 1.012 GB, free: 392 kB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.12e-07/0.01466, allocations: 7.938 kB / 1.012 GB, free: 384 kB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001741/0.01484, allocations: 163.7 kB / 1.012 GB, free: 220 kB / 0.9636 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.024e-06/0.01484, allocations: 0 / 1.012 GB, free: 220 kB / 0.9636 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.98e-05/0.01486, allocations: 23.97 kB / 1.012 GB, free: 196 kB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.573e-06/0.01486, allocations: 4 kB / 1.012 GB, free: 192 kB / 0.9636 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.71e-07/0.01486, allocations: 0 / 1.012 GB, free: 192 kB / 0.9636 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007042/0.01557, allocations: 0.7642 MB / 1.013 GB, free: 15.41 MB / 0.9792 GB Notification: Performance of postOpt removeConstants (simulation): time 2.696e-05/0.01559, allocations: 27.8 kB / 1.013 GB, free: 15.38 MB / 0.9792 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2e-05/0.01561, allocations: 4 kB / 1.013 GB, free: 15.38 MB / 0.9792 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001582/0.01577, allocations: 111.8 kB / 1.013 GB, free: 15.27 MB / 0.9792 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.719e-05/0.01581, allocations: 4 kB / 1.013 GB, free: 15.26 MB / 0.9792 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.276e-05/0.01589, allocations: 151.7 kB / 1.013 GB, free: 15.11 MB / 0.9792 GB Notification: Performance of sorting global known variables: time 0.000132/0.01602, allocations: 217.2 kB / 1.014 GB, free: 14.9 MB / 0.9792 GB Notification: Performance of sort global known variables: time 5e-08/0.01602, allocations: 0 / 1.014 GB, free: 14.9 MB / 0.9792 GB Notification: Performance of remove unused functions: time 0.0001987/0.01622, allocations: 35.95 kB / 1.014 GB, free: 14.87 MB / 0.9792 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.0009059/0.01713, allocations: 1.309 MB / 1.015 GB, free: 13.53 MB / 0.9792 GB Notification: Performance of simCode: created initialization part: time 0.0006822/0.01781, allocations: 0.6437 MB / 1.016 GB, free: 12.88 MB / 0.9792 GB Notification: Performance of simCode: created event and clocks part: time 1.854e-06/0.01781, allocations: 0 / 1.016 GB, free: 12.88 MB / 0.9792 GB Notification: Performance of simCode: created simulation system equations: time 0.000327/0.01814, allocations: 339.5 kB / 1.016 GB, free: 12.55 MB / 0.9792 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002033/0.01834, allocations: 15.45 kB / 1.016 GB, free: 12.54 MB / 0.9792 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003775/0.02212, allocations: 4.24 MB / 1.02 GB, free: 8.219 MB / 0.9792 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.994e-05/0.02221, allocations: 144.7 kB / 1.02 GB, free: 8.059 MB / 0.9792 GB Notification: Performance of simCode: alias equations: time 0.0002884/0.0225, allocations: 392.7 kB / 1.021 GB, free: 7.676 MB / 0.9792 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001429/0.02264, allocations: 116.4 kB / 1.021 GB, free: 7.559 MB / 0.9792 GB Notification: Performance of SimCode: time 4.8e-07/0.02264, allocations: 0 / 1.021 GB, free: 7.559 MB / 0.9792 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01888/0.04151, allocations: 5.905 MB / 1.026 GB, free: 1.816 MB / 0.9792 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.515/6.556, allocations: 12 kB / 1.026 GB, free: 1.805 MB / 0.9792 GB " [Timeout remaining time 293] (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/jenkins/ws/OpenModelicaLibraryTestingWork/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: 10.480014433152974]