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.000929/0.000929, allocations: 80.44 kB / 19.17 MB, free: 0.7422 MB / 13.93 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.001169/0.001169, allocations: 169.9 kB / 22.46 MB, free: 2.105 MB / 18.57 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 0.956/0.956, allocations: 177.1 MB / 202.8 MB, free: 5.742 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 1.693/1.693, allocations: 359 MB / 0.6037 GB, free: 11.09 MB / 0.573 GB " [Timeout remaining time 178] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-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: Performance of FrontEnd - loaded program: time 1.924e-06/1.924e-06, allocations: 0 / 0.9505 GB, free: 3.539 MB / 0.9011 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.02e-05/2.212e-05, allocations: 6.281 kB / 0.9505 GB, free: 3.531 MB / 0.9011 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingUK): time 0.002068/0.00209, allocations: 1.493 MB / 0.9519 GB, free: 2.023 MB / 0.9011 GB Notification: Performance of NFInst.instExpressions: time 0.001082/0.003172, allocations: 0.7639 MB / 0.9527 GB, free: 1.254 MB / 0.9011 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.266e-05/0.003235, allocations: 0 / 0.9527 GB, free: 1.254 MB / 0.9011 GB Notification: Performance of NFTyping.typeComponents: time 3.031e-05/0.003265, allocations: 7.938 kB / 0.9527 GB, free: 1.246 MB / 0.9011 GB Notification: Performance of NFTyping.typeBindings: time 5.342e-05/0.003318, allocations: 15.8 kB / 0.9527 GB, free: 1.23 MB / 0.9011 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005969/0.003915, allocations: 147.5 kB / 0.9528 GB, free: 1.086 MB / 0.9011 GB Notification: Performance of NFFlatten.flatten: time 0.0001124/0.004028, allocations: 79.7 kB / 0.9529 GB, free: 1.008 MB / 0.9011 GB Notification: Performance of NFFlatten.resolveConnections: time 8.97e-05/0.004117, allocations: 8.172 kB / 0.9529 GB, free: 1 MB / 0.9011 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001379/0.004255, allocations: 59.77 kB / 0.953 GB, free: 0.9414 MB / 0.9011 GB Notification: Performance of NFSimplifyModel.simplify: time 5.428e-05/0.00431, allocations: 31.94 kB / 0.953 GB, free: 0.9102 MB / 0.9011 GB Notification: Performance of NFPackage.collectConstants: time 1.847e-05/0.004328, allocations: 8 kB / 0.953 GB, free: 0.9023 MB / 0.9011 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002062/0.004534, allocations: 139.7 kB / 0.9531 GB, free: 0.7656 MB / 0.9011 GB Notification: Performance of NFScalarize.scalarize: time 2.219e-05/0.004557, allocations: 15.92 kB / 0.9532 GB, free: 0.75 MB / 0.9011 GB Notification: Performance of NFVerifyModel.verify: time 3.912e-05/0.004596, allocations: 23.97 kB / 0.9532 GB, free: 0.7266 MB / 0.9011 GB Notification: Performance of NFConvertDAE.convert: time 0.0002263/0.004822, allocations: 179.4 kB / 0.9534 GB, free: 0.5508 MB / 0.9011 GB Notification: Performance of FrontEnd - DAE generated: time 3.286e-06/0.004825, allocations: 0 / 0.9534 GB, free: 0.5508 MB / 0.9011 GB Notification: Performance of FrontEnd: time 1.894e-06/0.004827, allocations: 0 / 0.9534 GB, free: 0.5508 MB / 0.9011 GB Notification: Performance of Transformations before backend: time 4.509e-06/0.004832, allocations: 0 / 0.9534 GB, free: 0.5508 MB / 0.9011 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.000517/0.005349, allocations: 351.5 kB / 0.9537 GB, free: 176 kB / 0.9011 GB Notification: Performance of prepare preOptimizeDAE: time 4.267e-05/0.005391, allocations: 12.03 kB / 0.9537 GB, free: 164 kB / 0.9011 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.379e-05/0.005425, allocations: 34.75 kB / 0.9537 GB, free: 120 kB / 0.9011 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001926/0.005618, allocations: 28.88 kB / 0.9538 GB, free: 92 kB / 0.9011 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002443/0.005862, allocations: 129.7 kB / 0.9539 GB, free: 15.94 MB / 0.9167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.567e-05/0.005888, allocations: 4.312 kB / 0.9539 GB, free: 15.93 MB / 0.9167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.85e-05/0.005906, allocations: 12.36 kB / 0.9539 GB, free: 15.92 MB / 0.9167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000172/0.006078, allocations: 66.22 kB / 0.954 GB, free: 15.85 MB / 0.9167 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.198e-06/0.006087, allocations: 192 / 0.954 GB, free: 15.85 MB / 0.9167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.255e-05/0.0061, allocations: 3.938 kB / 0.954 GB, free: 15.85 MB / 0.9167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.342e-06/0.006106, allocations: 0 / 0.954 GB, free: 15.85 MB / 0.9167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.589e-05/0.006182, allocations: 35.97 kB / 0.954 GB, free: 15.81 MB / 0.9167 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004695/0.006652, allocations: 283.8 kB / 0.9543 GB, free: 15.49 MB / 0.9167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001163/0.006768, allocations: 50.44 kB / 0.9543 GB, free: 15.43 MB / 0.9167 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.272e-05/0.006821, allocations: 32.97 kB / 0.9544 GB, free: 15.4 MB / 0.9167 GB Notification: Performance of preOpt evalFunc (simulation): time 2.412e-05/0.006845, allocations: 4 kB / 0.9544 GB, free: 15.39 MB / 0.9167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001254/0.00697, allocations: 71.38 kB / 0.9544 GB, free: 15.31 MB / 0.9167 GB Notification: Performance of pre-optimization done (n=7): time 1.222e-06/0.006971, allocations: 0 / 0.9544 GB, free: 15.31 MB / 0.9167 GB Notification: Performance of matching and sorting (n=7): time 0.0003052/0.007277, allocations: 149.5 kB / 0.9546 GB, free: 15.16 MB / 0.9167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.659e-05/0.007323, allocations: 59.41 kB / 0.9546 GB, free: 15.09 MB / 0.9167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.342e-05/0.007407, allocations: 118.1 kB / 0.9547 GB, free: 14.96 MB / 0.9167 GB Notification: Performance of collectPreVariables (initialization): time 1.296e-05/0.00742, allocations: 25.7 kB / 0.9548 GB, free: 14.93 MB / 0.9167 GB Notification: Performance of collectInitialEqns (initialization): time 4.871e-05/0.007468, allocations: 100.2 kB / 0.9549 GB, free: 14.83 MB / 0.9167 GB Notification: Performance of collectInitialBindings (initialization): time 1.62e-05/0.007485, allocations: 15.84 kB / 0.9549 GB, free: 14.81 MB / 0.9167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.488e-05/0.007529, allocations: 29.7 kB / 0.9549 GB, free: 14.78 MB / 0.9167 GB Notification: Performance of setup shared object (initialization): time 9.232e-05/0.007622, allocations: 322.8 kB / 0.9552 GB, free: 14.45 MB / 0.9167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.162e-05/0.007683, allocations: 23.98 kB / 0.9552 GB, free: 14.43 MB / 0.9167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.366e-05/0.007747, allocations: 54.56 kB / 0.9553 GB, free: 14.37 MB / 0.9167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000112/0.007859, allocations: 74.8 kB / 0.9554 GB, free: 14.29 MB / 0.9167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.815e-06/0.007862, allocations: 0 / 0.9554 GB, free: 14.29 MB / 0.9167 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001593/0.008021, allocations: 113.5 kB / 0.9555 GB, free: 14.17 MB / 0.9167 GB Notification: Performance of prepare postOptimizeDAE: time 1.685e-05/0.008038, allocations: 4 kB / 0.9555 GB, free: 14.16 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.943e-06/0.008045, allocations: 0 / 0.9555 GB, free: 14.16 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.69e-05/0.008062, allocations: 4.062 kB / 0.9555 GB, free: 14.16 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.597e-05/0.008128, allocations: 15.98 kB / 0.9555 GB, free: 14.14 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.604e-06/0.008135, allocations: 0 / 0.9555 GB, free: 14.14 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.745e-05/0.008173, allocations: 15.89 kB / 0.9555 GB, free: 14.13 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.073e-05/0.008184, allocations: 4 kB / 0.9555 GB, free: 14.12 MB / 0.9167 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 8.025e-05/0.008264, allocations: 126.5 kB / 0.9556 GB, free: 13.99 MB / 0.9167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.048e-05/0.008274, allocations: 7.953 kB / 0.9556 GB, free: 13.98 MB / 0.9167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.615e-05/0.008301, allocations: 8.438 kB / 0.9556 GB, free: 13.97 MB / 0.9167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.36e-06/0.008306, allocations: 4 kB / 0.9556 GB, free: 13.97 MB / 0.9167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.4e-06/0.008311, allocations: 7.938 kB / 0.9556 GB, free: 13.96 MB / 0.9167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.817e-06/0.008315, allocations: 0 / 0.9556 GB, free: 13.96 MB / 0.9167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003211/0.008636, allocations: 353.5 kB / 0.956 GB, free: 13.57 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.044e-06/0.008638, allocations: 0 / 0.956 GB, free: 13.57 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.015e-05/0.008658, allocations: 4 kB / 0.956 GB, free: 13.56 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.725e-06/0.008661, allocations: 0 / 0.956 GB, free: 13.56 MB / 0.9167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.977e-06/0.00867, allocations: 0 / 0.956 GB, free: 13.56 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.145e-06/0.008672, allocations: 0 / 0.956 GB, free: 13.56 MB / 0.9167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.036e-06/0.008675, allocations: 7.938 kB / 0.956 GB, free: 13.55 MB / 0.9167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002595/0.008935, allocations: 215.4 kB / 0.9562 GB, free: 13.33 MB / 0.9167 GB Notification: Performance of postOpt removeConstants (simulation): time 1.095e-05/0.008946, allocations: 11.95 kB / 0.9562 GB, free: 13.32 MB / 0.9167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.241e-05/0.008958, allocations: 0 / 0.9562 GB, free: 13.32 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.388e-05/0.009002, allocations: 7.984 kB / 0.9562 GB, free: 13.31 MB / 0.9167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.488e-05/0.009037, allocations: 0 / 0.9562 GB, free: 13.31 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.069e-05/0.009048, allocations: 11.92 kB / 0.9562 GB, free: 13.3 MB / 0.9167 GB Notification: Performance of sorting global known variables: time 3.935e-05/0.009087, allocations: 101.7 kB / 0.9563 GB, free: 13.2 MB / 0.9167 GB Notification: Performance of sort global known variables: time 1.5e-07/0.009087, allocations: 0 / 0.9563 GB, free: 13.2 MB / 0.9167 GB Notification: Performance of remove unused functions: time 0.0002241/0.009311, allocations: 39.88 kB / 0.9564 GB, free: 13.16 MB / 0.9167 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.0005907/0.009902, allocations: 0.8176 MB / 0.9572 GB, free: 12.33 MB / 0.9167 GB Notification: Performance of simCode: created initialization part: time 0.0001672/0.01007, allocations: 64.22 kB / 0.9572 GB, free: 12.27 MB / 0.9167 GB Notification: Performance of simCode: created event and clocks part: time 1.653e-06/0.01007, allocations: 0 / 0.9572 GB, free: 12.27 MB / 0.9167 GB Notification: Performance of simCode: created simulation system equations: time 5.489e-05/0.01013, allocations: 36.12 kB / 0.9573 GB, free: 12.23 MB / 0.9167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002044/0.01033, allocations: 20.2 kB / 0.9573 GB, free: 12.21 MB / 0.9167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001379/0.01171, allocations: 1.494 MB / 0.9587 GB, free: 10.63 MB / 0.9167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.912e-05/0.01179, allocations: 73.2 kB / 0.9588 GB, free: 10.54 MB / 0.9167 GB Notification: Performance of simCode: alias equations: time 4.208e-05/0.01183, allocations: 8 kB / 0.9588 GB, free: 10.53 MB / 0.9167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.392e-05/0.01188, allocations: 24.48 kB / 0.9588 GB, free: 10.51 MB / 0.9167 GB Notification: Performance of SimCode: time 8.82e-07/0.01188, allocations: 0 / 0.9588 GB, free: 10.51 MB / 0.9167 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01934/0.03122, allocations: 3.402 MB / 0.9622 GB, free: 7.242 MB / 0.9167 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.809/6.84, allocations: 3.938 kB / 0.9622 GB, free: 7.238 MB / 0.9167 GB " [Timeout remaining time 293] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingUK_res.mat --tempDir=temp_Buildings_11_Buildings_Occupants_Residential_Heating_Validation_Nicol2001HeatingUK_fmu --startTime=0 --stopTime=3600 --stepSize=1.44 --timeout=400 --tolerance=1e-06 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.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Occupants_Residential_Heating_Validation_Nicol2001HeatingUK.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingUK.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: 10.960262967273593]