Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/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: translateModel(Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsUK,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|win.TOut|win.occ|win.p|win.on",fileNamePrefix="Buildings_latest_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsUK") translateModel(Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsUK,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|win.TOut|win.occ|win.p|win.on",fileNamePrefix="Buildings_latest_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsUK") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.006867/0.006867, allocations: 100.9 kB / 15.73 MB, free: 6.035 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001202/0.001202, allocations: 199.1 kB / 16.68 MB, free: 5.953 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.341/1.341, allocations: 222.9 MB / 240.4 MB, free: 15.09 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.598/2.598, allocations: 461.9 MB / 0.7348 GB, free: 11.1 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001335/0.001335, allocations: 63.91 kB / 1.054 GB, free: 7.727 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9894/0.9907, allocations: 157.4 MB / 1.208 GB, free: 13.59 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsUK): time 0.002549/0.9933, allocations: 1.471 MB / 1.209 GB, free: 12.12 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.001236/0.9946, allocations: 0.7362 MB / 1.21 GB, free: 11.38 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.298e-05/0.9946, allocations: 3.938 kB / 1.21 GB, free: 11.38 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 3.178e-05/0.9947, allocations: 3.938 kB / 1.21 GB, free: 11.37 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 5.364e-05/0.9947, allocations: 11.88 kB / 1.21 GB, free: 11.36 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005807/0.9953, allocations: 123.6 kB / 1.21 GB, free: 11.24 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.0001163/0.9954, allocations: 75.77 kB / 1.21 GB, free: 11.16 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001042/0.9955, allocations: 23.94 kB / 1.21 GB, free: 11.14 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 8.162e-05/0.9956, allocations: 31.86 kB / 1.21 GB, free: 11.11 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 6.315e-05/0.9957, allocations: 39.88 kB / 1.21 GB, free: 11.07 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 1.909e-05/0.9957, allocations: 8 kB / 1.21 GB, free: 11.06 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001743/0.9959, allocations: 95.84 kB / 1.21 GB, free: 10.97 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 3.525e-05/0.996, allocations: 19.92 kB / 1.21 GB, free: 10.95 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 4.338e-05/0.996, allocations: 27.86 kB / 1.21 GB, free: 10.92 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.0002262/0.9962, allocations: 151.4 kB / 1.21 GB, free: 10.78 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 3.937e-06/0.9962, allocations: 0 / 1.21 GB, free: 10.78 MB / 0.9356 GB Notification: Performance of FrontEnd: time 1.613e-06/0.9963, allocations: 0 / 1.21 GB, free: 10.78 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 5.189e-06/0.9963, allocations: 0 / 1.21 GB, free: 10.78 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.000643/0.9969, allocations: 426.7 kB / 1.211 GB, free: 10.31 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 3.785e-05/0.997, allocations: 8.031 kB / 1.211 GB, free: 10.3 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.377e-05/0.997, allocations: 8.844 kB / 1.211 GB, free: 10.29 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001263/0.9971, allocations: 168.3 kB / 1.211 GB, free: 10.09 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.776e-05/0.9972, allocations: 4.375 kB / 1.211 GB, free: 10.09 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.189e-05/0.9972, allocations: 12.38 kB / 1.211 GB, free: 10.07 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001987/0.9974, allocations: 65.97 kB / 1.211 GB, free: 10 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.554e-06/0.9974, allocations: 0 / 1.211 GB, free: 10 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.191e-05/0.9974, allocations: 0 / 1.211 GB, free: 10 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.925e-06/0.9974, allocations: 4 kB / 1.211 GB, free: 10 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001288/0.9976, allocations: 39.91 kB / 1.211 GB, free: 9.961 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005768/0.9982, allocations: 320.7 kB / 1.211 GB, free: 9.598 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001298/0.9983, allocations: 42.56 kB / 1.211 GB, free: 9.547 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.912e-05/0.9984, allocations: 32.97 kB / 1.212 GB, free: 9.512 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 2.018e-05/0.9984, allocations: 4.062 kB / 1.212 GB, free: 9.508 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001698/0.9986, allocations: 87.31 kB / 1.212 GB, free: 9.41 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=7): time 1.432e-06/0.9986, allocations: 0 / 1.212 GB, free: 9.41 MB / 0.9356 GB Notification: Performance of matching and sorting (n=7): time 0.000425/0.999, allocations: 133.8 kB / 1.212 GB, free: 9.273 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.34e-05/0.9991, allocations: 55.41 kB / 1.212 GB, free: 9.207 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001275/0.9992, allocations: 125.7 kB / 1.212 GB, free: 9.074 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 2.131e-05/0.9992, allocations: 25.7 kB / 1.212 GB, free: 9.043 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 5.283e-05/0.9993, allocations: 88.14 kB / 1.212 GB, free: 8.953 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 2.337e-05/0.9993, allocations: 27.78 kB / 1.212 GB, free: 8.926 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.962e-05/0.9994, allocations: 29.7 kB / 1.212 GB, free: 8.891 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001174/0.9995, allocations: 318.8 kB / 1.212 GB, free: 8.57 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.068e-05/0.9996, allocations: 31.86 kB / 1.212 GB, free: 8.539 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.825e-05/0.9997, allocations: 50.48 kB / 1.212 GB, free: 8.48 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000152/0.9999, allocations: 78.61 kB / 1.213 GB, free: 8.395 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.924e-06/0.9999, allocations: 0 / 1.213 GB, free: 8.395 MB / 0.9356 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002281/1, allocations: 109.5 kB / 1.213 GB, free: 8.281 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.405e-05/1, allocations: 7.984 kB / 1.213 GB, free: 8.273 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.042e-06/1, allocations: 4 kB / 1.213 GB, free: 8.27 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.364e-05/1, allocations: 3.984 kB / 1.213 GB, free: 8.266 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.925e-05/1, allocations: 11.94 kB / 1.213 GB, free: 8.254 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.352e-06/1, allocations: 4.062 kB / 1.213 GB, free: 8.25 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.53e-05/1, allocations: 15.92 kB / 1.213 GB, free: 8.234 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.459e-05/1, allocations: 4 kB / 1.213 GB, free: 8.23 MB / 0.9356 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 9.418e-05/1, allocations: 117.8 kB / 1.213 GB, free: 8.105 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.688e-05/1, allocations: 7.906 kB / 1.213 GB, free: 8.098 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.74e-05/1, allocations: 16.36 kB / 1.213 GB, free: 8.078 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.663e-06/1.001, allocations: 0 / 1.213 GB, free: 8.078 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.579e-06/1.001, allocations: 0 / 1.213 GB, free: 8.078 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.17e-06/1.001, allocations: 8 kB / 1.213 GB, free: 8.07 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004253/1.001, allocations: 378.4 kB / 1.213 GB, free: 7.645 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.603e-06/1.001, allocations: 0 / 1.213 GB, free: 7.645 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.828e-05/1.001, allocations: 4 kB / 1.213 GB, free: 7.641 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.654e-06/1.001, allocations: 0 / 1.213 GB, free: 7.641 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.407e-05/1.001, allocations: 11.98 kB / 1.213 GB, free: 7.629 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.473e-06/1.001, allocations: 0 / 1.213 GB, free: 7.629 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.325e-06/1.001, allocations: 3.938 kB / 1.213 GB, free: 7.625 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002657/1.001, allocations: 207.4 kB / 1.213 GB, free: 7.406 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 3.981e-05/1.001, allocations: 85.02 kB / 1.213 GB, free: 7.305 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.834e-05/1.001, allocations: 0 / 1.213 GB, free: 7.305 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.97e-05/1.001, allocations: 11.98 kB / 1.213 GB, free: 7.293 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.31e-05/1.002, allocations: 3.938 kB / 1.213 GB, free: 7.289 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.218e-06/1.002, allocations: 11.92 kB / 1.214 GB, free: 7.277 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 8.131e-05/1.002, allocations: 91.92 kB / 1.214 GB, free: 7.188 MB / 0.9356 GB Notification: Performance of sort global known variables: time 1.3e-07/1.002, allocations: 4 kB / 1.214 GB, free: 7.184 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0002782/1.002, allocations: 39.94 kB / 1.214 GB, free: 7.145 MB / 0.9356 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.000302/1.002, allocations: 157.8 kB / 1.214 GB, free: 6.996 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0003388/1.003, allocations: 72.19 kB / 1.214 GB, free: 6.926 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 1.953e-06/1.003, allocations: 4.062 kB / 1.214 GB, free: 6.922 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 9.776e-05/1.003, allocations: 44.05 kB / 1.214 GB, free: 6.879 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002617/1.003, allocations: 8 kB / 1.214 GB, free: 6.871 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003754/1.003, allocations: 188.9 kB / 1.214 GB, free: 6.656 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002358/1.004, allocations: 0.6885 MB / 1.215 GB, free: 5.941 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 3.757e-05/1.004, allocations: 11.98 kB / 1.215 GB, free: 5.93 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.779e-05/1.004, allocations: 11.44 kB / 1.215 GB, free: 5.918 MB / 0.9356 GB Notification: Performance of SimCode: time 2.21e-07/1.004, allocations: 0 / 1.215 GB, free: 5.918 MB / 0.9356 GB Notification: Performance of Templates: time 0.00386/1.008, allocations: 1.454 MB / 1.216 GB, free: 4.469 MB / 0.9356 GB make -j1 -f Buildings_latest_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsUK.makefile (rm -f Buildings_latest_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsUK.pipe ; mkfifo Buildings_latest_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsUK.pipe ; head -c 1048576 < Buildings_latest_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsUK.pipe >> ../files/Buildings_latest_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsUK.sim & ./Buildings_latest_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsUK -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsUK.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsUK_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Occupants_Residential_Windows_Validation_Nicol2001WindowsUK.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsUK.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) "" 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,occ.startTime,occ.startValue,time,win.A,win.B,win.TOut,win.occ,win.on,win.p,win.samplePeriod,win.seed,win.t0