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.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.0008717/0.0008717, 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.001645/0.001645, allocations: 165.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.8996/0.8996, allocations: 177.1 MB / 202.8 MB, free: 5.746 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 1.663/1.663, allocations: 359 MB / 0.6037 GB, free: 11.09 MB / 0.573 GB " [Timeout remaining time 178] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.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_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 1.603e-06/1.603e-06, allocations: 0 / 0.9505 GB, free: 3.492 MB / 0.9011 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.155e-05/2.315e-05, allocations: 10.22 kB / 0.9505 GB, free: 3.48 MB / 0.9011 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Storage.Ice.BaseClasses.Examples.NormalizedHeatFlowRate): time 0.002602/0.002625, allocations: 1.962 MB / 0.9524 GB, free: 1.5 MB / 0.9011 GB Notification: Performance of NFInst.instExpressions: time 0.000995/0.00362, allocations: 0.7089 MB / 0.9531 GB, free: 0.7852 MB / 0.9011 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001093/0.003729, allocations: 4 kB / 0.9531 GB, free: 0.7812 MB / 0.9011 GB Notification: Performance of NFTyping.typeComponents: time 0.0001227/0.003852, allocations: 23.72 kB / 0.9532 GB, free: 0.7578 MB / 0.9011 GB Notification: Performance of NFTyping.typeBindings: time 7.038e-05/0.003922, allocations: 19.81 kB / 0.9532 GB, free: 0.7383 MB / 0.9011 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003752/0.004297, allocations: 103.7 kB / 0.9533 GB, free: 0.6367 MB / 0.9011 GB Notification: Performance of NFFlatten.flatten: time 0.0001486/0.004446, allocations: 151.6 kB / 0.9534 GB, free: 500 kB / 0.9011 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001369/0.004583, allocations: 65 kB / 0.9535 GB, free: 432 kB / 0.9011 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001613/0.004744, allocations: 95.67 kB / 0.9536 GB, free: 336 kB / 0.9011 GB Notification: Performance of NFSimplifyModel.simplify: time 6.797e-05/0.004812, allocations: 51.8 kB / 0.9536 GB, free: 284 kB / 0.9011 GB Notification: Performance of NFPackage.collectConstants: time 2.212e-05/0.004834, allocations: 16 kB / 0.9536 GB, free: 268 kB / 0.9011 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001245/0.004959, allocations: 67.92 kB / 0.9537 GB, free: 200 kB / 0.9011 GB Notification: Performance of NFScalarize.scalarize: time 7.162e-05/0.005031, allocations: 67.77 kB / 0.9538 GB, free: 132 kB / 0.9011 GB Notification: Performance of NFVerifyModel.verify: time 4.485e-05/0.005075, allocations: 55.83 kB / 0.9538 GB, free: 76 kB / 0.9011 GB Notification: Performance of NFConvertDAE.convert: time 0.0002706/0.005346, allocations: 275.2 kB / 0.9541 GB, free: 15.8 MB / 0.9167 GB Notification: Performance of FrontEnd - DAE generated: time 3.196e-06/0.005349, allocations: 0 / 0.9541 GB, free: 15.8 MB / 0.9167 GB Notification: Performance of FrontEnd: time 1.002e-06/0.00535, allocations: 4 kB / 0.9541 GB, free: 15.8 MB / 0.9167 GB Notification: Performance of Transformations before backend: time 4.278e-06/0.005354, allocations: 3.938 kB / 0.9541 GB, free: 15.79 MB / 0.9167 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.0006139/0.005968, allocations: 0.4891 MB / 0.9546 GB, free: 15.27 MB / 0.9167 GB Notification: Performance of prepare preOptimizeDAE: time 3.572e-05/0.006004, allocations: 8.031 kB / 0.9546 GB, free: 15.27 MB / 0.9167 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.612e-05/0.00604, allocations: 46.69 kB / 0.9546 GB, free: 15.21 MB / 0.9167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009594/0.007, allocations: 0.6479 MB / 0.9553 GB, free: 14.56 MB / 0.9167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003095/0.007309, allocations: 272.9 kB / 0.9555 GB, free: 14.27 MB / 0.9167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.843e-05/0.007397, allocations: 139.6 kB / 0.9556 GB, free: 14.11 MB / 0.9167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.257e-05/0.00742, allocations: 12.38 kB / 0.9557 GB, free: 14.1 MB / 0.9167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004959/0.007916, allocations: 443.6 kB / 0.9561 GB, free: 13.66 MB / 0.9167 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.654e-06/0.007924, allocations: 192 / 0.9561 GB, free: 13.66 MB / 0.9167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.893e-05/0.007943, allocations: 7.938 kB / 0.9561 GB, free: 13.66 MB / 0.9167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.839e-06/0.007947, allocations: 0 / 0.9561 GB, free: 13.66 MB / 0.9167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006675/0.008615, allocations: 0.6518 MB / 0.9567 GB, free: 13 MB / 0.9167 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00107/0.009685, allocations: 1.024 MB / 0.9577 GB, free: 11.93 MB / 0.9167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003875/0.01007, allocations: 350.1 kB / 0.9581 GB, free: 11.58 MB / 0.9167 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000321/0.01039, allocations: 324.5 kB / 0.9584 GB, free: 11.26 MB / 0.9167 GB Notification: Performance of preOpt evalFunc (simulation): time 1.664e-05/0.01041, allocations: 0 / 0.9584 GB, free: 11.26 MB / 0.9167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.132e-05/0.01043, allocations: 38.56 kB / 0.9584 GB, free: 11.21 MB / 0.9167 GB Notification: Performance of pre-optimization done (n=7): time 1.433e-06/0.01043, allocations: 0 / 0.9584 GB, free: 11.21 MB / 0.9167 GB Notification: Performance of matching and sorting (n=7): time 0.00135/0.01178, allocations: 0.969 MB / 0.9594 GB, free: 10.24 MB / 0.9167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.088e-05/0.01181, allocations: 51.41 kB / 0.9594 GB, free: 10.18 MB / 0.9167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000215/0.01203, allocations: 301.9 kB / 0.9597 GB, free: 9.871 MB / 0.9167 GB Notification: Performance of collectPreVariables (initialization): time 1.773e-05/0.01205, allocations: 29.7 kB / 0.9597 GB, free: 9.836 MB / 0.9167 GB Notification: Performance of collectInitialEqns (initialization): time 7.852e-05/0.01212, allocations: 160.3 kB / 0.9599 GB, free: 9.676 MB / 0.9167 GB Notification: Performance of collectInitialBindings (initialization): time 2.809e-05/0.01215, allocations: 27.78 kB / 0.9599 GB, free: 9.648 MB / 0.9167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.011e-05/0.01222, allocations: 69.64 kB / 0.96 GB, free: 9.574 MB / 0.9167 GB Notification: Performance of setup shared object (initialization): time 8.426e-05/0.01231, allocations: 330.8 kB / 0.9603 GB, free: 9.242 MB / 0.9167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003348/0.01264, allocations: 315.6 kB / 0.9606 GB, free: 8.934 MB / 0.9167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003061/0.01295, allocations: 311.6 kB / 0.9609 GB, free: 8.629 MB / 0.9167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005707/0.01352, allocations: 0.5357 MB / 0.9614 GB, free: 8.09 MB / 0.9167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.314e-06/0.01352, allocations: 0 / 0.9614 GB, free: 8.09 MB / 0.9167 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0007077/0.01423, allocations: 0.6686 MB / 0.9621 GB, free: 7.414 MB / 0.9167 GB Notification: Performance of prepare postOptimizeDAE: time 1.739e-05/0.01425, allocations: 8 kB / 0.9621 GB, free: 7.406 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.583e-06/0.01425, allocations: 4 kB / 0.9621 GB, free: 7.402 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.347e-05/0.01427, allocations: 0 / 0.9621 GB, free: 7.402 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002374/0.0145, allocations: 163.7 kB / 0.9622 GB, free: 7.242 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.56e-06/0.01451, allocations: 0 / 0.9622 GB, free: 7.242 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000157/0.01467, allocations: 119.7 kB / 0.9623 GB, free: 7.125 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.134e-05/0.01476, allocations: 139.8 kB / 0.9625 GB, free: 6.988 MB / 0.9167 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.0001191/0.01488, allocations: 141.8 kB / 0.9626 GB, free: 6.84 MB / 0.9167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.419e-05/0.01491, allocations: 23.8 kB / 0.9626 GB, free: 6.816 MB / 0.9167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.369e-05/0.01494, allocations: 29.77 kB / 0.9627 GB, free: 6.785 MB / 0.9167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.615e-06/0.01495, allocations: 3.938 kB / 0.9627 GB, free: 6.781 MB / 0.9167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.02e-06/0.01495, allocations: 0 / 0.9627 GB, free: 6.781 MB / 0.9167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.705e-06/0.01495, allocations: 0 / 0.9627 GB, free: 6.781 MB / 0.9167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003046/0.01526, allocations: 395.5 kB / 0.963 GB, free: 6.352 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.255e-06/0.01526, allocations: 0 / 0.963 GB, free: 6.352 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001986/0.01546, allocations: 167.6 kB / 0.9632 GB, free: 6.188 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.489e-06/0.01546, allocations: 4 kB / 0.9632 GB, free: 6.184 MB / 0.9167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.138e-05/0.01549, allocations: 23.95 kB / 0.9632 GB, free: 6.16 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.156e-06/0.01549, allocations: 0 / 0.9632 GB, free: 6.16 MB / 0.9167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.212e-06/0.01549, allocations: 4 kB / 0.9632 GB, free: 6.156 MB / 0.9167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007322/0.01622, allocations: 0.7603 MB / 0.964 GB, free: 5.379 MB / 0.9167 GB Notification: Performance of postOpt removeConstants (simulation): time 3.373e-05/0.01626, allocations: 27.78 kB / 0.964 GB, free: 5.352 MB / 0.9167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.367e-05/0.01628, allocations: 8 kB / 0.964 GB, free: 5.344 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001683/0.01645, allocations: 111.8 kB / 0.9641 GB, free: 5.234 MB / 0.9167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.547e-05/0.01649, allocations: 3.984 kB / 0.9641 GB, free: 5.23 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.713e-05/0.01658, allocations: 147.7 kB / 0.9643 GB, free: 5.086 MB / 0.9167 GB Notification: Performance of sorting global known variables: time 0.0001527/0.01673, allocations: 221.2 kB / 0.9645 GB, free: 4.867 MB / 0.9167 GB Notification: Performance of sort global known variables: time 5e-08/0.01673, allocations: 0 / 0.9645 GB, free: 4.867 MB / 0.9167 GB Notification: Performance of remove unused functions: time 0.0002363/0.01697, allocations: 43.89 kB / 0.9645 GB, free: 4.824 MB / 0.9167 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.0009958/0.01797, allocations: 1.305 MB / 0.9658 GB, free: 3.492 MB / 0.9167 GB Notification: Performance of simCode: created initialization part: time 0.000964/0.01893, allocations: 0.6476 MB / 0.9664 GB, free: 2.84 MB / 0.9167 GB Notification: Performance of simCode: created event and clocks part: time 1.874e-06/0.01893, allocations: 0 / 0.9664 GB, free: 2.84 MB / 0.9167 GB Notification: Performance of simCode: created simulation system equations: time 0.0003303/0.01926, allocations: 347.5 kB / 0.9667 GB, free: 2.5 MB / 0.9167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002398/0.0195, allocations: 14.53 kB / 0.9668 GB, free: 2.488 MB / 0.9167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003799/0.0233, allocations: 4.238 MB / 0.9709 GB, free: 14.17 MB / 0.9323 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001043/0.02341, allocations: 136.7 kB / 0.971 GB, free: 14.02 MB / 0.9323 GB Notification: Performance of simCode: alias equations: time 0.0003258/0.02373, allocations: 388.8 kB / 0.9714 GB, free: 13.64 MB / 0.9323 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001539/0.02388, allocations: 116.4 kB / 0.9715 GB, free: 13.52 MB / 0.9323 GB Notification: Performance of SimCode: time 1.142e-06/0.02389, allocations: 0 / 0.9715 GB, free: 13.52 MB / 0.9323 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0185/0.04239, allocations: 5.924 MB / 0.9773 GB, free: 7.75 MB / 0.9323 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.927/6.969, allocations: 4 kB / 0.9773 GB, free: 7.746 MB / 0.9323 GB " [Timeout remaining time 293] (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 & python3 -m fmpy simulate --output-file Buildings_11_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.NormalizedHeatFlowRate_res.csv --start-time 0 --stop-time 7200 --timeout 400 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 2.88 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.csv","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Fluid_Storage_Ice_BaseClasses_Examples_NormalizedHeatFlowRate.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_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_11_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.NormalizedHeatFlowRate_res.csv. Warning: Get data of variable norQSta.canMelt from file Buildings_11_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.NormalizedHeatFlowRate_res.csv failed! Error: Could not read variable norQSta.SOC in file Buildings_11_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.NormalizedHeatFlowRate_res.csv. Warning: Get data of variable norQSta.SOC from file Buildings_11_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.NormalizedHeatFlowRate_res.csv failed! " [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 11.161578392609954]