Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingEU.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.001207/0.001207, 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.001313/0.001313, 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.9318/0.9318, allocations: 177.1 MB / 202.8 MB, free: 5.754 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.704/1.704, allocations: 359 MB / 0.6037 GB, free: 11.12 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.Nicol2001HeatingEU,fileNamePrefix="Buildings_11_Buildings_Occupants_Residential_Heating_Validation_Nicol2001HeatingEU",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingEU,fileNamePrefix="Buildings_11_Buildings_Occupants_Residential_Heating_Validation_Nicol2001HeatingEU",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.993e-06/1.993e-06, allocations: 0 / 0.9504 GB, free: 3.582 MB / 0.9011 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.114e-05/2.313e-05, allocations: 9.031 kB / 0.9505 GB, free: 3.574 MB / 0.9011 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingEU): time 0.001893/0.001916, allocations: 1.49 MB / 0.9519 GB, free: 2.066 MB / 0.9011 GB Notification: Performance of NFInst.instExpressions: time 0.000966/0.002882, allocations: 0.7677 MB / 0.9527 GB, free: 1.293 MB / 0.9011 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.54e-05/0.002937, allocations: 0 / 0.9527 GB, free: 1.293 MB / 0.9011 GB Notification: Performance of NFTyping.typeComponents: time 2.735e-05/0.002965, allocations: 7.922 kB / 0.9527 GB, free: 1.285 MB / 0.9011 GB Notification: Performance of NFTyping.typeBindings: time 4.875e-05/0.003013, allocations: 19.86 kB / 0.9527 GB, free: 1.266 MB / 0.9011 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005134/0.003527, allocations: 147.3 kB / 0.9528 GB, free: 1.121 MB / 0.9011 GB Notification: Performance of NFFlatten.flatten: time 0.0001052/0.003632, allocations: 79.77 kB / 0.9529 GB, free: 1.043 MB / 0.9011 GB Notification: Performance of NFFlatten.resolveConnections: time 8.565e-05/0.003718, allocations: 4.188 kB / 0.9529 GB, free: 1.039 MB / 0.9011 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001385/0.003856, allocations: 55.88 kB / 0.953 GB, free: 0.9844 MB / 0.9011 GB Notification: Performance of NFSimplifyModel.simplify: time 5.162e-05/0.003908, allocations: 31.89 kB / 0.953 GB, free: 0.9531 MB / 0.9011 GB Notification: Performance of NFPackage.collectConstants: time 1.736e-05/0.003925, allocations: 4 kB / 0.953 GB, free: 0.9492 MB / 0.9011 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001902/0.004115, allocations: 151.6 kB / 0.9531 GB, free: 0.8008 MB / 0.9011 GB Notification: Performance of NFScalarize.scalarize: time 1.747e-05/0.004133, allocations: 11.98 kB / 0.9532 GB, free: 0.7891 MB / 0.9011 GB Notification: Performance of NFVerifyModel.verify: time 3.606e-05/0.004169, allocations: 31.91 kB / 0.9532 GB, free: 0.7578 MB / 0.9011 GB Notification: Performance of NFConvertDAE.convert: time 0.000208/0.004377, allocations: 167.6 kB / 0.9533 GB, free: 0.5938 MB / 0.9011 GB Notification: Performance of FrontEnd - DAE generated: time 2.685e-06/0.00438, allocations: 0 / 0.9533 GB, free: 0.5938 MB / 0.9011 GB Notification: Performance of FrontEnd: time 1.232e-06/0.004381, allocations: 0 / 0.9533 GB, free: 0.5938 MB / 0.9011 GB Notification: Performance of Transformations before backend: time 4.048e-06/0.004385, allocations: 3.938 kB / 0.9533 GB, free: 0.5898 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.0004712/0.004856, allocations: 345.3 kB / 0.9537 GB, free: 224 kB / 0.9011 GB Notification: Performance of prepare preOptimizeDAE: time 3.827e-05/0.004894, allocations: 8.031 kB / 0.9537 GB, free: 216 kB / 0.9011 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.213e-05/0.004926, allocations: 42.73 kB / 0.9537 GB, free: 164 kB / 0.9011 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001837/0.00511, allocations: 28.88 kB / 0.9538 GB, free: 136 kB / 0.9011 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002038/0.005314, allocations: 135.8 kB / 0.9539 GB, free: 15.97 MB / 0.9167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.077e-05/0.005335, allocations: 4.375 kB / 0.9539 GB, free: 15.97 MB / 0.9167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.156e-05/0.005346, allocations: 4.375 kB / 0.9539 GB, free: 15.96 MB / 0.9167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001471/0.005493, allocations: 70.22 kB / 0.954 GB, free: 15.89 MB / 0.9167 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.284e-06/0.005501, allocations: 5.812 kB / 0.954 GB, free: 15.89 MB / 0.9167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.957e-06/0.005509, allocations: 0 / 0.954 GB, free: 15.89 MB / 0.9167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.468e-06/0.005514, allocations: 0 / 0.954 GB, free: 15.89 MB / 0.9167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.495e-05/0.005589, allocations: 39.95 kB / 0.954 GB, free: 15.85 MB / 0.9167 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003967/0.005986, allocations: 283.8 kB / 0.9543 GB, free: 15.53 MB / 0.9167 GB Notification: Performance of preOpt comSubExp (simulation): time 9.009e-05/0.006076, allocations: 42.56 kB / 0.9543 GB, free: 15.48 MB / 0.9167 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.752e-05/0.006123, allocations: 28.97 kB / 0.9543 GB, free: 15.45 MB / 0.9167 GB Notification: Performance of preOpt evalFunc (simulation): time 2.128e-05/0.006145, allocations: 0 / 0.9543 GB, free: 15.45 MB / 0.9167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001234/0.006268, allocations: 75.38 kB / 0.9544 GB, free: 15.36 MB / 0.9167 GB Notification: Performance of pre-optimization done (n=7): time 1.222e-06/0.006269, allocations: 0 / 0.9544 GB, free: 15.36 MB / 0.9167 GB Notification: Performance of matching and sorting (n=7): time 0.0002783/0.006547, allocations: 153.5 kB / 0.9546 GB, free: 15.2 MB / 0.9167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.356e-05/0.006581, allocations: 59.39 kB / 0.9546 GB, free: 15.13 MB / 0.9167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.171e-05/0.006653, allocations: 122.8 kB / 0.9547 GB, free: 15 MB / 0.9167 GB Notification: Performance of collectPreVariables (initialization): time 1.277e-05/0.006666, allocations: 25.7 kB / 0.9548 GB, free: 14.97 MB / 0.9167 GB Notification: Performance of collectInitialEqns (initialization): time 4.043e-05/0.006706, allocations: 96.08 kB / 0.9548 GB, free: 14.87 MB / 0.9167 GB Notification: Performance of collectInitialBindings (initialization): time 1.461e-05/0.006721, allocations: 11.91 kB / 0.9549 GB, free: 14.86 MB / 0.9167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.648e-05/0.006757, allocations: 33.7 kB / 0.9549 GB, free: 14.82 MB / 0.9167 GB Notification: Performance of setup shared object (initialization): time 7.386e-05/0.006831, allocations: 314.8 kB / 0.9552 GB, free: 14.5 MB / 0.9167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.857e-05/0.006899, allocations: 27.97 kB / 0.9552 GB, free: 14.48 MB / 0.9167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.466e-05/0.006954, allocations: 46.56 kB / 0.9553 GB, free: 14.42 MB / 0.9167 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.483e-05/0.007049, allocations: 74.8 kB / 0.9553 GB, free: 14.34 MB / 0.9167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.084e-06/0.007051, allocations: 0 / 0.9553 GB, free: 14.34 MB / 0.9167 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001525/0.007203, allocations: 117.5 kB / 0.9554 GB, free: 14.22 MB / 0.9167 GB Notification: Performance of prepare postOptimizeDAE: time 1.56e-05/0.007219, allocations: 8 kB / 0.9555 GB, free: 14.21 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.712e-06/0.007226, allocations: 8 kB / 0.9555 GB, free: 14.2 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.515e-05/0.007241, allocations: 0 / 0.9555 GB, free: 14.2 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.083e-05/0.007312, allocations: 11.98 kB / 0.9555 GB, free: 14.19 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.063e-05/0.007322, allocations: 11.94 kB / 0.9555 GB, free: 14.18 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.551e-05/0.007358, allocations: 15.88 kB / 0.9555 GB, free: 14.16 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.123e-05/0.007369, allocations: 4 kB / 0.9555 GB, free: 14.16 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.732e-05/0.007456, allocations: 116.8 kB / 0.9556 GB, free: 14.04 MB / 0.9167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.353e-05/0.00747, allocations: 11.94 kB / 0.9556 GB, free: 14.03 MB / 0.9167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.408e-05/0.007494, allocations: 12.38 kB / 0.9556 GB, free: 14.01 MB / 0.9167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.549e-06/0.007499, allocations: 11.92 kB / 0.9556 GB, free: 14 MB / 0.9167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.198e-06/0.007503, allocations: 0 / 0.9556 GB, free: 14 MB / 0.9167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.547e-06/0.007506, allocations: 4 kB / 0.9557 GB, free: 14 MB / 0.9167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003024/0.007809, allocations: 345.5 kB / 0.956 GB, free: 13.61 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.803e-06/0.007811, allocations: 0 / 0.956 GB, free: 13.61 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.009e-05/0.007831, allocations: 7.984 kB / 0.956 GB, free: 13.6 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.653e-06/0.007832, allocations: 0 / 0.956 GB, free: 13.6 MB / 0.9167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.696e-06/0.007841, allocations: 4 kB / 0.956 GB, free: 13.6 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.523e-06/0.007843, allocations: 0 / 0.956 GB, free: 13.6 MB / 0.9167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.112e-06/0.007844, allocations: 0 / 0.956 GB, free: 13.6 MB / 0.9167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000162/0.008006, allocations: 223.4 kB / 0.9562 GB, free: 13.36 MB / 0.9167 GB Notification: Performance of postOpt removeConstants (simulation): time 8.156e-06/0.008014, allocations: 3.953 kB / 0.9562 GB, free: 13.36 MB / 0.9167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.435e-05/0.008028, allocations: 8 kB / 0.9562 GB, free: 13.35 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.133e-05/0.00807, allocations: 3.938 kB / 0.9562 GB, free: 13.35 MB / 0.9167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.481e-05/0.008104, allocations: 7.984 kB / 0.9562 GB, free: 13.34 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.201e-06/0.008111, allocations: 0 / 0.9562 GB, free: 13.34 MB / 0.9167 GB Notification: Performance of sorting global known variables: time 3.521e-05/0.008146, allocations: 95.27 kB / 0.9563 GB, free: 13.25 MB / 0.9167 GB Notification: Performance of sort global known variables: time 6e-08/0.008146, allocations: 0 / 0.9563 GB, free: 13.25 MB / 0.9167 GB Notification: Performance of remove unused functions: time 0.0002172/0.008363, allocations: 39.92 kB / 0.9564 GB, free: 13.21 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.0006036/0.008967, allocations: 0.818 MB / 0.9572 GB, free: 12.38 MB / 0.9167 GB Notification: Performance of simCode: created initialization part: time 0.0001495/0.009116, allocations: 68.16 kB / 0.9572 GB, free: 12.31 MB / 0.9167 GB Notification: Performance of simCode: created event and clocks part: time 1.613e-06/0.009118, allocations: 0 / 0.9572 GB, free: 12.31 MB / 0.9167 GB Notification: Performance of simCode: created simulation system equations: time 5.64e-05/0.009174, allocations: 44.19 kB / 0.9573 GB, free: 12.27 MB / 0.9167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001996/0.009374, allocations: 12.14 kB / 0.9573 GB, free: 12.26 MB / 0.9167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001056/0.01043, allocations: 1.49 MB / 0.9587 GB, free: 10.68 MB / 0.9167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.83e-05/0.01048, allocations: 81.14 kB / 0.9588 GB, free: 10.58 MB / 0.9167 GB Notification: Performance of simCode: alias equations: time 3.331e-05/0.01051, allocations: 8 kB / 0.9588 GB, free: 10.57 MB / 0.9167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.399e-05/0.01056, allocations: 28.42 kB / 0.9588 GB, free: 10.54 MB / 0.9167 GB Notification: Performance of SimCode: time 6.21e-07/0.01056, allocations: 0 / 0.9588 GB, free: 10.54 MB / 0.9167 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01837/0.02892, allocations: 3.402 MB / 0.9622 GB, free: 7.273 MB / 0.9167 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.604/6.633, allocations: 7.094 kB / 0.9622 GB, free: 7.27 MB / 0.9167 GB " [Timeout remaining time 293] (rm -f Buildings_11_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingEU.pipe ; mkfifo Buildings_11_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingEU.pipe ; head -c 1048576 < Buildings_11_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingEU.pipe >> ../files/Buildings_11_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingEU.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingEU_res.mat --tempDir=temp_Buildings_11_Buildings_Occupants_Residential_Heating_Validation_Nicol2001HeatingEU_fmu --startTime=0 --stopTime=3600 --stepSize=1.44 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Occupants_Residential_Heating_Validation_Nicol2001HeatingEU.fmu > Buildings_11_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingEU.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingEU_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Occupants_Residential_Heating_Validation_Nicol2001HeatingEU.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingEU.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.738955208100379]