Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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) 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.Nicol2001WindowsEU,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.Nicol2001WindowsEU") translateModel(Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsEU,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.Nicol2001WindowsEU") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001585/0.001585, allocations: 114.8 kB / 16.42 MB, free: 6.496 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.00187/0.00187, allocations: 183.9 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.406/1.406, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.604/2.604, allocations: 469.4 MB / 0.7428 GB, free: 3.625 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.002084/0.002084, allocations: 64.09 kB / 1.065 GB, free: 13.86 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.739/0.7411, allocations: 159.1 MB / 1.221 GB, free: 2.363 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsEU): time 0.00269/0.7438, allocations: 1.471 MB / 1.222 GB, free: 0.8828 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.001271/0.7451, allocations: 0.7293 MB / 1.223 GB, free: 152 kB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.23e-05/0.7452, allocations: 4 kB / 1.223 GB, free: 148 kB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 3.259e-05/0.7453, allocations: 3.938 kB / 1.223 GB, free: 144 kB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 5.618e-05/0.7453, allocations: 15.8 kB / 1.223 GB, free: 128 kB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005684/0.7459, allocations: 127.6 kB / 1.223 GB, free: 0 / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.0001281/0.746, allocations: 71.89 kB / 1.223 GB, free: 15.93 MB / 0.9512 GB Notification: Performance of NFFlatten.resolveConnections: time 9.213e-05/0.7461, allocations: 19.95 kB / 1.223 GB, free: 15.91 MB / 0.9512 GB Notification: Performance of NFEvalConstants.evaluate: time 9.672e-05/0.7462, allocations: 39.83 kB / 1.223 GB, free: 15.87 MB / 0.9512 GB Notification: Performance of NFSimplifyModel.simplify: time 6.786e-05/0.7463, allocations: 35.84 kB / 1.223 GB, free: 15.83 MB / 0.9512 GB Notification: Performance of NFPackage.collectConstants: time 1.856e-05/0.7463, allocations: 8 kB / 1.223 GB, free: 15.82 MB / 0.9512 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001983/0.7466, allocations: 91.78 kB / 1.223 GB, free: 15.74 MB / 0.9512 GB Notification: Performance of NFScalarize.scalarize: time 2.767e-05/0.7466, allocations: 15.98 kB / 1.223 GB, free: 15.72 MB / 0.9512 GB Notification: Performance of NFVerifyModel.verify: time 4.835e-05/0.7466, allocations: 35.78 kB / 1.223 GB, free: 15.69 MB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 0.0002456/0.7469, allocations: 147.4 kB / 1.224 GB, free: 15.55 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 3.657e-06/0.7469, allocations: 0 / 1.224 GB, free: 15.55 MB / 0.9512 GB Notification: Performance of FrontEnd: time 1.263e-06/0.7469, allocations: 4 kB / 1.224 GB, free: 15.54 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 4.639e-06/0.7469, allocations: 0 / 1.224 GB, free: 15.54 MB / 0.9512 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.0005992/0.7475, allocations: 418.8 kB / 1.224 GB, free: 15.08 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 3.608e-05/0.7476, allocations: 8.031 kB / 1.224 GB, free: 15.07 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.606e-05/0.7476, allocations: 8.844 kB / 1.224 GB, free: 15.07 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001088/0.7477, allocations: 168.3 kB / 1.224 GB, free: 14.86 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.482e-05/0.7478, allocations: 4.375 kB / 1.224 GB, free: 14.86 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.726e-05/0.7478, allocations: 8.375 kB / 1.224 GB, free: 14.85 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001804/0.748, allocations: 77.89 kB / 1.224 GB, free: 14.77 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.163e-06/0.748, allocations: 0 / 1.224 GB, free: 14.77 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.149e-05/0.748, allocations: 0 / 1.224 GB, free: 14.77 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.892e-06/0.748, allocations: 4 kB / 1.224 GB, free: 14.77 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001306/0.7482, allocations: 35.97 kB / 1.224 GB, free: 14.73 MB / 0.9512 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005927/0.7488, allocations: 324.6 kB / 1.225 GB, free: 14.36 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001219/0.7489, allocations: 54.44 kB / 1.225 GB, free: 14.3 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.244e-05/0.749, allocations: 28.97 kB / 1.225 GB, free: 14.27 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 1.956e-05/0.749, allocations: 0 / 1.225 GB, free: 14.27 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001855/0.7492, allocations: 83.38 kB / 1.225 GB, free: 14.18 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=7): time 1.623e-06/0.7492, allocations: 4 kB / 1.225 GB, free: 14.17 MB / 0.9512 GB Notification: Performance of matching and sorting (n=7): time 0.0003802/0.7496, allocations: 133.7 kB / 1.225 GB, free: 14.04 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.524e-05/0.7496, allocations: 63.33 kB / 1.225 GB, free: 13.96 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.911e-05/0.7497, allocations: 125.7 kB / 1.225 GB, free: 13.83 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 1.741e-05/0.7498, allocations: 25.7 kB / 1.225 GB, free: 13.8 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 5.056e-05/0.7498, allocations: 92.12 kB / 1.225 GB, free: 13.7 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 2.049e-05/0.7499, allocations: 15.81 kB / 1.225 GB, free: 13.69 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.973e-05/0.7499, allocations: 33.7 kB / 1.225 GB, free: 13.65 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 9.658e-05/0.75, allocations: 318.8 kB / 1.226 GB, free: 13.33 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.548e-05/0.7501, allocations: 27.97 kB / 1.226 GB, free: 13.3 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.914e-05/0.7502, allocations: 42.56 kB / 1.226 GB, free: 13.25 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001631/0.7504, allocations: 82.42 kB / 1.226 GB, free: 13.16 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.034e-06/0.7504, allocations: 0 / 1.226 GB, free: 13.16 MB / 0.9512 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002353/0.7506, allocations: 113.5 kB / 1.226 GB, free: 13.04 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 1.346e-05/0.7506, allocations: 4 kB / 1.226 GB, free: 13.04 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.711e-06/0.7507, allocations: 4 kB / 1.226 GB, free: 13.04 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.26e-05/0.7507, allocations: 0 / 1.226 GB, free: 13.04 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.354e-05/0.7508, allocations: 11.98 kB / 1.226 GB, free: 13.02 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.225e-06/0.7508, allocations: 0 / 1.226 GB, free: 13.02 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.754e-05/0.7509, allocations: 16 kB / 1.226 GB, free: 13.01 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.569e-05/0.7509, allocations: 4 kB / 1.226 GB, free: 13 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 8.574e-05/0.751, allocations: 126.2 kB / 1.226 GB, free: 12.87 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.891e-05/0.751, allocations: 11.89 kB / 1.226 GB, free: 12.86 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.214e-05/0.751, allocations: 12.38 kB / 1.226 GB, free: 12.84 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.775e-06/0.751, allocations: 0 / 1.226 GB, free: 12.84 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.202e-06/0.751, allocations: 0 / 1.226 GB, free: 12.84 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 3.476e-05/0.7511, allocations: 81.02 kB / 1.226 GB, free: 12.74 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.017e-05/0.7511, allocations: 8 kB / 1.226 GB, free: 12.73 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.459e-05/0.7512, allocations: 7.922 kB / 1.226 GB, free: 12.73 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.565e-05/0.7512, allocations: 4 kB / 1.226 GB, free: 12.72 MB / 0.9512 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0002804/0.7515, allocations: 188.9 kB / 1.226 GB, free: 12.53 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0002937/0.7518, allocations: 295.1 kB / 1.227 GB, free: 12.23 MB / 0.9512 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 8.513e-05/0.7519, allocations: 31.98 kB / 1.227 GB, free: 12.2 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 5.148e-05/0.752, allocations: 95.27 kB / 1.227 GB, free: 12.1 MB / 0.9512 GB Notification: Performance of Backend: time 3.71e-07/0.752, allocations: 0 / 1.227 GB, free: 12.1 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.0006297/0.7526, allocations: 193.9 kB / 1.227 GB, free: 11.92 MB / 0.9512 GB Notification: Performance of SimCode: time 0.0004422/0.7531, allocations: 0.6183 MB / 1.227 GB, free: 11.26 MB / 0.9512 GB Notification: Performance of Templates: time 0.004009/0.7571, allocations: 1.496 MB / 1.229 GB, free: 9.77 MB / 0.9512 GB make -j1 -f Buildings_latest_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsEU.makefile (rm -f Buildings_latest_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsEU.pipe ; mkfifo Buildings_latest_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsEU.pipe ; head -c 1048576 < Buildings_latest_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsEU.pipe >> ../files/Buildings_latest_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsEU.sim & ./Buildings_latest_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsEU -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsEU.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsEU_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Occupants_Residential_Windows_Validation_Nicol2001WindowsEU.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsEU.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