Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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.001676/0.001676, allocations: 108.2 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.001894/0.001894, 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.465/1.465, allocations: 225.6 MB / 247.8 MB, free: 13.93 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.627/2.627, allocations: 443.5 MB / 0.7287 GB, free: 13.26 MB / 0.5919 GB " [Timeout remaining time 177] Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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_10_Buildings_Fluid_Storage_Ice_BaseClasses_Examples_NormalizedHeatFlowRate",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Storage.Ice.BaseClasses.Examples.NormalizedHeatFlowRate,fileNamePrefix="Buildings_10_Buildings_Fluid_Storage_Ice_BaseClasses_Examples_NormalizedHeatFlowRate",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002188/0.002188, allocations: 71.88 kB / 1.056 GB, free: 5.863 MB / 0.8575 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7735/0.7757, allocations: 160.7 MB / 1.213 GB, free: 3.84 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Storage.Ice.BaseClasses.Examples.NormalizedHeatFlowRate): time 0.003632/0.7793, allocations: 2 MB / 1.215 GB, free: 2.277 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.001449/0.7807, allocations: 0.6964 MB / 1.216 GB, free: 1.723 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001456/0.7809, allocations: 2.875 kB / 1.216 GB, free: 1.723 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 0.0001456/0.781, allocations: 20.8 kB / 1.216 GB, free: 1.703 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 0.0001055/0.7811, allocations: 23.98 kB / 1.216 GB, free: 1.684 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.000368/0.7815, allocations: 91.86 kB / 1.216 GB, free: 1.613 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.0002249/0.7817, allocations: 147.8 kB / 1.216 GB, free: 1.523 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001762/0.7819, allocations: 60.77 kB / 1.216 GB, free: 1.484 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001449/0.7821, allocations: 67.73 kB / 1.216 GB, free: 1.438 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001385/0.7822, allocations: 67.41 kB / 1.216 GB, free: 1.387 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 3.494e-05/0.7822, allocations: 13.88 kB / 1.216 GB, free: 1.387 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001704/0.7824, allocations: 64.17 kB / 1.216 GB, free: 1.359 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 0.0001129/0.7825, allocations: 78.02 kB / 1.216 GB, free: 1.305 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 0.0001059/0.7826, allocations: 92.59 kB / 1.216 GB, free: 1.23 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.0004219/0.783, allocations: 264.7 kB / 1.217 GB, free: 1.035 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 4.178e-06/0.783, allocations: 1.094 kB / 1.217 GB, free: 1.035 MB / 0.92 GB Notification: Performance of FrontEnd: time 1.593e-06/0.783, allocations: 4 kB / 1.217 GB, free: 1.031 MB / 0.92 GB Notification: Performance of Transformations before backend: time 9.458e-06/0.7831, allocations: 0 / 1.217 GB, free: 1.031 MB / 0.92 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.001007/0.7841, allocations: 0.5418 MB / 1.217 GB, free: 0.5156 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 3.982e-05/0.7841, allocations: 10.89 kB / 1.217 GB, free: 0.5156 MB / 0.92 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.202e-05/0.7842, allocations: 42.66 kB / 1.217 GB, free: 480 kB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001785/0.7859, allocations: 434.9 kB / 1.218 GB, free: 248 kB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005155/0.7865, allocations: 312.7 kB / 1.218 GB, free: 15.95 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.147e-05/0.7866, allocations: 72.5 kB / 1.218 GB, free: 15.87 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.096e-05/0.7866, allocations: 11.19 kB / 1.218 GB, free: 15.87 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008492/0.7874, allocations: 391.7 kB / 1.218 GB, free: 15.65 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.997e-06/0.7874, allocations: 1.281 kB / 1.218 GB, free: 15.65 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.38e-05/0.7875, allocations: 5.219 kB / 1.218 GB, free: 15.65 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.824e-06/0.7875, allocations: 1.844 kB / 1.218 GB, free: 15.65 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001258/0.7887, allocations: 0.5426 MB / 1.219 GB, free: 15.41 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001808/0.7905, allocations: 1.004 MB / 1.22 GB, free: 14.68 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006972/0.7912, allocations: 291.1 kB / 1.22 GB, free: 14.54 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006141/0.7919, allocations: 270.6 kB / 1.22 GB, free: 14.41 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 2.055e-05/0.7919, allocations: 5.109 kB / 1.22 GB, free: 14.41 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.127e-05/0.7919, allocations: 32.25 kB / 1.22 GB, free: 14.37 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=7): time 1.512e-06/0.7919, allocations: 0 / 1.22 GB, free: 14.37 MB / 0.9356 GB Notification: Performance of matching and sorting (n=7): time 0.001955/0.7939, allocations: 0.7797 MB / 1.221 GB, free: 14 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.613e-05/0.7939, allocations: 52.56 kB / 1.221 GB, free: 13.93 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003298/0.7942, allocations: 303.5 kB / 1.221 GB, free: 13.74 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 3.01e-05/0.7943, allocations: 27.11 kB / 1.221 GB, free: 13.71 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001133/0.7944, allocations: 152.6 kB / 1.222 GB, free: 13.57 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 3.14e-05/0.7944, allocations: 18.58 kB / 1.222 GB, free: 13.55 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.852e-05/0.7945, allocations: 52.66 kB / 1.222 GB, free: 13.5 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001833/0.7947, allocations: 337.4 kB / 1.222 GB, free: 13.17 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006001/0.7953, allocations: 254.4 kB / 1.222 GB, free: 13.06 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005929/0.7959, allocations: 260 kB / 1.223 GB, free: 12.95 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001173/0.797, allocations: 436.4 kB / 1.223 GB, free: 12.75 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.085e-06/0.7971, allocations: 4 kB / 1.223 GB, free: 12.75 MB / 0.9356 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.001284/0.7983, allocations: 0.5379 MB / 1.223 GB, free: 12.48 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.914e-05/0.7984, allocations: 4.844 kB / 1.223 GB, free: 12.48 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.262e-06/0.7984, allocations: 4.719 kB / 1.223 GB, free: 12.48 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.712e-05/0.7984, allocations: 1.031 kB / 1.223 GB, free: 12.48 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004279/0.7988, allocations: 91.98 kB / 1.224 GB, free: 12.43 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.923e-06/0.7988, allocations: 1.281 kB / 1.224 GB, free: 12.43 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003272/0.7991, allocations: 79.75 kB / 1.224 GB, free: 12.39 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.463e-05/0.7992, allocations: 6.797 kB / 1.224 GB, free: 12.38 MB / 0.9356 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.0001688/0.7993, allocations: 143.5 kB / 1.224 GB, free: 12.25 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.119e-05/0.7994, allocations: 28.06 kB / 1.224 GB, free: 12.23 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.851e-05/0.7994, allocations: 21.69 kB / 1.224 GB, free: 12.21 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.865e-06/0.7994, allocations: 1.438 kB / 1.224 GB, free: 12.21 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.09e-06/0.7995, allocations: 1.438 kB / 1.224 GB, free: 12.21 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.731e-06/0.7995, allocations: 3.984 kB / 1.224 GB, free: 12.21 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005069/0.8, allocations: 439.4 kB / 1.224 GB, free: 11.86 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.244e-06/0.8, allocations: 1.344 kB / 1.224 GB, free: 11.86 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003732/0.8003, allocations: 96.48 kB / 1.224 GB, free: 11.81 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.224e-06/0.8003, allocations: 0 / 1.224 GB, free: 11.81 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.218e-05/0.8004, allocations: 10.64 kB / 1.224 GB, free: 11.8 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.424e-06/0.8004, allocations: 1.375 kB / 1.224 GB, free: 11.8 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.044e-06/0.8004, allocations: 0.5469 kB / 1.224 GB, free: 11.8 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00133/0.8017, allocations: 0.6389 MB / 1.225 GB, free: 11.43 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 9.333e-05/0.8018, allocations: 97.31 kB / 1.225 GB, free: 11.32 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.711e-05/0.8018, allocations: 1.219 kB / 1.225 GB, free: 11.32 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003468/0.8022, allocations: 78.67 kB / 1.225 GB, free: 11.28 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.872e-05/0.8022, allocations: 2.5 kB / 1.225 GB, free: 11.28 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.474e-05/0.8022, allocations: 11.84 kB / 1.225 GB, free: 11.27 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 0.0002376/0.8025, allocations: 215 kB / 1.225 GB, free: 11.13 MB / 0.9356 GB Notification: Performance of sort global known variables: time 1.21e-07/0.8025, allocations: 4 kB / 1.225 GB, free: 11.12 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0003075/0.8028, allocations: 44.83 kB / 1.225 GB, free: 11.11 MB / 0.9356 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.001703/0.8045, allocations: 1.175 MB / 1.227 GB, free: 9.926 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.001289/0.8058, allocations: 0.5229 MB / 1.227 GB, free: 9.402 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 2.033e-06/0.8058, allocations: 0 / 1.227 GB, free: 9.402 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.0006509/0.8064, allocations: 279.6 kB / 1.227 GB, free: 9.129 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002859/0.8067, allocations: 12.56 kB / 1.227 GB, free: 9.117 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006388/0.8131, allocations: 3.892 MB / 1.231 GB, free: 5.152 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003698/0.8135, allocations: 0.7474 MB / 1.232 GB, free: 4.379 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 0.0002115/0.8137, allocations: 57.41 kB / 1.232 GB, free: 4.316 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001597/0.8139, allocations: 83.38 kB / 1.232 GB, free: 4.238 MB / 0.9356 GB Notification: Performance of SimCode: time 7.91e-07/0.8139, allocations: 0 / 1.232 GB, free: 4.238 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02851/0.8424, allocations: 5.084 MB / 1.237 GB, free: 15.3 MB / 0.9512 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.278/9.121, allocations: 19 kB / 1.237 GB, free: 15.29 MB / 0.9512 GB " [Timeout remaining time 291] (rm -f Buildings_10_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.NormalizedHeatFlowRate.pipe ; mkfifo Buildings_10_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.NormalizedHeatFlowRate.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.NormalizedHeatFlowRate.pipe >> ../files/Buildings_10_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.NormalizedHeatFlowRate.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.NormalizedHeatFlowRate_res.mat --tempDir=temp_Buildings_10_Buildings_Fluid_Storage_Ice_BaseClasses_Examples_NormalizedHeatFlowRate_fmu --startTime=0 --stopTime=7200 --stepSize=2.88 --timeout=400 --tolerance=1e-06 Buildings_10_Buildings_Fluid_Storage_Ice_BaseClasses_Examples_NormalizedHeatFlowRate.fmu > Buildings_10_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.NormalizedHeatFlowRate.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_10_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.NormalizedHeatFlowRate_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Fluid_Storage_Ice_BaseClasses_Examples_NormalizedHeatFlowRate.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_10_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.08686891477555]