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.001356/0.001356, allocations: 114.3 kB / 18.94 MB, free: 2.957 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.001716/0.001716, allocations: 216.4 kB / 22.25 MB, free: 5.117 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.489/1.489, allocations: 230.6 MB / 256 MB, free: 7.996 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.882/2.882, allocations: 476.7 MB / 0.7707 GB, free: 4.293 MB / 0.6231 GB " [Timeout remaining time 176] 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.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: 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.002084/0.002084, allocations: 65.31 kB / 1.117 GB, free: 40.38 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3274/0.3295, allocations: 170 MB / 1.283 GB, free: 11.73 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingEU): time 0.002746/0.3322, allocations: 1.514 MB / 1.285 GB, free: 10.2 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.001599/0.3338, allocations: 0.8158 MB / 1.286 GB, free: 9.383 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.396e-05/0.3339, allocations: 0 / 1.286 GB, free: 9.383 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 2.916e-05/0.3339, allocations: 7.938 kB / 1.286 GB, free: 9.375 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 5.692e-05/0.334, allocations: 15.84 kB / 1.286 GB, free: 9.359 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006118/0.3346, allocations: 147.5 kB / 1.286 GB, free: 9.215 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0001314/0.3347, allocations: 79.77 kB / 1.286 GB, free: 9.137 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 8.88e-05/0.3348, allocations: 12.11 kB / 1.286 GB, free: 9.125 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001308/0.3349, allocations: 35.92 kB / 1.286 GB, free: 9.09 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 7.693e-05/0.335, allocations: 43.81 kB / 1.286 GB, free: 9.047 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 2.099e-05/0.335, allocations: 8 kB / 1.286 GB, free: 9.039 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002927/0.3353, allocations: 143.8 kB / 1.286 GB, free: 8.898 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 2.613e-05/0.3353, allocations: 19.97 kB / 1.286 GB, free: 8.879 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 5.258e-05/0.3354, allocations: 35.8 kB / 1.286 GB, free: 8.844 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.000261/0.3357, allocations: 147.1 kB / 1.286 GB, free: 8.703 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 4.278e-06/0.3357, allocations: 4 kB / 1.286 GB, free: 8.699 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.182e-06/0.3357, allocations: 0 / 1.286 GB, free: 8.699 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 5.821e-06/0.3357, allocations: 0 / 1.286 GB, free: 8.699 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.0006571/0.3363, allocations: 355.5 kB / 1.287 GB, free: 8.316 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.684e-05/0.3364, allocations: 8.031 kB / 1.287 GB, free: 8.309 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.09e-05/0.3364, allocations: 34.75 kB / 1.287 GB, free: 8.266 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003404/0.3367, allocations: 32.86 kB / 1.287 GB, free: 8.234 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002246/0.337, allocations: 142.2 kB / 1.287 GB, free: 8.074 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.418e-05/0.337, allocations: 8.375 kB / 1.287 GB, free: 8.066 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.743e-05/0.337, allocations: 4.375 kB / 1.287 GB, free: 8.062 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001813/0.3372, allocations: 69.59 kB / 1.287 GB, free: 7.988 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.305e-06/0.3372, allocations: 0 / 1.287 GB, free: 7.988 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.472e-05/0.3372, allocations: 4 kB / 1.287 GB, free: 7.984 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.244e-06/0.3372, allocations: 11.92 kB / 1.287 GB, free: 7.973 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001297/0.3374, allocations: 35.97 kB / 1.287 GB, free: 7.938 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00059/0.3379, allocations: 291.8 kB / 1.287 GB, free: 7.609 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001241/0.3381, allocations: 42.56 kB / 1.287 GB, free: 7.559 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.692e-05/0.3381, allocations: 24.97 kB / 1.287 GB, free: 7.531 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 1.628e-05/0.3382, allocations: 0 / 1.287 GB, free: 7.531 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001681/0.3383, allocations: 87.44 kB / 1.287 GB, free: 7.434 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=7): time 1.253e-06/0.3383, allocations: 0 / 1.287 GB, free: 7.434 MB / 0.9825 GB Notification: Performance of matching and sorting (n=7): time 0.0004105/0.3387, allocations: 137.8 kB / 1.288 GB, free: 7.293 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.105e-05/0.3388, allocations: 59.41 kB / 1.288 GB, free: 7.223 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001204/0.3389, allocations: 118.1 kB / 1.288 GB, free: 7.094 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 2.21e-05/0.3389, allocations: 29.64 kB / 1.288 GB, free: 7.059 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 6.546e-05/0.339, allocations: 104.1 kB / 1.288 GB, free: 6.953 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 2.335e-05/0.339, allocations: 15.84 kB / 1.288 GB, free: 6.938 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.989e-05/0.3391, allocations: 29.7 kB / 1.288 GB, free: 6.902 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001496/0.3392, allocations: 322.8 kB / 1.288 GB, free: 6.578 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.711e-05/0.3393, allocations: 27.98 kB / 1.288 GB, free: 6.551 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001019/0.3394, allocations: 42.56 kB / 1.288 GB, free: 6.5 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001665/0.3396, allocations: 82.55 kB / 1.288 GB, free: 6.41 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.713e-06/0.3396, allocations: 0 / 1.288 GB, free: 6.41 MB / 0.9825 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002461/0.3398, allocations: 113.5 kB / 1.288 GB, free: 6.293 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.709e-05/0.3399, allocations: 8 kB / 1.288 GB, free: 6.285 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.947e-06/0.3399, allocations: 64 / 1.288 GB, free: 6.285 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.197e-05/0.3399, allocations: 4 kB / 1.288 GB, free: 6.281 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.826e-05/0.34, allocations: 19.92 kB / 1.288 GB, free: 6.262 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.594e-06/0.34, allocations: 4 kB / 1.288 GB, free: 6.258 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.143e-05/0.34, allocations: 4 kB / 1.288 GB, free: 6.254 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.282e-05/0.3401, allocations: 3.938 kB / 1.288 GB, free: 6.25 MB / 0.9825 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.0001033/0.3402, allocations: 125.8 kB / 1.289 GB, free: 6.117 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.558e-05/0.3402, allocations: 3.953 kB / 1.289 GB, free: 6.113 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.792e-05/0.3402, allocations: 16.38 kB / 1.289 GB, free: 6.094 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.248e-05/0.3402, allocations: 0 / 1.289 GB, free: 6.094 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.328e-06/0.3402, allocations: 0 / 1.289 GB, free: 6.094 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.875e-06/0.3402, allocations: 0 / 1.289 GB, free: 6.094 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004658/0.3407, allocations: 357.4 kB / 1.289 GB, free: 5.695 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.362e-06/0.3407, allocations: 4 kB / 1.289 GB, free: 5.691 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.862e-05/0.3407, allocations: 3.984 kB / 1.289 GB, free: 5.688 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.887e-06/0.3407, allocations: 4 kB / 1.289 GB, free: 5.684 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.568e-06/0.3407, allocations: 0 / 1.289 GB, free: 5.684 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.246e-06/0.3407, allocations: 7.938 kB / 1.289 GB, free: 5.676 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.61e-07/0.3407, allocations: 0 / 1.289 GB, free: 5.676 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002876/0.341, allocations: 211.4 kB / 1.289 GB, free: 5.453 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 1.581e-05/0.341, allocations: 7.891 kB / 1.289 GB, free: 5.445 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.032e-05/0.3411, allocations: 4 kB / 1.289 GB, free: 5.441 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.846e-05/0.3412, allocations: 7.938 kB / 1.289 GB, free: 5.434 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.653e-05/0.3412, allocations: 11.98 kB / 1.289 GB, free: 5.422 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.234e-06/0.3412, allocations: 0 / 1.289 GB, free: 5.422 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 6.384e-05/0.3413, allocations: 99.27 kB / 1.289 GB, free: 5.324 MB / 0.9825 GB Notification: Performance of sort global known variables: time 9.1e-08/0.3413, allocations: 0 / 1.289 GB, free: 5.324 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0002982/0.3416, allocations: 39.92 kB / 1.289 GB, free: 5.285 MB / 0.9825 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.0008521/0.3424, allocations: 0.8052 MB / 1.29 GB, free: 4.469 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0002357/0.3426, allocations: 71.88 kB / 1.29 GB, free: 4.398 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 1.733e-06/0.3426, allocations: 0 / 1.29 GB, free: 4.398 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 9.754e-05/0.3427, allocations: 39.86 kB / 1.29 GB, free: 4.359 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002539/0.343, allocations: 16.05 kB / 1.29 GB, free: 4.344 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001757/0.3448, allocations: 1.493 MB / 1.292 GB, free: 2.762 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000332/0.3451, allocations: 0.6962 MB / 1.292 GB, free: 2.039 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 3.738e-05/0.3451, allocations: 4 kB / 1.292 GB, free: 2.035 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.224e-05/0.3452, allocations: 23.42 kB / 1.292 GB, free: 2.012 MB / 0.9825 GB Notification: Performance of SimCode: time 3.41e-07/0.3452, allocations: 3.938 kB / 1.292 GB, free: 2.008 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02936/0.3745, allocations: 2.833 MB / 1.295 GB, free: 15.32 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.28/11.66, allocations: 9.078 kB / 1.295 GB, free: 15.32 MB / 0.9981 GB " [Timeout remaining time 288] (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/jenkins1/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] "" Variables in the reference:time,hea.TOut,hea.occ,hea.on Variables in the result:TOut.amplitude,TOut.continuous,TOut.f,TOut.offset,TOut.phase,TOut.startTime,TOut.y,hea.A,hea.B,hea.TOut,hea.occ,hea.on,hea.p,hea.samplePeriod,hea.seed,occ.startTime,occ.startValue,occ.y,time [Calling sys.exit(0), Time elapsed: 18.371561737032607]