Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsEU.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.001398/0.001398, allocations: 105.8 kB / 17.54 MB, free: 4.777 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.001411/0.001411, allocations: 186.6 kB / 20.71 MB, free: 1.621 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.295/1.295, allocations: 225.6 MB / 249.3 MB, free: 3.172 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.506/2.506, allocations: 476.7 MB / 0.7628 GB, free: 15.11 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.Windows.Validation.Nicol2001WindowsEU,fileNamePrefix="Buildings_11_Buildings_Occupants_Residential_Windows_Validation_Nicol2001WindowsEU",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsEU,fileNamePrefix="Buildings_11_Buildings_Occupants_Residential_Windows_Validation_Nicol2001WindowsEU",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001739/0.001739, allocations: 63.91 kB / 1.107 GB, free: 5.184 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7955/0.7972, allocations: 168.7 MB / 1.271 GB, free: 7.719 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsEU): time 0.002172/0.7994, allocations: 1.506 MB / 1.273 GB, free: 6.695 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.001095/0.8005, allocations: 0.7434 MB / 1.274 GB, free: 6.199 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.113e-05/0.8005, allocations: 0.7188 kB / 1.274 GB, free: 6.199 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 2.736e-05/0.8006, allocations: 8.484 kB / 1.274 GB, free: 6.191 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 4.793e-05/0.8006, allocations: 10.8 kB / 1.274 GB, free: 6.184 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.000486/0.8011, allocations: 126.8 kB / 1.274 GB, free: 6.121 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.0001086/0.8012, allocations: 73.34 kB / 1.274 GB, free: 6.09 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 7.983e-05/0.8013, allocations: 16.47 kB / 1.274 GB, free: 6.078 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 7.299e-05/0.8014, allocations: 36.17 kB / 1.274 GB, free: 6.062 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 6.139e-05/0.8014, allocations: 38.52 kB / 1.274 GB, free: 6.047 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 1.854e-05/0.8014, allocations: 6.094 kB / 1.274 GB, free: 6.047 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001923/0.8016, allocations: 107.9 kB / 1.274 GB, free: 6.012 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 2.261e-05/0.8017, allocations: 13.34 kB / 1.274 GB, free: 6.004 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 4.325e-05/0.8017, allocations: 37.62 kB / 1.274 GB, free: 5.98 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.0002061/0.8019, allocations: 143.5 kB / 1.274 GB, free: 5.93 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 4.368e-06/0.8019, allocations: 1.062 kB / 1.274 GB, free: 5.93 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.623e-06/0.8019, allocations: 0 / 1.274 GB, free: 5.93 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 5.119e-06/0.8019, allocations: 0 / 1.274 GB, free: 5.93 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.000511/0.8024, allocations: 422 kB / 1.275 GB, free: 5.508 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 3.482e-05/0.8025, allocations: 9.906 kB / 1.275 GB, free: 5.508 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.137e-05/0.8025, allocations: 36.78 kB / 1.275 GB, free: 5.465 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.264e-05/0.8025, allocations: 13.59 kB / 1.275 GB, free: 5.457 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.893e-05/0.8026, allocations: 175.2 kB / 1.275 GB, free: 5.254 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.365e-05/0.8026, allocations: 3.469 kB / 1.275 GB, free: 5.254 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.622e-05/0.8026, allocations: 8.281 kB / 1.275 GB, free: 5.25 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001612/0.8028, allocations: 70.22 kB / 1.275 GB, free: 5.203 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.977e-06/0.8028, allocations: 3.938 kB / 1.275 GB, free: 5.199 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.101e-05/0.8028, allocations: 5.703 kB / 1.275 GB, free: 5.195 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.208e-06/0.8028, allocations: 1.094 kB / 1.275 GB, free: 5.195 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001189/0.8029, allocations: 37.48 kB / 1.275 GB, free: 5.188 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004573/0.8034, allocations: 312.3 kB / 1.275 GB, free: 4.895 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001068/0.8035, allocations: 48.34 kB / 1.275 GB, free: 4.859 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.304e-05/0.8036, allocations: 34.03 kB / 1.275 GB, free: 4.84 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.92e-05/0.8036, allocations: 10.19 kB / 1.275 GB, free: 4.832 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001405/0.8037, allocations: 80.16 kB / 1.275 GB, free: 4.77 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=7): time 1.362e-06/0.8037, allocations: 0.8438 kB / 1.275 GB, free: 4.77 MB / 0.9981 GB Notification: Performance of matching and sorting (n=7): time 0.0003559/0.8041, allocations: 138.5 kB / 1.275 GB, free: 4.707 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.591e-05/0.8041, allocations: 53.94 kB / 1.276 GB, free: 4.645 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.253e-05/0.8042, allocations: 125.8 kB / 1.276 GB, free: 4.531 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 1.063e-05/0.8042, allocations: 31.08 kB / 1.276 GB, free: 4.496 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 2.915e-05/0.8042, allocations: 92.58 kB / 1.276 GB, free: 4.406 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 1.586e-05/0.8042, allocations: 16.16 kB / 1.276 GB, free: 4.395 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.176e-05/0.8043, allocations: 24.94 kB / 1.276 GB, free: 4.375 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 3.839e-05/0.8043, allocations: 327.5 kB / 1.276 GB, free: 4.051 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.658e-05/0.8044, allocations: 28.44 kB / 1.276 GB, free: 4.043 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.016e-05/0.8045, allocations: 45.25 kB / 1.276 GB, free: 4.012 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001364/0.8046, allocations: 73.47 kB / 1.276 GB, free: 3.969 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.365e-06/0.8046, allocations: 4.531 kB / 1.276 GB, free: 3.965 MB / 0.9981 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002153/0.8048, allocations: 116.4 kB / 1.276 GB, free: 3.902 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.345e-05/0.8048, allocations: 5.219 kB / 1.276 GB, free: 3.902 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.258e-06/0.8048, allocations: 0.75 kB / 1.276 GB, free: 3.902 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.456e-05/0.8049, allocations: 1.625 kB / 1.276 GB, free: 3.902 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.731e-05/0.8049, allocations: 11.91 kB / 1.276 GB, free: 3.902 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.245e-06/0.805, allocations: 5.594 kB / 1.276 GB, free: 3.898 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.121e-05/0.805, allocations: 13.72 kB / 1.276 GB, free: 3.891 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.29e-05/0.805, allocations: 3.094 kB / 1.276 GB, free: 3.891 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 (win.occ,win.curSeed,$PRE.win.curSeed,win.p,$PRE.win.p,win.on,$PRE.win.on,win.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 6.024e-05/0.8051, allocations: 118.9 kB / 1.277 GB, free: 3.77 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.704e-05/0.8051, allocations: 11.41 kB / 1.277 GB, free: 3.762 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.195e-05/0.8051, allocations: 15.95 kB / 1.277 GB, free: 3.742 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.263e-06/0.8051, allocations: 1 kB / 1.277 GB, free: 3.742 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.995e-06/0.8051, allocations: 0.8125 kB / 1.277 GB, free: 3.742 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.355e-06/0.8051, allocations: 0 / 1.277 GB, free: 3.742 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003501/0.8055, allocations: 386.9 kB / 1.277 GB, free: 3.398 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.823e-06/0.8055, allocations: 1.219 kB / 1.277 GB, free: 3.398 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.878e-05/0.8055, allocations: 4.734 kB / 1.277 GB, free: 3.398 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.394e-06/0.8055, allocations: 0.8125 kB / 1.277 GB, free: 3.398 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.13e-05/0.8055, allocations: 2.703 kB / 1.277 GB, free: 3.398 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.725e-06/0.8055, allocations: 8.719 kB / 1.277 GB, free: 3.391 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.182e-06/0.8055, allocations: 4.75 kB / 1.277 GB, free: 3.387 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002409/0.8058, allocations: 214.3 kB / 1.277 GB, free: 3.223 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 2.039e-05/0.8058, allocations: 80.81 kB / 1.277 GB, free: 3.129 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.686e-05/0.8058, allocations: 1.969 kB / 1.277 GB, free: 3.129 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.511e-05/0.8059, allocations: 9.484 kB / 1.277 GB, free: 3.125 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.267e-05/0.8059, allocations: 4.797 kB / 1.277 GB, free: 3.125 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.446e-06/0.8059, allocations: 2.094 kB / 1.277 GB, free: 3.125 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 3.575e-05/0.806, allocations: 97.41 kB / 1.277 GB, free: 3.043 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1e-07/0.806, allocations: 4 kB / 1.277 GB, free: 3.039 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0002773/0.8063, allocations: 36.28 kB / 1.277 GB, free: 3.031 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 (win.sampleTrigger,$whenCondition1,win.occ,win.on,win.p,win.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.0005723/0.8068, allocations: 0.8019 MB / 1.278 GB, free: 2.328 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0002158/0.807, allocations: 73.14 kB / 1.278 GB, free: 2.309 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 1.493e-06/0.8071, allocations: 3.938 kB / 1.278 GB, free: 2.305 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 8.67e-05/0.8071, allocations: 28.75 kB / 1.278 GB, free: 2.297 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002302/0.8074, allocations: 17.69 kB / 1.278 GB, free: 2.285 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001283/0.8087, allocations: 1.511 MB / 1.28 GB, free: 16.95 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002805/0.8089, allocations: 0.6918 MB / 1.28 GB, free: 16.25 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 3.235e-05/0.809, allocations: 8.094 kB / 1.28 GB, free: 16.25 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.895e-05/0.809, allocations: 25.8 kB / 1.28 GB, free: 16.23 MB / 1.014 GB Notification: Performance of SimCode: time 2.91e-07/0.809, allocations: 0 / 1.28 GB, free: 16.23 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02457/0.8336, allocations: 2.651 MB / 1.283 GB, free: 15.72 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.052/7.885, allocations: 7.766 kB / 1.283 GB, free: 15.71 MB / 1.014 GB " [Timeout remaining time 292] (rm -f Buildings_11_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsEU.pipe ; mkfifo Buildings_11_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsEU.pipe ; head -c 1048576 < Buildings_11_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsEU.pipe >> ../files/Buildings_11_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsEU.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsEU_res.mat --tempDir=temp_Buildings_11_Buildings_Occupants_Residential_Windows_Validation_Nicol2001WindowsEU_fmu --startTime=0 --stopTime=3600 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Occupants_Residential_Windows_Validation_Nicol2001WindowsEU.fmu > Buildings_11_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsEU.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsEU_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Occupants_Residential_Windows_Validation_Nicol2001WindowsEU.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsEU.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] "" Variables in the reference:time,win.TOut,win.occ,win.p,win.on Variables in the result:TOut.amplitude,TOut.f,TOut.offset,TOut.phase,TOut.startTime,TOut.y,occ.startTime,occ.startValue,occ.y,time,win.A,win.B,win.TOut,win.occ,win.on,win.p,win.samplePeriod,win.seed [Calling sys.exit(0), Time elapsed: 13.2102421769996]