Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsUK.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.001402/0.001402, 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.001429/0.001429, 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.297/1.297, allocations: 225.6 MB / 249.3 MB, free: 3.305 MB / 190.1 MB " [Timeout remaining time 178] 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.476/2.476, allocations: 476.7 MB / 0.7628 GB, free: 15.14 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.Nicol2001WindowsUK,fileNamePrefix="Buildings_11_Buildings_Occupants_Residential_Windows_Validation_Nicol2001WindowsUK",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsUK,fileNamePrefix="Buildings_11_Buildings_Occupants_Residential_Windows_Validation_Nicol2001WindowsUK",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001765/0.001765, allocations: 68.12 kB / 1.107 GB, free: 5.164 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.737/0.7387, allocations: 168.7 MB / 1.271 GB, free: 7.695 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsUK): time 0.002119/0.7409, allocations: 1.5 MB / 1.273 GB, free: 6.68 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.001044/0.7419, allocations: 0.7469 MB / 1.274 GB, free: 6.18 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.509e-05/0.7419, allocations: 0.7812 kB / 1.274 GB, free: 6.18 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 2.443e-05/0.742, allocations: 5.25 kB / 1.274 GB, free: 6.176 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 4.903e-05/0.742, allocations: 13.94 kB / 1.274 GB, free: 6.164 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004529/0.7425, allocations: 121.4 kB / 1.274 GB, free: 6.105 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.0001034/0.7426, allocations: 74.17 kB / 1.274 GB, free: 6.074 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 7.397e-05/0.7427, allocations: 13.3 kB / 1.274 GB, free: 6.066 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 7.644e-05/0.7427, allocations: 39.23 kB / 1.274 GB, free: 6.047 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 6.085e-05/0.7428, allocations: 38.53 kB / 1.274 GB, free: 6.031 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 1.831e-05/0.7428, allocations: 6.281 kB / 1.274 GB, free: 6.031 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001858/0.743, allocations: 108 kB / 1.274 GB, free: 5.996 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 2.401e-05/0.743, allocations: 16.78 kB / 1.274 GB, free: 5.988 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 4.491e-05/0.7431, allocations: 34.06 kB / 1.274 GB, free: 5.965 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.000201/0.7433, allocations: 144.6 kB / 1.274 GB, free: 5.914 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 3.978e-06/0.7433, allocations: 4 kB / 1.274 GB, free: 5.91 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.303e-06/0.7433, allocations: 0 / 1.274 GB, free: 5.91 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 8.717e-06/0.7433, allocations: 0.9375 kB / 1.274 GB, free: 5.91 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.00048/0.7438, allocations: 418.7 kB / 1.275 GB, free: 5.492 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 3.308e-05/0.7438, allocations: 9.688 kB / 1.275 GB, free: 5.492 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.424e-05/0.7438, allocations: 33.53 kB / 1.275 GB, free: 5.453 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.29e-05/0.7438, allocations: 9.141 kB / 1.275 GB, free: 5.449 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.325e-05/0.7439, allocations: 181.5 kB / 1.275 GB, free: 5.238 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.166e-05/0.7439, allocations: 7.281 kB / 1.275 GB, free: 5.234 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.525e-05/0.7439, allocations: 3.875 kB / 1.275 GB, free: 5.234 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001597/0.7441, allocations: 77.66 kB / 1.275 GB, free: 5.184 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.905e-06/0.7441, allocations: 0 / 1.275 GB, free: 5.184 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.069e-05/0.7441, allocations: 1.062 kB / 1.275 GB, free: 5.184 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.987e-06/0.7441, allocations: 1.062 kB / 1.275 GB, free: 5.184 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000117/0.7442, allocations: 36.78 kB / 1.275 GB, free: 5.176 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004546/0.7447, allocations: 322.5 kB / 1.275 GB, free: 4.875 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001075/0.7448, allocations: 46.78 kB / 1.275 GB, free: 4.84 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.114e-05/0.7449, allocations: 29.86 kB / 1.275 GB, free: 4.824 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.884e-05/0.7449, allocations: 0.7188 kB / 1.275 GB, free: 4.824 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001468/0.745, allocations: 90.22 kB / 1.275 GB, free: 4.754 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=7): time 1.272e-06/0.745, allocations: 0.9375 kB / 1.275 GB, free: 4.754 MB / 0.9981 GB Notification: Performance of matching and sorting (n=7): time 0.000347/0.7454, allocations: 137.1 kB / 1.275 GB, free: 4.691 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.928e-05/0.7454, allocations: 57.84 kB / 1.276 GB, free: 4.625 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.203e-05/0.7455, allocations: 122.7 kB / 1.276 GB, free: 4.516 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 1.048e-05/0.7455, allocations: 26.39 kB / 1.276 GB, free: 4.484 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 2.825e-05/0.7455, allocations: 92.64 kB / 1.276 GB, free: 4.395 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 1.572e-05/0.7455, allocations: 15.75 kB / 1.276 GB, free: 4.383 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.133e-05/0.7456, allocations: 29.64 kB / 1.276 GB, free: 4.359 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 3.556e-05/0.7456, allocations: 322.9 kB / 1.276 GB, free: 4.039 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.574e-05/0.7457, allocations: 24.14 kB / 1.276 GB, free: 4.035 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.976e-05/0.7458, allocations: 46.88 kB / 1.276 GB, free: 4.004 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001374/0.7459, allocations: 80.17 kB / 1.276 GB, free: 3.953 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.683e-06/0.7459, allocations: 0 / 1.276 GB, free: 3.953 MB / 0.9981 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.000208/0.7461, allocations: 111.7 kB / 1.276 GB, free: 3.895 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.195e-05/0.7461, allocations: 6.875 kB / 1.276 GB, free: 3.895 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.128e-06/0.7461, allocations: 4.969 kB / 1.276 GB, free: 3.891 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.283e-05/0.7461, allocations: 1 kB / 1.276 GB, free: 3.891 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.579e-05/0.7462, allocations: 16.89 kB / 1.276 GB, free: 3.887 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.4e-06/0.7462, allocations: 0.8438 kB / 1.276 GB, free: 3.887 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.14e-05/0.7463, allocations: 16.52 kB / 1.276 GB, free: 3.875 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.316e-05/0.7463, allocations: 3.812 kB / 1.276 GB, free: 3.875 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 5.538e-05/0.7464, allocations: 128.9 kB / 1.277 GB, free: 3.75 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.607e-05/0.7464, allocations: 9.969 kB / 1.277 GB, free: 3.746 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.159e-05/0.7464, allocations: 14.12 kB / 1.277 GB, free: 3.727 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.974e-06/0.7464, allocations: 0.9062 kB / 1.277 GB, free: 3.727 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.396e-06/0.7464, allocations: 0 / 1.277 GB, free: 3.727 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.226e-06/0.7464, allocations: 0.8125 kB / 1.277 GB, free: 3.727 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003387/0.7468, allocations: 377.3 kB / 1.277 GB, free: 3.391 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.372e-06/0.7468, allocations: 0.9688 kB / 1.277 GB, free: 3.391 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.708e-05/0.7468, allocations: 9.422 kB / 1.277 GB, free: 3.387 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.204e-06/0.7468, allocations: 3.984 kB / 1.277 GB, free: 3.383 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.011e-05/0.7468, allocations: 11.09 kB / 1.277 GB, free: 3.375 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.044e-06/0.7468, allocations: 4.625 kB / 1.277 GB, free: 3.371 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.372e-06/0.7468, allocations: 0.8125 kB / 1.277 GB, free: 3.371 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002251/0.747, allocations: 204.8 kB / 1.277 GB, free: 3.219 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 1.763e-05/0.747, allocations: 79.36 kB / 1.277 GB, free: 3.125 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.583e-05/0.7471, allocations: 0.7812 kB / 1.277 GB, free: 3.125 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.499e-05/0.7472, allocations: 13.55 kB / 1.277 GB, free: 3.117 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.552e-05/0.7472, allocations: 7.484 kB / 1.277 GB, free: 3.113 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.355e-06/0.7472, allocations: 3.547 kB / 1.277 GB, free: 3.113 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 3.359e-05/0.7472, allocations: 91.75 kB / 1.277 GB, free: 3.035 MB / 0.9981 GB Notification: Performance of sort global known variables: time 6e-08/0.7472, allocations: 0.9375 kB / 1.277 GB, free: 3.035 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0002781/0.7475, allocations: 45.2 kB / 1.277 GB, free: 3.02 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.0005818/0.7481, allocations: 0.8058 MB / 1.278 GB, free: 2.312 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0002125/0.7483, allocations: 79.23 kB / 1.278 GB, free: 2.285 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 1.613e-06/0.7483, allocations: 0 / 1.278 GB, free: 2.285 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 8.616e-05/0.7484, allocations: 32.58 kB / 1.278 GB, free: 2.277 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002326/0.7486, allocations: 11.31 kB / 1.278 GB, free: 2.27 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001264/0.7499, allocations: 1.502 MB / 1.28 GB, free: 16.94 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002997/0.7502, allocations: 0.6927 MB / 1.28 GB, free: 16.24 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 3.449e-05/0.7502, allocations: 8.797 kB / 1.28 GB, free: 16.24 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.393e-05/0.7503, allocations: 20 kB / 1.28 GB, free: 16.22 MB / 1.014 GB Notification: Performance of SimCode: time 3.11e-07/0.7503, allocations: 0 / 1.28 GB, free: 16.22 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02619/0.7765, allocations: 2.653 MB / 1.283 GB, free: 15.7 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.975/7.752, allocations: 5.047 kB / 1.283 GB, free: 15.7 MB / 1.014 GB " [Timeout remaining time 292] (rm -f Buildings_11_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsUK.pipe ; mkfifo Buildings_11_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsUK.pipe ; head -c 1048576 < Buildings_11_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsUK.pipe >> ../files/Buildings_11_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsUK.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsUK_res.mat --tempDir=temp_Buildings_11_Buildings_Occupants_Residential_Windows_Validation_Nicol2001WindowsUK_fmu --startTime=0 --stopTime=3600 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Occupants_Residential_Windows_Validation_Nicol2001WindowsUK.fmu > Buildings_11_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsUK.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsUK_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Occupants_Residential_Windows_Validation_Nicol2001WindowsUK.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsUK.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.024142012998709]