Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingEU.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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.Occupants.Residential.Heating.Validation.Nicol2001HeatingEU,fileNamePrefix="Buildings_9_Buildings_Occupants_Residential_Heating_Validation_Nicol2001HeatingEU",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingEU,fileNamePrefix="Buildings_9_Buildings_Occupants_Residential_Heating_Validation_Nicol2001HeatingEU",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001601/0.001601, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001746/0.001746, allocations: 195.5 kB / 16.53 MB, free: 6.391 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.357/1.357, allocations: 222.9 MB / 240.2 MB, free: 4.387 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.471/2.471, allocations: 390.3 MB / 0.6647 GB, free: 268 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001331/0.001331, allocations: 67.84 kB / 0.8126 GB, free: 14.16 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6179/0.6193, allocations: 140.4 MB / 0.9497 GB, free: 9.207 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingEU): time 0.00266/0.622, allocations: 1.469 MB / 0.9511 GB, free: 8.047 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.001262/0.6233, allocations: 0.7252 MB / 0.9519 GB, free: 7.484 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.189e-05/0.6233, allocations: 1.094 kB / 0.9519 GB, free: 7.484 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 3.029e-05/0.6234, allocations: 7.922 kB / 0.9519 GB, free: 7.477 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 5.951e-05/0.6234, allocations: 17.36 kB / 0.9519 GB, free: 7.461 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005562/0.624, allocations: 130 kB / 0.952 GB, free: 7.367 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 9.197e-05/0.6241, allocations: 75.22 kB / 0.9521 GB, free: 7.324 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 8.92e-05/0.6242, allocations: 18.59 kB / 0.9521 GB, free: 7.312 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 7.311e-05/0.6243, allocations: 33.5 kB / 0.9521 GB, free: 7.293 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 5.679e-05/0.6243, allocations: 36.34 kB / 0.9522 GB, free: 7.27 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.866e-05/0.6244, allocations: 6.594 kB / 0.9522 GB, free: 7.27 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001651/0.6245, allocations: 101.7 kB / 0.9523 GB, free: 7.215 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 2.136e-05/0.6246, allocations: 18.53 kB / 0.9523 GB, free: 7.199 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 4.039e-05/0.6246, allocations: 40.34 kB / 0.9523 GB, free: 7.168 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0001883/0.6248, allocations: 131.9 kB / 0.9524 GB, free: 7.086 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 4.048e-06/0.6248, allocations: 3.984 kB / 0.9524 GB, free: 7.082 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.302e-06/0.6248, allocations: 0 / 0.9524 GB, free: 7.082 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 5.07e-06/0.6248, allocations: 1.188 kB / 0.9524 GB, free: 7.082 MB / 0.7169 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0004868/0.6253, allocations: 419.2 kB / 0.9528 GB, free: 6.648 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.241e-05/0.6254, allocations: 14.03 kB / 0.9529 GB, free: 6.645 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.556e-05/0.6254, allocations: 40.14 kB / 0.9529 GB, free: 6.598 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.135e-05/0.6254, allocations: 3.969 kB / 0.9529 GB, free: 6.598 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.119e-05/0.6255, allocations: 176.9 kB / 0.9531 GB, free: 6.391 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.153e-05/0.6255, allocations: 3.156 kB / 0.9531 GB, free: 6.391 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.479e-05/0.6255, allocations: 3.469 kB / 0.9531 GB, free: 6.391 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001581/0.6257, allocations: 75.73 kB / 0.9532 GB, free: 6.328 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.672e-06/0.6257, allocations: 0 / 0.9532 GB, free: 6.328 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.057e-05/0.6257, allocations: 1.156 kB / 0.9532 GB, free: 6.328 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.528e-06/0.6257, allocations: 0.8438 kB / 0.9532 GB, free: 6.328 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000124/0.6259, allocations: 41.03 kB / 0.9532 GB, free: 6.309 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005325/0.6264, allocations: 321.3 kB / 0.9535 GB, free: 5.977 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001253/0.6266, allocations: 53.23 kB / 0.9535 GB, free: 5.934 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.322e-05/0.6266, allocations: 35.47 kB / 0.9536 GB, free: 5.91 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 2.236e-05/0.6267, allocations: 1 kB / 0.9536 GB, free: 5.91 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000187/0.6269, allocations: 77.09 kB / 0.9537 GB, free: 5.84 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=7): time 1.373e-06/0.6269, allocations: 0 / 0.9537 GB, free: 5.84 MB / 0.7169 GB Notification: Performance of matching and sorting (n=7): time 0.0003971/0.6273, allocations: 140.4 kB / 0.9538 GB, free: 5.758 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.546e-05/0.6273, allocations: 61.66 kB / 0.9539 GB, free: 5.688 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.799e-05/0.6274, allocations: 125.5 kB / 0.954 GB, free: 5.57 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.339e-05/0.6274, allocations: 25.7 kB / 0.954 GB, free: 5.539 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 3.689e-05/0.6275, allocations: 87.05 kB / 0.9541 GB, free: 5.453 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 2.106e-05/0.6275, allocations: 18.45 kB / 0.9541 GB, free: 5.438 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.561e-05/0.6275, allocations: 26.06 kB / 0.9541 GB, free: 5.414 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 5.199e-05/0.6276, allocations: 325.5 kB / 0.9544 GB, free: 5.09 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.071e-05/0.6277, allocations: 26.02 kB / 0.9545 GB, free: 5.078 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.568e-05/0.6278, allocations: 48.64 kB / 0.9545 GB, free: 5.039 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001486/0.6279, allocations: 73.92 kB / 0.9546 GB, free: 4.988 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.953e-06/0.6279, allocations: 3.938 kB / 0.9546 GB, free: 4.984 MB / 0.7169 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002094/0.6282, allocations: 112.5 kB / 0.9547 GB, free: 4.914 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.207e-05/0.6282, allocations: 5.688 kB / 0.9547 GB, free: 4.914 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.049e-06/0.6282, allocations: 1.25 kB / 0.9547 GB, free: 4.914 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.318e-05/0.6282, allocations: 5.109 kB / 0.9547 GB, free: 4.91 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.189e-05/0.6283, allocations: 8.125 kB / 0.9547 GB, free: 4.91 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.49e-06/0.6283, allocations: 1.312 kB / 0.9547 GB, free: 4.91 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.537e-05/0.6284, allocations: 15.55 kB / 0.9547 GB, free: 4.898 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.246e-05/0.6284, allocations: 7.469 kB / 0.9547 GB, free: 4.895 MB / 0.7169 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 9 (hea.occ,hea.curSeed,$PRE.hea.curSeed,hea.p,$PRE.hea.p,hea.on,$PRE.hea.on,hea.sampleTrigger,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (11): * Single equations (assignments): 11 * 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 6.281e-05/0.6285, allocations: 127.3 kB / 0.9548 GB, free: 4.766 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.713e-05/0.6285, allocations: 6.25 kB / 0.9549 GB, free: 4.762 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.502e-05/0.6285, allocations: 10.62 kB / 0.9549 GB, free: 4.754 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.216e-06/0.6285, allocations: 5.141 kB / 0.9549 GB, free: 4.75 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.198e-06/0.6285, allocations: 0 / 0.9549 GB, free: 4.75 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.757e-06/0.6285, allocations: 0 / 0.9549 GB, free: 4.75 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003451/0.6289, allocations: 391.7 kB / 0.9552 GB, free: 4.371 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.694e-06/0.6289, allocations: 4 kB / 0.9552 GB, free: 4.367 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.862e-05/0.629, allocations: 3.469 kB / 0.9552 GB, free: 4.367 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.823e-06/0.629, allocations: 0 / 0.9552 GB, free: 4.367 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.518e-06/0.629, allocations: 1.344 kB / 0.9553 GB, free: 4.367 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.514e-06/0.629, allocations: 5.156 kB / 0.9553 GB, free: 4.363 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.443e-06/0.629, allocations: 3.984 kB / 0.9553 GB, free: 4.359 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002278/0.6292, allocations: 206.1 kB / 0.9555 GB, free: 4.191 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 1.912e-05/0.6292, allocations: 87.11 kB / 0.9555 GB, free: 4.09 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.145e-05/0.6293, allocations: 1.188 kB / 0.9555 GB, free: 4.09 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.927e-05/0.6294, allocations: 10.77 kB / 0.9555 GB, free: 4.082 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.665e-05/0.6294, allocations: 6.781 kB / 0.9556 GB, free: 4.078 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.207e-06/0.6294, allocations: 10.52 kB / 0.9556 GB, free: 4.07 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 3.169e-05/0.6295, allocations: 87.69 kB / 0.9557 GB, free: 3.992 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.1e-07/0.6295, allocations: 0 / 0.9557 GB, free: 3.992 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002904/0.6298, allocations: 44.42 kB / 0.9557 GB, free: 3.977 MB / 0.7169 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 6 (hea.sampleTrigger,$whenCondition1,hea.occ,hea.on,hea.p,hea.curSeed) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (7): * Single equations (assignments): 4 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 3 * 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.0005931/0.6304, allocations: 0.8019 MB / 0.9565 GB, free: 3.25 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.000218/0.6306, allocations: 74.47 kB / 0.9565 GB, free: 3.219 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.483e-06/0.6306, allocations: 0 / 0.9565 GB, free: 3.219 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 8.633e-05/0.6307, allocations: 40.03 kB / 0.9566 GB, free: 3.199 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002449/0.6309, allocations: 11.5 kB / 0.9566 GB, free: 3.191 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001184/0.6321, allocations: 1.49 MB / 0.9581 GB, free: 1.812 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000105/0.6323, allocations: 0.688 MB / 0.9587 GB, free: 1.109 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 3.444e-05/0.6323, allocations: 10.64 kB / 0.9587 GB, free: 1.102 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.896e-05/0.6323, allocations: 19.44 kB / 0.9588 GB, free: 1.086 MB / 0.7169 GB Notification: Performance of SimCode: time 2.7e-07/0.6323, allocations: 0 / 0.9588 GB, free: 1.086 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01795/0.6503, allocations: 2.61 MB / 0.9613 GB, free: 15.71 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.206/7.856, allocations: 14.59 kB / 0.9613 GB, free: 15.71 MB / 0.7325 GB (rm -f Buildings_9_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingEU.pipe ; mkfifo Buildings_9_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingEU.pipe ; head -c 1048576 < Buildings_9_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingEU.pipe >> ../files/Buildings_9_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingEU.sim & python3 -m fmpy simulate --output-file Buildings_9_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingEU_res.csv --start-time 0 --stop-time 3600 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 1.44 Buildings_9_Buildings_Occupants_Residential_Heating_Validation_Nicol2001HeatingEU.fmu > Buildings_9_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingEU.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingEU_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Occupants_Residential_Heating_Validation_Nicol2001HeatingEU.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingEU.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) "Warning: Resultfile and Reference have different end time points! Reffile[551]=3600.000000 File[1236]=2249.280000 Error: Could not read variable hea.occ in file Buildings_9_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingEU_res.csv. Warning: Get data of variable hea.occ from file Buildings_9_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingEU_res.csv failed! Error: Could not read variable hea.on in file Buildings_9_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingEU_res.csv. Warning: Get data of variable hea.on from file Buildings_9_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingEU_res.csv failed! " Variables in the reference:time,hea.TOut,hea.occ,hea.on Variables in the result:time,hea.TOut,hea.p,TOut.amplitude,TOut.f,TOut.offset