Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingUK.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.001925/0.001925, 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.001687/0.001687, allocations: 214.4 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.507/1.507, allocations: 230.6 MB / 256 MB, free: 7.801 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.899/2.899, allocations: 476 MB / 0.7699 GB, free: 4.707 MB / 0.6231 GB " [Timeout remaining time 177] 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.Occupants.Residential.Heating.Validation.Nicol2001HeatingUK,fileNamePrefix="Buildings_11_Buildings_Occupants_Residential_Heating_Validation_Nicol2001HeatingUK",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingUK,fileNamePrefix="Buildings_11_Buildings_Occupants_Residential_Heating_Validation_Nicol2001HeatingUK",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.002136/0.002136, allocations: 72.72 kB / 1.117 GB, free: 9.207 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3656/0.3677, allocations: 169.9 MB / 1.283 GB, free: 4.273 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingUK): time 0.003197/0.3709, allocations: 1.502 MB / 1.284 GB, free: 2.758 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.001636/0.3725, allocations: 0.7532 MB / 1.285 GB, free: 2 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.742e-05/0.3726, allocations: 0 / 1.285 GB, free: 2 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 3.84e-05/0.3726, allocations: 7.938 kB / 1.285 GB, free: 1.992 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 9.175e-05/0.3727, allocations: 19.84 kB / 1.285 GB, free: 1.973 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007377/0.3735, allocations: 143.5 kB / 1.285 GB, free: 1.832 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0001632/0.3736, allocations: 83.7 kB / 1.285 GB, free: 1.75 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 9.66e-05/0.3737, allocations: 8.172 kB / 1.285 GB, free: 1.742 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001482/0.3739, allocations: 39.91 kB / 1.285 GB, free: 1.703 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 8.078e-05/0.374, allocations: 39.83 kB / 1.285 GB, free: 1.664 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 2.406e-05/0.374, allocations: 8 kB / 1.285 GB, free: 1.656 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000334/0.3743, allocations: 135.8 kB / 1.285 GB, free: 1.523 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 3.14e-05/0.3744, allocations: 19.92 kB / 1.285 GB, free: 1.504 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 5.633e-05/0.3744, allocations: 31.84 kB / 1.285 GB, free: 1.473 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0003447/0.3748, allocations: 159.7 kB / 1.285 GB, free: 1.316 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 5.3e-06/0.3748, allocations: 0 / 1.285 GB, free: 1.316 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.412e-06/0.3748, allocations: 0 / 1.285 GB, free: 1.316 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 6.362e-06/0.3748, allocations: 0 / 1.285 GB, free: 1.316 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0007162/0.3755, allocations: 343.6 kB / 1.286 GB, free: 0.9453 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.875e-05/0.3755, allocations: 12.03 kB / 1.286 GB, free: 0.9336 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.35e-05/0.3756, allocations: 42.67 kB / 1.286 GB, free: 0.8828 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000341/0.3759, allocations: 28.92 kB / 1.286 GB, free: 0.8555 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002734/0.3762, allocations: 136.4 kB / 1.286 GB, free: 0.6992 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.373e-05/0.3762, allocations: 384 / 1.286 GB, free: 0.6992 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.711e-05/0.3762, allocations: 8.375 kB / 1.286 GB, free: 0.6914 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002094/0.3765, allocations: 73.58 kB / 1.286 GB, free: 0.6133 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.538e-06/0.3765, allocations: 0 / 1.286 GB, free: 0.6133 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.204e-05/0.3765, allocations: 0 / 1.286 GB, free: 0.6133 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.335e-06/0.3765, allocations: 4 kB / 1.286 GB, free: 0.6094 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000147/0.3766, allocations: 43.91 kB / 1.286 GB, free: 0.5664 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006135/0.3772, allocations: 267.9 kB / 1.286 GB, free: 268 kB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000133/0.3774, allocations: 42.56 kB / 1.286 GB, free: 216 kB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.003e-05/0.3775, allocations: 28.97 kB / 1.286 GB, free: 184 kB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 3.14e-05/0.3775, allocations: 4 kB / 1.286 GB, free: 180 kB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001704/0.3777, allocations: 79.31 kB / 1.286 GB, free: 88 kB / 0.9825 GB Notification: Performance of pre-optimization done (n=7): time 1.423e-06/0.3777, allocations: 4 kB / 1.286 GB, free: 84 kB / 0.9825 GB Notification: Performance of matching and sorting (n=7): time 0.0004446/0.3781, allocations: 141.8 kB / 1.287 GB, free: 15.93 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.796e-05/0.3782, allocations: 59.39 kB / 1.287 GB, free: 15.86 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00012/0.3783, allocations: 122 kB / 1.287 GB, free: 15.73 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 2.962e-05/0.3783, allocations: 29.7 kB / 1.287 GB, free: 15.7 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 7.141e-05/0.3784, allocations: 96.08 kB / 1.287 GB, free: 15.6 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 2.431e-05/0.3784, allocations: 15.84 kB / 1.287 GB, free: 15.58 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.955e-05/0.3785, allocations: 29.7 kB / 1.287 GB, free: 15.55 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001451/0.3786, allocations: 322.6 kB / 1.287 GB, free: 15.23 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.443e-05/0.3787, allocations: 31.97 kB / 1.287 GB, free: 15.2 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.921e-05/0.3788, allocations: 50.5 kB / 1.287 GB, free: 15.14 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001635/0.379, allocations: 70.55 kB / 1.287 GB, free: 15.06 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.953e-06/0.379, allocations: 0 / 1.287 GB, free: 15.06 MB / 0.9981 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002545/0.3792, allocations: 113.5 kB / 1.288 GB, free: 14.94 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.716e-05/0.3792, allocations: 10.41 kB / 1.288 GB, free: 14.93 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.863e-06/0.3792, allocations: 4 kB / 1.288 GB, free: 14.93 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.705e-05/0.3793, allocations: 0 / 1.288 GB, free: 14.93 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001056/0.3794, allocations: 23.92 kB / 1.288 GB, free: 14.91 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.492e-06/0.3794, allocations: 0 / 1.288 GB, free: 14.91 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.557e-05/0.3794, allocations: 11.88 kB / 1.288 GB, free: 14.89 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.461e-05/0.3794, allocations: 4 kB / 1.288 GB, free: 14.89 MB / 0.9981 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 0.000117/0.3796, allocations: 113.8 kB / 1.288 GB, free: 14.77 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.251e-05/0.3796, allocations: 11.94 kB / 1.288 GB, free: 14.76 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.427e-05/0.3796, allocations: 16.38 kB / 1.288 GB, free: 14.74 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.276e-06/0.3796, allocations: 0 / 1.288 GB, free: 14.74 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.64e-06/0.3796, allocations: 0 / 1.288 GB, free: 14.74 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.895e-06/0.3796, allocations: 3.938 kB / 1.288 GB, free: 14.74 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005047/0.3801, allocations: 342 kB / 1.288 GB, free: 14.36 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.134e-06/0.3801, allocations: 0 / 1.288 GB, free: 14.36 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.056e-05/0.3802, allocations: 7.984 kB / 1.288 GB, free: 14.35 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.635e-06/0.3802, allocations: 3.938 kB / 1.288 GB, free: 14.34 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.955e-05/0.3802, allocations: 7.938 kB / 1.288 GB, free: 14.34 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.593e-06/0.3802, allocations: 0 / 1.288 GB, free: 14.34 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.12e-07/0.3802, allocations: 4 kB / 1.288 GB, free: 14.33 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003455/0.3806, allocations: 223.4 kB / 1.288 GB, free: 14.1 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 1.66e-05/0.3806, allocations: 11.89 kB / 1.288 GB, free: 14.09 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.232e-05/0.3806, allocations: 3.938 kB / 1.288 GB, free: 14.08 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.424e-05/0.3807, allocations: 4 kB / 1.288 GB, free: 14.08 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.531e-05/0.3807, allocations: 7.969 kB / 1.288 GB, free: 14.07 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.091e-05/0.3807, allocations: 8 kB / 1.288 GB, free: 14.06 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 7.793e-05/0.3808, allocations: 96.77 kB / 1.288 GB, free: 13.97 MB / 0.9981 GB Notification: Performance of sort global known variables: time 8e-08/0.3808, allocations: 0 / 1.288 GB, free: 13.97 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0003328/0.3812, allocations: 39.92 kB / 1.288 GB, free: 13.93 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: 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.001026/0.3822, allocations: 0.8088 MB / 1.289 GB, free: 13.11 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0002506/0.3824, allocations: 67.91 kB / 1.289 GB, free: 13.05 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 2.515e-06/0.3824, allocations: 128 / 1.289 GB, free: 13.05 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001021/0.3825, allocations: 39.91 kB / 1.289 GB, free: 13.01 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002628/0.3828, allocations: 7.984 kB / 1.289 GB, free: 13 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001848/0.3846, allocations: 1.508 MB / 1.291 GB, free: 11.4 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.957e-05/0.3847, allocations: 75.28 kB / 1.291 GB, free: 11.31 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 4.323e-05/0.3848, allocations: 7.984 kB / 1.291 GB, free: 11.3 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.333e-05/0.3848, allocations: 15.44 kB / 1.291 GB, free: 11.29 MB / 0.9981 GB Notification: Performance of SimCode: time 3.21e-07/0.3848, allocations: 0 / 1.291 GB, free: 11.29 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03212/0.4169, allocations: 3.255 MB / 1.294 GB, free: 8.18 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.58/12, allocations: 2.062 kB / 1.294 GB, free: 8.18 MB / 0.9981 GB " [Timeout remaining time 288] (rm -f Buildings_11_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingUK.pipe ; mkfifo Buildings_11_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingUK.pipe ; head -c 1048576 < Buildings_11_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingUK.pipe >> ../files/Buildings_11_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingUK.sim & python3 -m fmpy simulate --output-file Buildings_11_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_11_Buildings_Occupants_Residential_Heating_Validation_Nicol2001HeatingUK.fmu > Buildings_11_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingUK.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingUK_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Occupants_Residential_Heating_Validation_Nicol2001HeatingUK.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_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_11_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingUK_res.csv. Warning: Get data of variable hea.occ from file Buildings_11_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingUK_res.csv failed! Error: Could not read variable hea.on in file Buildings_11_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingUK_res.csv. Warning: Get data of variable hea.on from file Buildings_11_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingUK_res.csv failed! " [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 18.792614242993295]