Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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: 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_10_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_10_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.001048/0.001048, allocations: 115.8 kB / 16.42 MB, free: 6.488 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.001068/0.001068, allocations: 185.7 kB / 17.35 MB, free: 5.762 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.313/1.313, allocations: 222.9 MB / 241.1 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.516/2.516, allocations: 437 MB / 0.7112 GB, free: 4.383 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001203/0.001203, allocations: 64.11 kB / 1.019 GB, free: 9.477 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7119/0.7132, allocations: 151.6 MB / 1.167 GB, free: 3.895 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsUK): time 0.002455/0.7157, allocations: 1.484 MB / 1.169 GB, free: 2.402 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.001184/0.7169, allocations: 0.7206 MB / 1.169 GB, free: 1.676 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.734e-05/0.7169, allocations: 0 / 1.169 GB, free: 1.676 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 2.876e-05/0.7169, allocations: 11.86 kB / 1.169 GB, free: 1.664 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 4.963e-05/0.717, allocations: 11.92 kB / 1.169 GB, free: 1.652 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.000483/0.7175, allocations: 131.5 kB / 1.17 GB, free: 1.523 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 0.0001107/0.7176, allocations: 71.78 kB / 1.17 GB, free: 1.453 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 8.416e-05/0.7177, allocations: 19.92 kB / 1.17 GB, free: 1.434 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 8.143e-05/0.7178, allocations: 31.91 kB / 1.17 GB, free: 1.402 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 6.602e-05/0.7179, allocations: 43.77 kB / 1.17 GB, free: 1.359 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 1.878e-05/0.7179, allocations: 8 kB / 1.17 GB, free: 1.352 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000183/0.7181, allocations: 91.91 kB / 1.17 GB, free: 1.262 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 2.418e-05/0.7181, allocations: 19.98 kB / 1.17 GB, free: 1.242 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 4.586e-05/0.7182, allocations: 39.78 kB / 1.17 GB, free: 1.203 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.0002074/0.7184, allocations: 147.4 kB / 1.17 GB, free: 1.062 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 3.426e-06/0.7184, allocations: 0 / 1.17 GB, free: 1.062 MB / 0.8887 GB Notification: Performance of FrontEnd: time 1.343e-06/0.7184, allocations: 0 / 1.17 GB, free: 1.062 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 4.178e-06/0.7184, allocations: 0 / 1.17 GB, free: 1.062 MB / 0.8887 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.0005681/0.719, allocations: 410.8 kB / 1.17 GB, free: 0.6094 MB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 3.15e-05/0.719, allocations: 8.031 kB / 1.17 GB, free: 0.6016 MB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.862e-05/0.7191, allocations: 12.83 kB / 1.17 GB, free: 0.5898 MB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001095/0.7192, allocations: 172.3 kB / 1.171 GB, free: 392 kB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.428e-05/0.7192, allocations: 4.375 kB / 1.171 GB, free: 388 kB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.677e-05/0.7192, allocations: 4.375 kB / 1.171 GB, free: 384 kB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001821/0.7194, allocations: 69.97 kB / 1.171 GB, free: 308 kB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.853e-06/0.7194, allocations: 0 / 1.171 GB, free: 308 kB / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.186e-05/0.7195, allocations: 0 / 1.171 GB, free: 308 kB / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.75e-06/0.7195, allocations: 7.922 kB / 1.171 GB, free: 300 kB / 0.8887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001301/0.7196, allocations: 43.97 kB / 1.171 GB, free: 256 kB / 0.8887 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005702/0.7202, allocations: 316.7 kB / 1.171 GB, free: 15.89 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001279/0.7203, allocations: 50.55 kB / 1.171 GB, free: 15.83 MB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.194e-05/0.7204, allocations: 32.97 kB / 1.171 GB, free: 15.8 MB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 1.798e-05/0.7204, allocations: 0 / 1.171 GB, free: 15.8 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001582/0.7206, allocations: 83.31 kB / 1.171 GB, free: 15.7 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=7): time 1.403e-06/0.7206, allocations: 3.938 kB / 1.171 GB, free: 15.7 MB / 0.9044 GB Notification: Performance of matching and sorting (n=7): time 0.0003767/0.721, allocations: 141.6 kB / 1.171 GB, free: 15.55 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.915e-05/0.721, allocations: 51.41 kB / 1.171 GB, free: 15.49 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.579e-05/0.7211, allocations: 125.7 kB / 1.171 GB, free: 15.36 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 1.77e-05/0.7212, allocations: 25.7 kB / 1.172 GB, free: 15.33 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 5.078e-05/0.7212, allocations: 96.14 kB / 1.172 GB, free: 15.23 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 1.648e-05/0.7212, allocations: 11.8 kB / 1.172 GB, free: 15.22 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.75e-05/0.7213, allocations: 29.72 kB / 1.172 GB, free: 15.18 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 9.982e-05/0.7214, allocations: 326.7 kB / 1.172 GB, free: 14.86 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.243e-05/0.7215, allocations: 27.98 kB / 1.172 GB, free: 14.83 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.791e-05/0.7216, allocations: 46.55 kB / 1.172 GB, free: 14.77 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001592/0.7218, allocations: 70.56 kB / 1.172 GB, free: 14.7 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.693e-06/0.7218, allocations: 0 / 1.172 GB, free: 14.7 MB / 0.9044 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002431/0.722, allocations: 109.8 kB / 1.172 GB, free: 14.58 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 1.315e-05/0.722, allocations: 7.938 kB / 1.172 GB, free: 14.57 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.631e-06/0.7221, allocations: 7.938 kB / 1.172 GB, free: 14.57 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.026e-05/0.7221, allocations: 8.062 kB / 1.172 GB, free: 14.56 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.31e-05/0.7222, allocations: 15.98 kB / 1.172 GB, free: 14.54 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.48e-06/0.7222, allocations: 80 / 1.172 GB, free: 14.54 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.054e-05/0.7223, allocations: 11.92 kB / 1.172 GB, free: 14.53 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.357e-05/0.7223, allocations: 7.984 kB / 1.172 GB, free: 14.52 MB / 0.9044 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 8.714e-05/0.7224, allocations: 117.8 kB / 1.172 GB, free: 14.4 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.766e-05/0.7224, allocations: 7.906 kB / 1.172 GB, free: 14.39 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.389e-05/0.7224, allocations: 12.38 kB / 1.172 GB, free: 14.38 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.662e-06/0.7224, allocations: 7.984 kB / 1.172 GB, free: 14.37 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.385e-06/0.7224, allocations: 3.938 kB / 1.172 GB, free: 14.37 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 3.518e-05/0.7225, allocations: 84.95 kB / 1.172 GB, free: 14.27 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.82e-05/0.7225, allocations: 0 / 1.172 GB, free: 14.27 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.73e-05/0.7226, allocations: 11.94 kB / 1.172 GB, free: 14.25 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.655e-05/0.7226, allocations: 7.984 kB / 1.173 GB, free: 14.25 MB / 0.9044 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0002992/0.7229, allocations: 188.9 kB / 1.173 GB, free: 14.05 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0003032/0.7232, allocations: 274.8 kB / 1.173 GB, free: 13.77 MB / 0.9044 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 9.108e-05/0.7233, allocations: 39.89 kB / 1.173 GB, free: 13.73 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 4.728e-05/0.7234, allocations: 99.86 kB / 1.173 GB, free: 13.63 MB / 0.9044 GB Notification: Performance of Backend: time 4.01e-07/0.7234, allocations: 0 / 1.173 GB, free: 13.63 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.0006068/0.724, allocations: 181.9 kB / 1.173 GB, free: 13.46 MB / 0.9044 GB Notification: Performance of SimCode: time 0.0004789/0.7245, allocations: 0.6259 MB / 1.174 GB, free: 12.79 MB / 0.9044 GB Notification: Performance of Templates: time 0.003845/0.7284, allocations: 1.503 MB / 1.175 GB, free: 11.29 MB / 0.9044 GB make -j1 -f Buildings_10_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsUK.makefile (rm -f Buildings_10_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsUK.pipe ; mkfifo Buildings_10_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsUK.pipe ; head -c 1048576 < Buildings_10_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsUK.pipe >> ../files/Buildings_10_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsUK.sim & ./Buildings_10_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsUK -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsUK.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsUK_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Occupants_Residential_Windows_Validation_Nicol2001WindowsUK.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_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