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.001462/0.001462, allocations: 110.6 kB / 18.94 MB, free: 2.949 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.00167/0.00167, allocations: 220.3 kB / 22.26 MB, free: 5.125 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.313/1.313, allocations: 230.6 MB / 256 MB, free: 7.98 MB / 206.1 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 2.911/2.911, allocations: 0.505 GB / 0.8101 GB, free: 22.02 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 13.0.0 (/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: 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.001881/0.001881, allocations: 76.12 kB / 1.177 GB, free: 16.97 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2934/0.2953, allocations: 180.2 MB / 1.353 GB, free: 8.406 MB / 1.045 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Storage.Ice.BaseClasses.Examples.NormalizedHeatFlowRate): time 0.003073/0.2984, allocations: 2.019 MB / 1.355 GB, free: 6.375 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.001203/0.2996, allocations: 0.7525 MB / 1.356 GB, free: 5.617 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.337e-05/0.2996, allocations: 7.938 kB / 1.356 GB, free: 5.609 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 0.0001089/0.2998, allocations: 23.73 kB / 1.356 GB, free: 5.586 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 7.058e-05/0.2998, allocations: 15.81 kB / 1.356 GB, free: 5.57 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003384/0.3002, allocations: 95.75 kB / 1.356 GB, free: 5.477 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 0.0001989/0.3004, allocations: 159.5 kB / 1.356 GB, free: 5.32 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001463/0.3005, allocations: 65.17 kB / 1.356 GB, free: 5.254 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001374/0.3006, allocations: 67.77 kB / 1.356 GB, free: 5.188 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001002/0.3007, allocations: 75.56 kB / 1.356 GB, free: 5.113 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 2.824e-05/0.3008, allocations: 16 kB / 1.356 GB, free: 5.098 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001324/0.3009, allocations: 67.94 kB / 1.356 GB, free: 5.031 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 9.204e-05/0.301, allocations: 67.77 kB / 1.356 GB, free: 4.965 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 7.927e-05/0.3011, allocations: 91.39 kB / 1.356 GB, free: 4.875 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.0003094/0.3014, allocations: 266.8 kB / 1.357 GB, free: 4.613 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 3.206e-06/0.3014, allocations: 0 / 1.357 GB, free: 4.613 MB / 1.045 GB Notification: Performance of FrontEnd: time 1.092e-06/0.3014, allocations: 0 / 1.357 GB, free: 4.613 MB / 1.045 GB Notification: Performance of Transformations before backend: time 5.49e-06/0.3014, allocations: 0 / 1.357 GB, free: 4.613 MB / 1.045 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.0007285/0.3021, allocations: 488.9 kB / 1.357 GB, free: 4.105 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 3.147e-05/0.3022, allocations: 8.031 kB / 1.357 GB, free: 4.098 MB / 1.045 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.938e-05/0.3022, allocations: 46.73 kB / 1.357 GB, free: 4.043 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001712/0.3039, allocations: 432 kB / 1.357 GB, free: 3.621 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003923/0.3043, allocations: 261.7 kB / 1.358 GB, free: 3.34 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.00011/0.3044, allocations: 127.6 kB / 1.358 GB, free: 3.191 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.786e-05/0.3045, allocations: 12.38 kB / 1.358 GB, free: 3.18 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007897/0.3052, allocations: 380.3 kB / 1.358 GB, free: 2.805 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.186e-06/0.3052, allocations: 0 / 1.358 GB, free: 2.805 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.052e-05/0.3053, allocations: 4 kB / 1.358 GB, free: 2.801 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.64e-06/0.3053, allocations: 4 kB / 1.358 GB, free: 2.797 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001248/0.3065, allocations: 0.5506 MB / 1.359 GB, free: 2.246 MB / 1.045 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001657/0.3082, allocations: 0.9612 MB / 1.36 GB, free: 1.238 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006663/0.3088, allocations: 298.2 kB / 1.36 GB, free: 0.9375 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005988/0.3094, allocations: 268.6 kB / 1.36 GB, free: 0.6719 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 1.734e-05/0.3095, allocations: 0 / 1.36 GB, free: 0.6719 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.975e-05/0.3095, allocations: 38.56 kB / 1.36 GB, free: 0.625 MB / 1.045 GB Notification: Performance of pre-optimization done (n=7): time 8.92e-07/0.3095, allocations: 3.938 kB / 1.36 GB, free: 0.6211 MB / 1.045 GB Notification: Performance of matching and sorting (n=7): time 0.001873/0.3114, allocations: 0.782 MB / 1.361 GB, free: 15.83 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.148e-05/0.3114, allocations: 51.41 kB / 1.361 GB, free: 15.77 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003139/0.3117, allocations: 301.9 kB / 1.361 GB, free: 15.46 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 2.868e-05/0.3117, allocations: 29.7 kB / 1.361 GB, free: 15.43 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001024/0.3119, allocations: 152.2 kB / 1.362 GB, free: 15.28 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 3.679e-05/0.3119, allocations: 31.92 kB / 1.362 GB, free: 15.25 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.113e-05/0.312, allocations: 33.67 kB / 1.362 GB, free: 15.21 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 0.0001402/0.3121, allocations: 342.7 kB / 1.362 GB, free: 14.86 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005845/0.3127, allocations: 259.7 kB / 1.362 GB, free: 14.61 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005662/0.3133, allocations: 263.8 kB / 1.362 GB, free: 14.35 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001015/0.3143, allocations: 436.4 kB / 1.363 GB, free: 13.92 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.813e-06/0.3143, allocations: 0 / 1.363 GB, free: 13.92 MB / 1.061 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.001205/0.3155, allocations: 0.5284 MB / 1.363 GB, free: 13.39 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 1.787e-05/0.3155, allocations: 15.92 kB / 1.363 GB, free: 13.37 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.607e-06/0.3155, allocations: 0 / 1.363 GB, free: 13.37 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.547e-05/0.3155, allocations: 3.984 kB / 1.363 GB, free: 13.37 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003905/0.3159, allocations: 99.77 kB / 1.364 GB, free: 13.27 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.669e-06/0.3159, allocations: 0 / 1.364 GB, free: 13.27 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003039/0.3162, allocations: 71.88 kB / 1.364 GB, free: 13.2 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.255e-05/0.3162, allocations: 7.984 kB / 1.364 GB, free: 13.19 MB / 1.061 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.0001458/0.3164, allocations: 153.6 kB / 1.364 GB, free: 13.03 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.426e-05/0.3164, allocations: 19.86 kB / 1.364 GB, free: 13.01 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.154e-05/0.3165, allocations: 25.7 kB / 1.364 GB, free: 12.98 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.463e-06/0.3165, allocations: 4 kB / 1.364 GB, free: 12.98 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.336e-06/0.3165, allocations: 0 / 1.364 GB, free: 12.98 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.615e-06/0.3165, allocations: 0 / 1.364 GB, free: 12.98 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004581/0.317, allocations: 415.2 kB / 1.364 GB, free: 12.54 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.72e-07/0.317, allocations: 0 / 1.364 GB, free: 12.54 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000361/0.3173, allocations: 87.83 kB / 1.364 GB, free: 12.45 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.623e-06/0.3173, allocations: 0 / 1.364 GB, free: 12.45 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.441e-05/0.3173, allocations: 11.98 kB / 1.364 GB, free: 12.44 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.976e-06/0.3173, allocations: 7.984 kB / 1.364 GB, free: 12.43 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.11e-07/0.3173, allocations: 0.5469 kB / 1.364 GB, free: 12.43 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001274/0.3186, allocations: 0.6355 MB / 1.365 GB, free: 11.78 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 4.758e-05/0.3187, allocations: 27.78 kB / 1.365 GB, free: 11.75 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.497e-05/0.3187, allocations: 4 kB / 1.365 GB, free: 11.75 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003309/0.319, allocations: 67.88 kB / 1.365 GB, free: 11.68 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.119e-05/0.3191, allocations: 11.98 kB / 1.365 GB, free: 11.67 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.043e-05/0.3191, allocations: 7.984 kB / 1.365 GB, free: 11.66 MB / 1.061 GB Notification: Performance of sorting global known variables: time 0.0002177/0.3193, allocations: 217.2 kB / 1.365 GB, free: 11.45 MB / 1.061 GB Notification: Performance of sort global known variables: time 8e-08/0.3193, allocations: 0 / 1.365 GB, free: 11.45 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0002831/0.3196, allocations: 43.89 kB / 1.365 GB, free: 11.41 MB / 1.061 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.001572/0.3212, allocations: 1.177 MB / 1.366 GB, free: 10.2 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.001212/0.3224, allocations: 0.5229 MB / 1.367 GB, free: 9.68 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 1.793e-06/0.3224, allocations: 4 kB / 1.367 GB, free: 9.676 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.0005991/0.323, allocations: 267.7 kB / 1.367 GB, free: 9.414 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002639/0.3233, allocations: 20.44 kB / 1.367 GB, free: 9.391 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005863/0.3291, allocations: 3.899 MB / 1.371 GB, free: 5.406 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003529/0.3295, allocations: 0.7513 MB / 1.372 GB, free: 4.629 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 0.0001711/0.3296, allocations: 57.42 kB / 1.372 GB, free: 4.574 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001551/0.3298, allocations: 83.38 kB / 1.372 GB, free: 4.492 MB / 1.061 GB Notification: Performance of SimCode: time 3.31e-07/0.3298, allocations: 0 / 1.372 GB, free: 4.492 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03078/0.3606, allocations: 5.221 MB / 1.377 GB, free: 15.41 MB / 1.076 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.666/10.03, allocations: 15.53 kB / 1.377 GB, free: 15.4 MB / 1.076 GB " [Timeout remaining time 290] (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/jenkins1/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: 16.044060808999348]