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.00143/0.00143, allocations: 99.64 kB / 18.95 MB, free: 2.668 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.002444/0.002444, allocations: 215.5 kB / 22.24 MB, free: 5.262 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.51/1.51, allocations: 230.6 MB / 256 MB, free: 7.789 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.832/2.832, allocations: 476 MB / 0.7699 GB, free: 4.754 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-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: 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.00212/0.00212, allocations: 66.19 kB / 1.117 GB, free: 41.11 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3402/0.3423, allocations: 169.9 MB / 1.283 GB, free: 12.45 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Storage.Ice.BaseClasses.Examples.NormalizedHeatFlowRate): time 0.003874/0.3462, allocations: 1.97 MB / 1.284 GB, free: 10.47 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.001629/0.3478, allocations: 0.7013 MB / 1.285 GB, free: 9.766 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001605/0.3479, allocations: 4 kB / 1.285 GB, free: 9.762 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.0001652/0.3481, allocations: 19.73 kB / 1.285 GB, free: 9.742 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.0001079/0.3482, allocations: 23.8 kB / 1.285 GB, free: 9.719 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.000453/0.3487, allocations: 103.8 kB / 1.285 GB, free: 9.617 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0002278/0.3489, allocations: 151.5 kB / 1.285 GB, free: 9.469 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001819/0.3491, allocations: 62.67 kB / 1.286 GB, free: 9.402 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001807/0.3493, allocations: 63.77 kB / 1.286 GB, free: 9.34 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001256/0.3494, allocations: 71.56 kB / 1.286 GB, free: 9.27 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 3.438e-05/0.3494, allocations: 12 kB / 1.286 GB, free: 9.258 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001787/0.3496, allocations: 67.94 kB / 1.286 GB, free: 9.191 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.0001071/0.3497, allocations: 71.73 kB / 1.286 GB, free: 9.121 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 7.716e-05/0.3498, allocations: 67.55 kB / 1.286 GB, free: 9.055 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0003929/0.3502, allocations: 282.3 kB / 1.286 GB, free: 8.781 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 4.047e-06/0.3502, allocations: 4 kB / 1.286 GB, free: 8.777 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.503e-06/0.3502, allocations: 0 / 1.286 GB, free: 8.777 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 7.755e-06/0.3502, allocations: 0 / 1.286 GB, free: 8.777 MB / 0.9825 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.0009133/0.3511, allocations: 485 kB / 1.287 GB, free: 8.273 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.928e-05/0.3512, allocations: 12.03 kB / 1.287 GB, free: 8.262 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.637e-05/0.3512, allocations: 46.73 kB / 1.287 GB, free: 8.207 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001721/0.3529, allocations: 432 kB / 1.287 GB, free: 7.785 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005159/0.3535, allocations: 261.7 kB / 1.287 GB, free: 7.508 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001461/0.3536, allocations: 123.6 kB / 1.287 GB, free: 7.363 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.599e-05/0.3537, allocations: 16.36 kB / 1.287 GB, free: 7.348 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009319/0.3546, allocations: 387.1 kB / 1.288 GB, free: 6.965 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.113e-05/0.3546, allocations: 0 / 1.288 GB, free: 6.965 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.472e-05/0.3546, allocations: 7.938 kB / 1.288 GB, free: 6.957 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.037e-05/0.3546, allocations: 4 kB / 1.288 GB, free: 6.953 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001283/0.3559, allocations: 0.5397 MB / 1.288 GB, free: 6.414 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001788/0.3577, allocations: 0.9184 MB / 1.289 GB, free: 5.457 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006795/0.3584, allocations: 294.2 kB / 1.29 GB, free: 5.16 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006004/0.359, allocations: 268.6 kB / 1.29 GB, free: 4.895 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 2.674e-05/0.359, allocations: 0 / 1.29 GB, free: 4.895 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.545e-05/0.359, allocations: 30.56 kB / 1.29 GB, free: 4.855 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=7): time 1.533e-06/0.359, allocations: 0 / 1.29 GB, free: 4.855 MB / 0.9825 GB Notification: Performance of matching and sorting (n=7): time 0.002058/0.3611, allocations: 0.7898 MB / 1.291 GB, free: 4.059 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.76e-05/0.3612, allocations: 55.39 kB / 1.291 GB, free: 3.992 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003773/0.3615, allocations: 301.8 kB / 1.291 GB, free: 3.684 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 2.998e-05/0.3616, allocations: 25.7 kB / 1.291 GB, free: 3.652 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001328/0.3617, allocations: 156.4 kB / 1.291 GB, free: 3.496 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 4.438e-05/0.3617, allocations: 27.78 kB / 1.291 GB, free: 3.469 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.742e-05/0.3618, allocations: 41.67 kB / 1.291 GB, free: 3.422 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001637/0.362, allocations: 330.8 kB / 1.291 GB, free: 3.09 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006032/0.3626, allocations: 263.7 kB / 1.292 GB, free: 2.832 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005665/0.3632, allocations: 251.8 kB / 1.292 GB, free: 2.586 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001065/0.3642, allocations: 440.9 kB / 1.292 GB, free: 2.152 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.745e-06/0.3642, allocations: 0 / 1.292 GB, free: 2.152 MB / 0.9825 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.001239/0.3655, allocations: 0.5439 MB / 1.293 GB, free: 1.602 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 2.273e-05/0.3655, allocations: 6.344 kB / 1.293 GB, free: 1.598 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.293e-06/0.3655, allocations: 0 / 1.293 GB, free: 1.598 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.905e-05/0.3655, allocations: 0 / 1.293 GB, free: 1.598 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003907/0.3659, allocations: 91.83 kB / 1.293 GB, free: 1.508 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.143e-05/0.3659, allocations: 4 kB / 1.293 GB, free: 1.504 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003148/0.3662, allocations: 71.83 kB / 1.293 GB, free: 1.434 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.809e-05/0.3663, allocations: 15.97 kB / 1.293 GB, free: 1.418 MB / 0.9825 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.0001634/0.3664, allocations: 137.8 kB / 1.293 GB, free: 1.273 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.404e-05/0.3665, allocations: 27.86 kB / 1.293 GB, free: 1.246 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.286e-05/0.3665, allocations: 21.7 kB / 1.293 GB, free: 1.223 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.206e-06/0.3665, allocations: 0 / 1.293 GB, free: 1.223 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.01e-06/0.3666, allocations: 0 / 1.293 GB, free: 1.223 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.605e-06/0.3666, allocations: 4 kB / 1.293 GB, free: 1.219 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004925/0.367, allocations: 379.3 kB / 1.294 GB, free: 0.8047 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.777e-06/0.3671, allocations: 4 kB / 1.294 GB, free: 0.8008 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003645/0.3674, allocations: 95.77 kB / 1.294 GB, free: 0.707 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.537e-06/0.3674, allocations: 7.938 kB / 1.294 GB, free: 0.6992 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.618e-05/0.3674, allocations: 11.98 kB / 1.294 GB, free: 0.6875 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.134e-06/0.3674, allocations: 0 / 1.294 GB, free: 0.6875 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.874e-06/0.3675, allocations: 0 / 1.294 GB, free: 0.6875 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001313/0.3688, allocations: 0.6355 MB / 1.294 GB, free: 36 kB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 5.741e-05/0.3688, allocations: 19.86 kB / 1.294 GB, free: 16 kB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.812e-05/0.3689, allocations: 3.984 kB / 1.294 GB, free: 12 kB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003479/0.3692, allocations: 71.92 kB / 1.294 GB, free: 15.94 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.609e-05/0.3693, allocations: 15.92 kB / 1.295 GB, free: 15.93 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.266e-05/0.3693, allocations: 7.984 kB / 1.295 GB, free: 15.92 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0002366/0.3695, allocations: 217.2 kB / 1.295 GB, free: 15.71 MB / 0.9981 GB Notification: Performance of sort global known variables: time 8.1e-08/0.3695, allocations: 0 / 1.295 GB, free: 15.71 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0003206/0.3698, allocations: 47.83 kB / 1.295 GB, free: 15.66 MB / 0.9981 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.001734/0.3716, allocations: 1.173 MB / 1.296 GB, free: 14.46 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.001278/0.3729, allocations: 0.5268 MB / 1.296 GB, free: 13.93 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 2.505e-06/0.3729, allocations: 0 / 1.296 GB, free: 13.93 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0006059/0.3735, allocations: 271.7 kB / 1.297 GB, free: 13.67 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003137/0.3738, allocations: 16.36 kB / 1.297 GB, free: 13.65 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006532/0.3803, allocations: 3.904 MB / 1.301 GB, free: 9.668 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001486/0.3805, allocations: 136.6 kB / 1.301 GB, free: 9.52 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.0002069/0.3807, allocations: 53.42 kB / 1.301 GB, free: 9.465 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001715/0.3808, allocations: 83.38 kB / 1.301 GB, free: 9.383 MB / 0.9981 GB Notification: Performance of SimCode: time 1.142e-06/0.3808, allocations: 0 / 1.301 GB, free: 9.383 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03685/0.4177, allocations: 5.816 MB / 1.306 GB, free: 3.727 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.45/11.87, allocations: 1.719 kB / 1.306 GB, free: 3.727 MB / 0.9981 GB " [Timeout remaining time 287] (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/jenkins1/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: 18.700428148265928]