Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingUK.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.001228/0.001228, allocations: 108.2 kB / 17.54 MB, free: 4.766 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.001243/0.001243, allocations: 182.7 kB / 20.71 MB, free: 1.609 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.325/1.325, allocations: 225.6 MB / 249.3 MB, free: 3.312 MB / 190.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.352/2.352, allocations: 443.5 MB / 0.7304 GB, free: 14.05 MB / 0.5762 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.Occupants.Residential.Heating.Validation.Nicol2001HeatingUK,fileNamePrefix="Buildings_10_Buildings_Occupants_Residential_Heating_Validation_Nicol2001HeatingUK",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingUK,fileNamePrefix="Buildings_10_Buildings_Occupants_Residential_Heating_Validation_Nicol2001HeatingUK",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002013/0.002013, allocations: 63.89 kB / 1.059 GB, free: 1.086 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2745/0.2765, allocations: 160.7 MB / 1.216 GB, free: 64 kB / 0.9512 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingUK): time 0.002694/0.2792, allocations: 1.503 MB / 1.217 GB, free: 14.54 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.001305/0.2805, allocations: 0.7525 MB / 1.218 GB, free: 13.78 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.551e-05/0.2805, allocations: 4 kB / 1.218 GB, free: 13.78 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 2.633e-05/0.2805, allocations: 3.938 kB / 1.218 GB, free: 13.77 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 5.73e-05/0.2806, allocations: 19.84 kB / 1.218 GB, free: 13.75 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005269/0.2811, allocations: 115.6 kB / 1.218 GB, free: 13.64 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.0001251/0.2813, allocations: 83.7 kB / 1.218 GB, free: 13.56 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 7.611e-05/0.2813, allocations: 7.984 kB / 1.218 GB, free: 13.55 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 8.41e-05/0.2814, allocations: 35.91 kB / 1.218 GB, free: 13.52 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 6.648e-05/0.2815, allocations: 31.91 kB / 1.218 GB, free: 13.48 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 1.549e-05/0.2815, allocations: 15.94 kB / 1.218 GB, free: 13.47 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002119/0.2817, allocations: 107.8 kB / 1.218 GB, free: 13.36 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 2.724e-05/0.2817, allocations: 15.97 kB / 1.218 GB, free: 13.35 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 4.3e-05/0.2818, allocations: 31.86 kB / 1.218 GB, free: 13.32 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0002338/0.282, allocations: 139.8 kB / 1.218 GB, free: 13.18 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 2.875e-06/0.282, allocations: 4 kB / 1.218 GB, free: 13.18 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.472e-06/0.282, allocations: 0 / 1.218 GB, free: 13.18 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 4.468e-06/0.282, allocations: 3.938 kB / 1.218 GB, free: 13.17 MB / 0.9669 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.0006284/0.2826, allocations: 420.7 kB / 1.219 GB, free: 12.71 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 3.515e-05/0.2827, allocations: 12.03 kB / 1.219 GB, free: 12.7 MB / 0.9669 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.031e-05/0.2827, allocations: 38.73 kB / 1.219 GB, free: 12.65 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.649e-05/0.2828, allocations: 12.83 kB / 1.219 GB, free: 12.64 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001324/0.2829, allocations: 176.3 kB / 1.219 GB, free: 12.43 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.273e-05/0.2829, allocations: 4.375 kB / 1.219 GB, free: 12.42 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.02e-05/0.2829, allocations: 8.375 kB / 1.219 GB, free: 12.41 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001807/0.2831, allocations: 65.78 kB / 1.219 GB, free: 12.34 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.334e-06/0.2831, allocations: 0 / 1.219 GB, free: 12.34 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.262e-05/0.2831, allocations: 7.922 kB / 1.219 GB, free: 12.34 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.617e-06/0.2831, allocations: 4 kB / 1.219 GB, free: 12.33 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001263/0.2833, allocations: 35.98 kB / 1.219 GB, free: 12.3 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005848/0.2839, allocations: 316.7 kB / 1.219 GB, free: 11.94 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001255/0.284, allocations: 42.56 kB / 1.219 GB, free: 11.89 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.595e-05/0.2841, allocations: 32.97 kB / 1.219 GB, free: 11.85 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 2.159e-05/0.2841, allocations: 4 kB / 1.219 GB, free: 11.85 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001832/0.2843, allocations: 75.31 kB / 1.219 GB, free: 11.76 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=7): time 1.333e-06/0.2843, allocations: 0 / 1.219 GB, free: 11.76 MB / 0.9669 GB Notification: Performance of matching and sorting (n=7): time 0.0003785/0.2846, allocations: 141.7 kB / 1.22 GB, free: 11.62 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.953e-05/0.2847, allocations: 55.41 kB / 1.22 GB, free: 11.55 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.906e-05/0.2848, allocations: 125.8 kB / 1.22 GB, free: 11.42 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 2.148e-05/0.2848, allocations: 29.7 kB / 1.22 GB, free: 11.38 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 6.065e-05/0.2849, allocations: 96.03 kB / 1.22 GB, free: 11.29 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 2.272e-05/0.2849, allocations: 23.83 kB / 1.22 GB, free: 11.26 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.887e-05/0.2849, allocations: 25.7 kB / 1.22 GB, free: 11.23 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001303/0.2851, allocations: 318.8 kB / 1.22 GB, free: 10.91 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.277e-05/0.2852, allocations: 27.98 kB / 1.22 GB, free: 10.88 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001014/0.2853, allocations: 54.55 kB / 1.22 GB, free: 10.82 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001519/0.2854, allocations: 70.48 kB / 1.22 GB, free: 10.74 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.823e-06/0.2854, allocations: 0 / 1.22 GB, free: 10.74 MB / 0.9669 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002469/0.2857, allocations: 121.5 kB / 1.221 GB, free: 10.62 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 1.43e-05/0.2857, allocations: 8 kB / 1.221 GB, free: 10.61 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.228e-06/0.2857, allocations: 0 / 1.221 GB, free: 10.61 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.362e-05/0.2857, allocations: 4 kB / 1.221 GB, free: 10.61 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.675e-05/0.2858, allocations: 11.94 kB / 1.221 GB, free: 10.59 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.867e-06/0.2858, allocations: 8.375 kB / 1.221 GB, free: 10.59 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.09e-05/0.2859, allocations: 4 kB / 1.221 GB, free: 10.58 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.006e-05/0.2859, allocations: 0 / 1.221 GB, free: 10.58 MB / 0.9669 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 9.817e-05/0.286, allocations: 129.8 kB / 1.221 GB, free: 10.45 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.793e-05/0.286, allocations: 7.938 kB / 1.221 GB, free: 10.44 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.449e-05/0.286, allocations: 12.36 kB / 1.221 GB, free: 10.43 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.833e-06/0.286, allocations: 0 / 1.221 GB, free: 10.43 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.286e-06/0.286, allocations: 0 / 1.221 GB, free: 10.43 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.354e-06/0.286, allocations: 0 / 1.221 GB, free: 10.43 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004688/0.2865, allocations: 394.3 kB / 1.221 GB, free: 9.984 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.463e-06/0.2865, allocations: 0 / 1.221 GB, free: 9.984 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.484e-05/0.2865, allocations: 8 kB / 1.221 GB, free: 9.977 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.084e-06/0.2865, allocations: 0 / 1.221 GB, free: 9.977 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.203e-05/0.2865, allocations: 7.984 kB / 1.221 GB, free: 9.969 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.966e-06/0.2865, allocations: 7.875 kB / 1.221 GB, free: 9.961 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.81e-07/0.2865, allocations: 0 / 1.221 GB, free: 9.961 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002846/0.2868, allocations: 211.4 kB / 1.221 GB, free: 9.738 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 4.957e-05/0.2869, allocations: 81.06 kB / 1.221 GB, free: 9.641 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.757e-05/0.2869, allocations: 7.984 kB / 1.221 GB, free: 9.633 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.537e-05/0.287, allocations: 7.938 kB / 1.221 GB, free: 9.625 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.406e-05/0.287, allocations: 4 kB / 1.221 GB, free: 9.621 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.202e-05/0.287, allocations: 7.984 kB / 1.221 GB, free: 9.613 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 5.615e-05/0.2871, allocations: 95.27 kB / 1.222 GB, free: 9.52 MB / 0.9669 GB Notification: Performance of sort global known variables: time 8.1e-08/0.2871, allocations: 0 / 1.222 GB, free: 9.52 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0002763/0.2873, allocations: 35.94 kB / 1.222 GB, free: 9.484 MB / 0.9669 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.0008168/0.2882, allocations: 0.7989 MB / 1.222 GB, free: 8.676 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.0002254/0.2884, allocations: 67.95 kB / 1.222 GB, free: 8.609 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 1.643e-06/0.2884, allocations: 4.125 kB / 1.222 GB, free: 8.605 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 9.269e-05/0.2885, allocations: 31.91 kB / 1.222 GB, free: 8.574 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002372/0.2887, allocations: 11.94 kB / 1.222 GB, free: 8.562 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00165/0.2904, allocations: 1.493 MB / 1.224 GB, free: 6.973 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003064/0.2907, allocations: 0.6905 MB / 1.225 GB, free: 6.258 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 3.567e-05/0.2907, allocations: 11.97 kB / 1.225 GB, free: 6.246 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.494e-05/0.2908, allocations: 19.44 kB / 1.225 GB, free: 6.227 MB / 0.9669 GB Notification: Performance of SimCode: time 3.8e-07/0.2908, allocations: 0 / 1.225 GB, free: 6.227 MB / 0.9669 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02472/0.3155, allocations: 2.646 MB / 1.227 GB, free: 3.676 MB / 0.9669 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.113/7.428, allocations: 12.53 kB / 1.227 GB, free: 3.668 MB / 0.9669 GB " [Timeout remaining time 293] (rm -f Buildings_10_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingUK.pipe ; mkfifo Buildings_10_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingUK.pipe ; head -c 1048576 < Buildings_10_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingUK.pipe >> ../files/Buildings_10_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingUK.sim & python3 -m fmpy simulate --output-file Buildings_10_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingUK_res.csv --start-time 0 --stop-time 3600 --timeout 400 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 1.44 Buildings_10_Buildings_Occupants_Residential_Heating_Validation_Nicol2001HeatingUK.fmu > Buildings_10_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingUK.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_10_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingUK_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Occupants_Residential_Heating_Validation_Nicol2001HeatingUK.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingUK.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "Error: Could not read variable hea.occ in file Buildings_10_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingUK_res.csv. Warning: Get data of variable hea.occ from file Buildings_10_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingUK_res.csv failed! Error: Could not read variable hea.on in file Buildings_10_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingUK_res.csv. Warning: Get data of variable hea.on from file Buildings_10_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingUK_res.csv failed! " [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 12.715659014000266]