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.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.001374/0.001374, allocations: 108.3 kB / 17.54 MB, free: 4.781 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.001344/0.001344, allocations: 190.6 kB / 20.71 MB, free: 1.625 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.285/1.285, allocations: 225.6 MB / 249.3 MB, free: 3.211 MB / 190.1 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.483/2.483, allocations: 476.7 MB / 0.7628 GB, free: 15.18 MB / 0.6075 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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.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 0.001752/0.001752, allocations: 63.89 kB / 1.107 GB, free: 5.207 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7689/0.7706, allocations: 168.7 MB / 1.271 GB, free: 7.727 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingEU): time 0.002365/0.773, allocations: 1.5 MB / 1.273 GB, free: 6.707 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.001152/0.7742, allocations: 0.7469 MB / 1.274 GB, free: 6.207 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.749e-05/0.7742, allocations: 0.7188 kB / 1.274 GB, free: 6.207 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 2.965e-05/0.7742, allocations: 10.14 kB / 1.274 GB, free: 6.199 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 4.178e-05/0.7743, allocations: 6.078 kB / 1.274 GB, free: 6.195 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004774/0.7747, allocations: 121.3 kB / 1.274 GB, free: 6.137 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.0001094/0.7749, allocations: 77.33 kB / 1.274 GB, free: 6.102 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 9.312e-05/0.7749, allocations: 9.422 kB / 1.274 GB, free: 6.098 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 7.955e-05/0.775, allocations: 35.55 kB / 1.274 GB, free: 6.082 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 6.224e-05/0.7751, allocations: 52.72 kB / 1.274 GB, free: 6.055 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 1.966e-05/0.7751, allocations: 6.906 kB / 1.274 GB, free: 6.055 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001918/0.7753, allocations: 97.88 kB / 1.274 GB, free: 6.027 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 2.27e-05/0.7753, allocations: 12.11 kB / 1.274 GB, free: 6.023 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 4.32e-05/0.7754, allocations: 40.72 kB / 1.274 GB, free: 5.996 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.0002019/0.7756, allocations: 141.3 kB / 1.274 GB, free: 5.945 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 5.07e-06/0.7756, allocations: 3.391 kB / 1.274 GB, free: 5.945 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.572e-06/0.7756, allocations: 0 / 1.274 GB, free: 5.945 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 4.639e-06/0.7756, allocations: 0 / 1.274 GB, free: 5.945 MB / 0.9981 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.0004762/0.7761, allocations: 424.6 kB / 1.275 GB, free: 5.52 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 3.337e-05/0.7761, allocations: 9.688 kB / 1.275 GB, free: 5.52 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.184e-05/0.7761, allocations: 43.41 kB / 1.275 GB, free: 5.473 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.247e-05/0.7762, allocations: 8.266 kB / 1.275 GB, free: 5.469 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.85e-05/0.7762, allocations: 171.6 kB / 1.275 GB, free: 5.266 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.075e-05/0.7762, allocations: 5.562 kB / 1.275 GB, free: 5.266 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.577e-05/0.7763, allocations: 8.156 kB / 1.275 GB, free: 5.262 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001564/0.7764, allocations: 67.12 kB / 1.275 GB, free: 5.219 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.315e-06/0.7764, allocations: 3.938 kB / 1.275 GB, free: 5.215 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.184e-05/0.7764, allocations: 6.312 kB / 1.275 GB, free: 5.211 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.968e-06/0.7764, allocations: 1.125 kB / 1.275 GB, free: 5.211 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001174/0.7766, allocations: 39.56 kB / 1.275 GB, free: 5.199 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004575/0.777, allocations: 315 kB / 1.275 GB, free: 4.906 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001061/0.7771, allocations: 47.72 kB / 1.275 GB, free: 4.871 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.352e-05/0.7772, allocations: 33.59 kB / 1.275 GB, free: 4.852 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.457e-05/0.7772, allocations: 8.719 kB / 1.275 GB, free: 4.844 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000155/0.7774, allocations: 77.91 kB / 1.275 GB, free: 4.785 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=7): time 1.332e-06/0.7774, allocations: 0 / 1.275 GB, free: 4.785 MB / 0.9981 GB Notification: Performance of matching and sorting (n=7): time 0.0003408/0.7777, allocations: 137.8 kB / 1.275 GB, free: 4.723 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.221e-05/0.7777, allocations: 53.5 kB / 1.276 GB, free: 4.66 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.689e-05/0.7778, allocations: 123 kB / 1.276 GB, free: 4.551 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 1.294e-05/0.7778, allocations: 33.7 kB / 1.276 GB, free: 4.516 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 2.809e-05/0.7778, allocations: 90.39 kB / 1.276 GB, free: 4.426 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 1.585e-05/0.7779, allocations: 19.84 kB / 1.276 GB, free: 4.41 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.022e-05/0.7779, allocations: 27.47 kB / 1.276 GB, free: 4.391 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 3.651e-05/0.7779, allocations: 321.1 kB / 1.276 GB, free: 4.07 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.576e-05/0.778, allocations: 32.91 kB / 1.276 GB, free: 4.059 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.624e-05/0.7781, allocations: 45.78 kB / 1.276 GB, free: 4.027 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001338/0.7782, allocations: 72.16 kB / 1.276 GB, free: 3.984 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.493e-06/0.7782, allocations: 3.938 kB / 1.276 GB, free: 3.98 MB / 0.9981 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002071/0.7784, allocations: 117 kB / 1.276 GB, free: 3.918 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.256e-05/0.7784, allocations: 7.562 kB / 1.276 GB, free: 3.918 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.617e-06/0.7784, allocations: 1.094 kB / 1.276 GB, free: 3.918 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.25e-05/0.7785, allocations: 1.125 kB / 1.276 GB, free: 3.918 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.455e-05/0.7785, allocations: 12.25 kB / 1.276 GB, free: 3.918 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.801e-06/0.7785, allocations: 1.656 kB / 1.276 GB, free: 3.918 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.252e-05/0.7786, allocations: 8.719 kB / 1.276 GB, free: 3.914 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.134e-05/0.7786, allocations: 2.969 kB / 1.276 GB, free: 3.914 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 5.458e-05/0.7787, allocations: 128.4 kB / 1.277 GB, free: 3.785 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.591e-05/0.7787, allocations: 11.27 kB / 1.277 GB, free: 3.777 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.085e-05/0.7787, allocations: 12.14 kB / 1.277 GB, free: 3.762 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.673e-06/0.7787, allocations: 1.875 kB / 1.277 GB, free: 3.762 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.326e-06/0.7787, allocations: 0 / 1.277 GB, free: 3.762 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.284e-06/0.7787, allocations: 0 / 1.277 GB, free: 3.762 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003356/0.7791, allocations: 382.4 kB / 1.277 GB, free: 3.422 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.253e-06/0.7791, allocations: 5.156 kB / 1.277 GB, free: 3.418 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.651e-05/0.7791, allocations: 4.797 kB / 1.277 GB, free: 3.418 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.994e-06/0.7791, allocations: 1.156 kB / 1.277 GB, free: 3.418 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.098e-05/0.7791, allocations: 7.172 kB / 1.277 GB, free: 3.414 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.643e-06/0.7791, allocations: 3.938 kB / 1.277 GB, free: 3.41 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.31e-07/0.7791, allocations: 3.938 kB / 1.277 GB, free: 3.406 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002227/0.7793, allocations: 211.2 kB / 1.277 GB, free: 3.246 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 1.602e-05/0.7794, allocations: 79.05 kB / 1.277 GB, free: 3.152 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.64e-05/0.7794, allocations: 7.531 kB / 1.277 GB, free: 3.148 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.258e-05/0.7794, allocations: 8.266 kB / 1.277 GB, free: 3.145 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.154e-05/0.7795, allocations: 8.844 kB / 1.277 GB, free: 3.141 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.196e-06/0.7795, allocations: 4.078 kB / 1.277 GB, free: 3.141 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 3.17e-05/0.7795, allocations: 95.22 kB / 1.277 GB, free: 3.059 MB / 0.9981 GB Notification: Performance of sort global known variables: time 7e-08/0.7795, allocations: 0 / 1.277 GB, free: 3.059 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0002716/0.7798, allocations: 41.89 kB / 1.277 GB, free: 3.047 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.0005753/0.7804, allocations: 0.7991 MB / 1.278 GB, free: 2.344 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.000222/0.7806, allocations: 81.58 kB / 1.278 GB, free: 2.312 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 2.084e-06/0.7806, allocations: 0 / 1.278 GB, free: 2.312 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 8.845e-05/0.7807, allocations: 27.58 kB / 1.278 GB, free: 2.309 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002289/0.7809, allocations: 14.62 kB / 1.278 GB, free: 2.301 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001287/0.7822, allocations: 1.514 MB / 1.28 GB, free: 16.96 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00031/0.7825, allocations: 0.6914 MB / 1.28 GB, free: 16.27 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 3.257e-05/0.7825, allocations: 8.875 kB / 1.28 GB, free: 16.26 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.844e-05/0.7826, allocations: 21.88 kB / 1.28 GB, free: 16.25 MB / 1.014 GB Notification: Performance of SimCode: time 2.81e-07/0.7826, allocations: 4 kB / 1.28 GB, free: 16.24 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02458/0.8072, allocations: 2.65 MB / 1.283 GB, free: 15.73 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.144/7.951, allocations: 3.281 kB / 1.283 GB, free: 15.73 MB / 1.014 GB " [Timeout remaining time 292] (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 --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.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: 13.193891891000021]