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.00127/0.00127, allocations: 112.1 kB / 16.41 MB, free: 6.449 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.001358/0.001358, allocations: 191.7 kB / 19.36 MB, free: 3.711 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.415/1.415, allocations: 222.9 MB / 245.1 MB, free: 15 MB / 206.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.824/2.824, allocations: 469.8 MB / 0.7491 GB, free: 2.977 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.002226/0.002226, allocations: 63.89 kB / 1.073 GB, free: 112 kB / 0.8731 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8859/0.8881, allocations: 159.1 MB / 1.229 GB, free: 4.812 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsUK): time 0.002965/0.8911, allocations: 1.483 MB / 1.23 GB, free: 3.324 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.00131/0.8925, allocations: 0.7256 MB / 1.231 GB, free: 2.594 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.308e-05/0.8925, allocations: 0 / 1.231 GB, free: 2.594 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 3.519e-05/0.8926, allocations: 11.86 kB / 1.231 GB, free: 2.582 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 4.77e-05/0.8926, allocations: 7.922 kB / 1.231 GB, free: 2.574 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005076/0.8931, allocations: 127.5 kB / 1.231 GB, free: 2.449 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.000115/0.8933, allocations: 71.78 kB / 1.231 GB, free: 2.379 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 8.686e-05/0.8934, allocations: 15.94 kB / 1.231 GB, free: 2.363 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 8.847e-05/0.8935, allocations: 43.91 kB / 1.231 GB, free: 2.32 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 7.293e-05/0.8935, allocations: 43.77 kB / 1.231 GB, free: 2.277 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 1.745e-05/0.8936, allocations: 4 kB / 1.231 GB, free: 2.273 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001883/0.8938, allocations: 91.91 kB / 1.231 GB, free: 2.184 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 2.884e-05/0.8938, allocations: 23.91 kB / 1.231 GB, free: 2.16 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 4.781e-05/0.8938, allocations: 31.86 kB / 1.231 GB, free: 2.129 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.0002279/0.8941, allocations: 145.3 kB / 1.231 GB, free: 1.988 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 2.855e-06/0.8941, allocations: 0 / 1.231 GB, free: 1.988 MB / 0.9356 GB Notification: Performance of FrontEnd: time 2.866e-06/0.8941, allocations: 4 kB / 1.231 GB, free: 1.984 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 4.499e-06/0.8941, allocations: 0 / 1.231 GB, free: 1.984 MB / 0.9356 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.0005901/0.8947, allocations: 416.7 kB / 1.232 GB, free: 1.523 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 3.906e-05/0.8947, allocations: 16.02 kB / 1.232 GB, free: 1.508 MB / 0.9356 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.858e-05/0.8948, allocations: 34.75 kB / 1.232 GB, free: 1.465 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.746e-05/0.8948, allocations: 8.891 kB / 1.232 GB, free: 1.457 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001336/0.895, allocations: 168.3 kB / 1.232 GB, free: 1.254 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.334e-05/0.895, allocations: 4.375 kB / 1.232 GB, free: 1.25 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.603e-05/0.895, allocations: 8.359 kB / 1.232 GB, free: 1.242 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001826/0.8952, allocations: 81.7 kB / 1.232 GB, free: 1.156 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.805e-06/0.8952, allocations: 0 / 1.232 GB, free: 1.156 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.26e-05/0.8952, allocations: 3.938 kB / 1.232 GB, free: 1.152 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.781e-06/0.8953, allocations: 7.938 kB / 1.232 GB, free: 1.145 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001314/0.8954, allocations: 35.97 kB / 1.232 GB, free: 1.109 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006073/0.896, allocations: 312.7 kB / 1.232 GB, free: 0.7539 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001312/0.8962, allocations: 46.56 kB / 1.232 GB, free: 0.6992 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.803e-05/0.8963, allocations: 36.91 kB / 1.232 GB, free: 0.6602 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 1.993e-05/0.8963, allocations: 0 / 1.232 GB, free: 0.6602 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002161/0.8965, allocations: 79.38 kB / 1.233 GB, free: 0.5703 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=7): time 1.422e-06/0.8965, allocations: 0 / 1.233 GB, free: 0.5703 MB / 0.9356 GB Notification: Performance of matching and sorting (n=7): time 0.000435/0.897, allocations: 145.6 kB / 1.233 GB, free: 432 kB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.754e-05/0.897, allocations: 51.41 kB / 1.233 GB, free: 368 kB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000113/0.8971, allocations: 137.6 kB / 1.233 GB, free: 220 kB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 1.89e-05/0.8972, allocations: 25.7 kB / 1.233 GB, free: 188 kB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 7.072e-05/0.8972, allocations: 92.12 kB / 1.233 GB, free: 92 kB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 2.218e-05/0.8973, allocations: 15.91 kB / 1.233 GB, free: 76 kB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.257e-05/0.8973, allocations: 29.7 kB / 1.233 GB, free: 40 kB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001614/0.8975, allocations: 322.8 kB / 1.233 GB, free: 15.71 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.763e-05/0.8976, allocations: 31.97 kB / 1.233 GB, free: 15.68 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001047/0.8977, allocations: 42.56 kB / 1.233 GB, free: 15.63 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001687/0.8979, allocations: 74.48 kB / 1.233 GB, free: 15.55 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.783e-06/0.8979, allocations: 4 kB / 1.233 GB, free: 15.55 MB / 0.9512 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002525/0.8981, allocations: 121.8 kB / 1.234 GB, free: 15.42 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 1.325e-05/0.8982, allocations: 4 kB / 1.234 GB, free: 15.42 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.672e-06/0.8982, allocations: 4 kB / 1.234 GB, free: 15.41 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.226e-05/0.8982, allocations: 0 / 1.234 GB, free: 15.41 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.988e-05/0.8983, allocations: 11.98 kB / 1.234 GB, free: 15.4 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.941e-06/0.8983, allocations: 3.938 kB / 1.234 GB, free: 15.4 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.548e-05/0.8984, allocations: 12 kB / 1.234 GB, free: 15.39 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.418e-05/0.8984, allocations: 8 kB / 1.234 GB, free: 15.38 MB / 0.9512 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 0.0001032/0.8985, allocations: 121.7 kB / 1.234 GB, free: 15.25 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.854e-05/0.8985, allocations: 11.94 kB / 1.234 GB, free: 15.24 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.507e-05/0.8986, allocations: 12.38 kB / 1.234 GB, free: 15.22 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.137e-06/0.8986, allocations: 3.984 kB / 1.234 GB, free: 15.21 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.787e-06/0.8986, allocations: 0 / 1.234 GB, free: 15.21 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.246e-06/0.8986, allocations: 0 / 1.234 GB, free: 15.21 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005063/0.8991, allocations: 378.4 kB / 1.234 GB, free: 14.79 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.663e-06/0.8991, allocations: 0 / 1.234 GB, free: 14.79 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.007e-05/0.8992, allocations: 4 kB / 1.234 GB, free: 14.79 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.693e-06/0.8992, allocations: 0 / 1.234 GB, free: 14.79 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.797e-05/0.8992, allocations: 11.98 kB / 1.234 GB, free: 14.77 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.216e-06/0.8992, allocations: 7.875 kB / 1.234 GB, free: 14.77 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.172e-06/0.8992, allocations: 0 / 1.234 GB, free: 14.77 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003187/0.8995, allocations: 207.4 kB / 1.234 GB, free: 14.55 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 6.711e-05/0.8996, allocations: 89.05 kB / 1.234 GB, free: 14.44 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.839e-05/0.8996, allocations: 0 / 1.234 GB, free: 14.44 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.97e-05/0.8997, allocations: 11.94 kB / 1.234 GB, free: 14.43 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.8e-05/0.8998, allocations: 3.984 kB / 1.234 GB, free: 14.43 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.386e-06/0.8998, allocations: 4 kB / 1.234 GB, free: 14.42 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 6.226e-05/0.8999, allocations: 91.27 kB / 1.235 GB, free: 14.33 MB / 0.9512 GB Notification: Performance of sort global known variables: time 1.2e-07/0.8999, allocations: 0 / 1.235 GB, free: 14.33 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.000297/0.9002, allocations: 39.88 kB / 1.235 GB, free: 14.29 MB / 0.9512 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.0009307/0.9011, allocations: 0.805 MB / 1.235 GB, free: 13.48 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.0002442/0.9014, allocations: 79.89 kB / 1.235 GB, free: 13.4 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 2.043e-06/0.9014, allocations: 0 / 1.235 GB, free: 13.4 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 9.969e-05/0.9015, allocations: 36.44 kB / 1.236 GB, free: 13.36 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002634/0.9018, allocations: 15.88 kB / 1.236 GB, free: 13.35 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001706/0.9035, allocations: 1.507 MB / 1.237 GB, free: 11.75 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003249/0.9038, allocations: 0.6846 MB / 1.238 GB, free: 11.04 MB / 0.9512 GB Notification: Performance of simCode: alias equations: time 3.812e-05/0.9039, allocations: 7.984 kB / 1.238 GB, free: 11.03 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.579e-05/0.9039, allocations: 19.44 kB / 1.238 GB, free: 11.01 MB / 0.9512 GB Notification: Performance of SimCode: time 2.7e-07/0.9039, allocations: 4 kB / 1.238 GB, free: 11.01 MB / 0.9512 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02406/0.928, allocations: 2.642 MB / 1.24 GB, free: 8.512 MB / 0.9512 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.15/9.078, allocations: 8.531 kB / 1.24 GB, free: 8.508 MB / 0.9512 GB " [Timeout remaining time 291] (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 --stepSize=1.44 --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_2/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: 15.137959036044776]