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.0007808/0.0007808, 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.0007894/0.0007894, allocations: 165.9 kB / 22.45 MB, free: 2.109 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.8659/0.8659, allocations: 177.1 MB / 202.8 MB, free: 5.598 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.678/1.678, allocations: 389 MB / 0.633 GB, free: 12.72 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.042e-06/1.042e-06, allocations: 0 / 0.9997 GB, free: 13.47 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 8.807e-06/9.849e-06, allocations: 2.281 kB / 0.9997 GB, free: 13.46 MB / 0.9636 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Storage.Ice.BaseClasses.Examples.NormalizedHeatFlowRate): time 0.001935/0.001944, allocations: 1.964 MB / 1.002 GB, free: 11.49 MB / 0.9636 GB Notification: Performance of NFInst.instExpressions: time 0.0007915/0.002736, allocations: 0.7011 MB / 1.002 GB, free: 10.79 MB / 0.9636 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.935e-05/0.002815, allocations: 7.938 kB / 1.002 GB, free: 10.78 MB / 0.9636 GB Notification: Performance of NFTyping.typeComponents: time 0.0001115/0.002927, allocations: 15.8 kB / 1.002 GB, free: 10.76 MB / 0.9636 GB Notification: Performance of NFTyping.typeBindings: time 6.411e-05/0.002991, allocations: 27.73 kB / 1.002 GB, free: 10.73 MB / 0.9636 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002989/0.00329, allocations: 103.7 kB / 1.002 GB, free: 10.63 MB / 0.9636 GB Notification: Performance of NFFlatten.flatten: time 0.0001348/0.003425, allocations: 151.5 kB / 1.003 GB, free: 10.48 MB / 0.9636 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001295/0.003554, allocations: 57 kB / 1.003 GB, free: 10.43 MB / 0.9636 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001246/0.003679, allocations: 99.78 kB / 1.003 GB, free: 10.33 MB / 0.9636 GB Notification: Performance of NFSimplifyModel.simplify: time 5.677e-05/0.003735, allocations: 51.8 kB / 1.003 GB, free: 10.28 MB / 0.9636 GB Notification: Performance of NFPackage.collectConstants: time 2.139e-05/0.003757, allocations: 12 kB / 1.003 GB, free: 10.27 MB / 0.9636 GB Notification: Performance of NFFlatten.collectFunctions: time 9.611e-05/0.003853, allocations: 71.83 kB / 1.003 GB, free: 10.2 MB / 0.9636 GB Notification: Performance of NFScalarize.scalarize: time 6.795e-05/0.003921, allocations: 71.73 kB / 1.003 GB, free: 10.12 MB / 0.9636 GB Notification: Performance of NFVerifyModel.verify: time 4.077e-05/0.003962, allocations: 51.84 kB / 1.003 GB, free: 10.07 MB / 0.9636 GB Notification: Performance of NFConvertDAE.convert: time 0.0002174/0.004179, allocations: 275 kB / 1.003 GB, free: 9.805 MB / 0.9636 GB Notification: Performance of FrontEnd - DAE generated: time 1.984e-06/0.004181, allocations: 0 / 1.003 GB, free: 9.805 MB / 0.9636 GB Notification: Performance of FrontEnd: time 6.21e-07/0.004182, allocations: 0 / 1.003 GB, free: 9.805 MB / 0.9636 GB Notification: Performance of Transformations before backend: time 3.456e-06/0.004185, allocations: 0 / 1.003 GB, free: 9.805 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.0005182/0.004703, allocations: 493 kB / 1.004 GB, free: 9.289 MB / 0.9636 GB Notification: Performance of prepare preOptimizeDAE: time 3.136e-05/0.004735, allocations: 8.75 kB / 1.004 GB, free: 9.281 MB / 0.9636 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.295e-05/0.004768, allocations: 42.75 kB / 1.004 GB, free: 9.23 MB / 0.9636 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001118/0.005886, allocations: 0.644 MB / 1.004 GB, free: 8.586 MB / 0.9636 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002822/0.006168, allocations: 276.9 kB / 1.005 GB, free: 8.293 MB / 0.9636 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.742e-05/0.006246, allocations: 139.6 kB / 1.005 GB, free: 8.133 MB / 0.9636 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.21e-05/0.006268, allocations: 12.38 kB / 1.005 GB, free: 8.121 MB / 0.9636 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004714/0.006739, allocations: 447.6 kB / 1.005 GB, free: 7.68 MB / 0.9636 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.954e-06/0.006747, allocations: 192 / 1.005 GB, free: 7.68 MB / 0.9636 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.969e-05/0.006767, allocations: 15.88 kB / 1.005 GB, free: 7.664 MB / 0.9636 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.238e-06/0.006771, allocations: 0 / 1.005 GB, free: 7.664 MB / 0.9636 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006651/0.007436, allocations: 0.6445 MB / 1.006 GB, free: 7.02 MB / 0.9636 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009858/0.008422, allocations: 1.029 MB / 1.007 GB, free: 5.945 MB / 0.9636 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003662/0.008788, allocations: 354.1 kB / 1.007 GB, free: 5.59 MB / 0.9636 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003173/0.009105, allocations: 324.5 kB / 1.008 GB, free: 5.27 MB / 0.9636 GB Notification: Performance of preOpt evalFunc (simulation): time 1.368e-05/0.009119, allocations: 0 / 1.008 GB, free: 5.27 MB / 0.9636 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.214e-05/0.009141, allocations: 42.5 kB / 1.008 GB, free: 5.219 MB / 0.9636 GB Notification: Performance of pre-optimization done (n=7): time 8.52e-07/0.009142, allocations: 0 / 1.008 GB, free: 5.219 MB / 0.9636 GB Notification: Performance of matching and sorting (n=7): time 0.001049/0.01019, allocations: 0.9768 MB / 1.009 GB, free: 4.234 MB / 0.9636 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.481e-05/0.01022, allocations: 51.41 kB / 1.009 GB, free: 4.172 MB / 0.9636 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002034/0.01042, allocations: 301.8 kB / 1.009 GB, free: 3.863 MB / 0.9636 GB Notification: Performance of collectPreVariables (initialization): time 1.838e-05/0.01044, allocations: 29.7 kB / 1.009 GB, free: 3.828 MB / 0.9636 GB Notification: Performance of collectInitialEqns (initialization): time 6.725e-05/0.0105, allocations: 148.3 kB / 1.009 GB, free: 3.68 MB / 0.9636 GB Notification: Performance of collectInitialBindings (initialization): time 2.578e-05/0.01053, allocations: 31.92 kB / 1.009 GB, free: 3.648 MB / 0.9636 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.42e-05/0.01059, allocations: 69.64 kB / 1.009 GB, free: 3.574 MB / 0.9636 GB Notification: Performance of setup shared object (initialization): time 7.606e-05/0.01067, allocations: 334.8 kB / 1.009 GB, free: 3.238 MB / 0.9636 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003132/0.01098, allocations: 315.6 kB / 1.01 GB, free: 2.93 MB / 0.9636 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003027/0.01129, allocations: 311.6 kB / 1.01 GB, free: 2.625 MB / 0.9636 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005592/0.01185, allocations: 0.5279 MB / 1.011 GB, free: 2.094 MB / 0.9636 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.503e-06/0.01185, allocations: 0 / 1.011 GB, free: 2.094 MB / 0.9636 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0009115/0.01276, allocations: 0.6725 MB / 1.011 GB, free: 1.414 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 1.129e-05/0.01277, allocations: 4 kB / 1.011 GB, free: 1.41 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.799e-06/0.01277, allocations: 3.984 kB / 1.011 GB, free: 1.406 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.959e-06/0.01278, allocations: 8 kB / 1.011 GB, free: 1.398 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002055/0.01299, allocations: 163.6 kB / 1.011 GB, free: 1.238 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.418e-06/0.01299, allocations: 0 / 1.011 GB, free: 1.238 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001464/0.01314, allocations: 115.7 kB / 1.011 GB, free: 1.125 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.793e-05/0.01323, allocations: 143.7 kB / 1.012 GB, free: 0.9844 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.057e-05/0.01332, allocations: 137.8 kB / 1.012 GB, free: 0.8398 MB / 0.9636 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.382e-05/0.01335, allocations: 23.8 kB / 1.012 GB, free: 0.8164 MB / 0.9636 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.689e-05/0.01338, allocations: 29.77 kB / 1.012 GB, free: 0.7891 MB / 0.9636 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.463e-06/0.01338, allocations: 0 / 1.012 GB, free: 0.7891 MB / 0.9636 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.737e-06/0.01339, allocations: 0 / 1.012 GB, free: 0.7891 MB / 0.9636 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.866e-06/0.01339, allocations: 0 / 1.012 GB, free: 0.7891 MB / 0.9636 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002741/0.01366, allocations: 395.7 kB / 1.012 GB, free: 368 kB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.754e-06/0.01366, allocations: 7.922 kB / 1.012 GB, free: 360 kB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001775/0.01384, allocations: 159.7 kB / 1.012 GB, free: 200 kB / 0.9636 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.234e-06/0.01384, allocations: 4 kB / 1.012 GB, free: 196 kB / 0.9636 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.131e-05/0.01387, allocations: 27.95 kB / 1.012 GB, free: 168 kB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.263e-06/0.01387, allocations: 0 / 1.012 GB, free: 168 kB / 0.9636 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.12e-07/0.01387, allocations: 0 / 1.012 GB, free: 168 kB / 0.9636 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007114/0.01458, allocations: 0.7642 MB / 1.013 GB, free: 15.38 MB / 0.9792 GB Notification: Performance of postOpt removeConstants (simulation): time 2.648e-05/0.0146, allocations: 27.78 kB / 1.013 GB, free: 15.36 MB / 0.9792 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.93e-05/0.01462, allocations: 0 / 1.013 GB, free: 15.36 MB / 0.9792 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001605/0.01478, allocations: 111.8 kB / 1.013 GB, free: 15.25 MB / 0.9792 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.524e-05/0.01482, allocations: 11.98 kB / 1.013 GB, free: 15.23 MB / 0.9792 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.354e-05/0.0149, allocations: 143.7 kB / 1.013 GB, free: 15.09 MB / 0.9792 GB Notification: Performance of sorting global known variables: time 0.0001308/0.01503, allocations: 217.2 kB / 1.014 GB, free: 14.88 MB / 0.9792 GB Notification: Performance of sort global known variables: time 6e-08/0.01503, allocations: 0 / 1.014 GB, free: 14.88 MB / 0.9792 GB Notification: Performance of remove unused functions: time 0.0001842/0.01522, allocations: 43.89 kB / 1.014 GB, free: 14.84 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.0008906/0.01611, allocations: 1.305 MB / 1.015 GB, free: 13.5 MB / 0.9792 GB Notification: Performance of simCode: created initialization part: time 0.0006967/0.01681, allocations: 0.6437 MB / 1.016 GB, free: 12.86 MB / 0.9792 GB Notification: Performance of simCode: created event and clocks part: time 1.382e-06/0.01681, allocations: 3.938 kB / 1.016 GB, free: 12.86 MB / 0.9792 GB Notification: Performance of simCode: created simulation system equations: time 0.0003333/0.01714, allocations: 347.5 kB / 1.016 GB, free: 12.52 MB / 0.9792 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001979/0.01734, allocations: 12.5 kB / 1.016 GB, free: 12.5 MB / 0.9792 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003762/0.0211, allocations: 4.223 MB / 1.02 GB, free: 8.203 MB / 0.9792 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.796e-05/0.02119, allocations: 144.7 kB / 1.02 GB, free: 8.043 MB / 0.9792 GB Notification: Performance of simCode: alias equations: time 0.000284/0.02147, allocations: 388.8 kB / 1.021 GB, free: 7.664 MB / 0.9792 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001378/0.02161, allocations: 112.4 kB / 1.021 GB, free: 7.551 MB / 0.9792 GB Notification: Performance of SimCode: time 5.71e-07/0.02161, allocations: 4 kB / 1.021 GB, free: 7.547 MB / 0.9792 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01571/0.03732, allocations: 5.914 MB / 1.026 GB, free: 1.797 MB / 0.9792 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.459/6.497, allocations: 8.062 kB / 1.026 GB, free: 1.789 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 & python3 -m fmpy simulate --output-file Buildings_latest_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.NormalizedHeatFlowRate_res.csv --start-time 0 --stop-time 7200 --timeout 800 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 2.88 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.csv","/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] "Error: Could not read variable norQSta.canMelt in file Buildings_latest_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.NormalizedHeatFlowRate_res.csv. Warning: Get data of variable norQSta.canMelt from file Buildings_latest_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.NormalizedHeatFlowRate_res.csv failed! Error: Could not read variable norQSta.SOC in file Buildings_latest_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.NormalizedHeatFlowRate_res.csv. Warning: Get data of variable norQSta.SOC from file Buildings_latest_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.NormalizedHeatFlowRate_res.csv failed! " [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 10.421621521003544]