Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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_9_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_9_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.00129/0.00129, allocations: 116.2 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.001315/0.001315, 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.289/1.289, 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 9.1.3-maint.9.1.x/package.mo): time 2.142/2.142, allocations: 390.3 MB / 0.6655 GB, free: 0.6797 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001326/0.001326, allocations: 67.89 kB / 0.9515 GB, free: 7.711 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6833/0.6847, allocations: 140.4 MB / 1.089 GB, free: 5.543 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsUK): time 0.002134/0.6869, allocations: 1.48 MB / 1.09 GB, free: 4.516 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.001014/0.6879, allocations: 0.7316 MB / 1.091 GB, free: 4.02 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.52e-05/0.6879, allocations: 0 / 1.091 GB, free: 4.02 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 2.935e-05/0.688, allocations: 5.297 kB / 1.091 GB, free: 4.016 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 4.291e-05/0.688, allocations: 15.27 kB / 1.091 GB, free: 4.004 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004534/0.6885, allocations: 120.9 kB / 1.091 GB, free: 3.945 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 9.989e-05/0.6886, allocations: 73.56 kB / 1.091 GB, free: 3.914 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 7.623e-05/0.6887, allocations: 19.45 kB / 1.091 GB, free: 3.902 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 7.541e-05/0.6888, allocations: 35.89 kB / 1.091 GB, free: 3.887 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 6.165e-05/0.6888, allocations: 32.25 kB / 1.091 GB, free: 3.875 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 1.928e-05/0.6889, allocations: 6.875 kB / 1.091 GB, free: 3.875 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002006/0.6891, allocations: 98.14 kB / 1.091 GB, free: 3.844 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 2.616e-05/0.6891, allocations: 28.08 kB / 1.091 GB, free: 3.824 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 4.088e-05/0.6891, allocations: 31.05 kB / 1.091 GB, free: 3.805 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0002123/0.6894, allocations: 139.5 kB / 1.091 GB, free: 3.762 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 2.986e-06/0.6894, allocations: 0 / 1.091 GB, free: 3.762 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.182e-06/0.6894, allocations: 0 / 1.091 GB, free: 3.762 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 4.518e-06/0.6894, allocations: 1.156 kB / 1.091 GB, free: 3.762 MB / 0.8575 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.0004927/0.6899, allocations: 419.6 kB / 1.092 GB, free: 3.344 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 3.18e-05/0.6899, allocations: 9.031 kB / 1.092 GB, free: 3.344 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.902e-05/0.69, allocations: 8.5 kB / 1.092 GB, free: 3.34 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.606e-05/0.69, allocations: 178.1 kB / 1.092 GB, free: 3.133 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.16e-05/0.6901, allocations: 7.312 kB / 1.092 GB, free: 3.129 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.538e-05/0.6901, allocations: 4.5 kB / 1.092 GB, free: 3.129 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001619/0.6902, allocations: 68.73 kB / 1.092 GB, free: 3.086 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.292e-06/0.6903, allocations: 0 / 1.092 GB, free: 3.086 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.175e-05/0.6903, allocations: 5.922 kB / 1.092 GB, free: 3.082 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.338e-06/0.6903, allocations: 1.156 kB / 1.092 GB, free: 3.082 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001234/0.6904, allocations: 34.73 kB / 1.092 GB, free: 3.074 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004899/0.6909, allocations: 322.4 kB / 1.092 GB, free: 2.773 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001107/0.691, allocations: 49.64 kB / 1.092 GB, free: 2.738 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.781e-05/0.6911, allocations: 32.78 kB / 1.092 GB, free: 2.723 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 1.342e-05/0.6911, allocations: 0.9062 kB / 1.092 GB, free: 2.723 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001551/0.6913, allocations: 81.59 kB / 1.092 GB, free: 2.66 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=7): time 2.114e-06/0.6913, allocations: 0 / 1.092 GB, free: 2.66 MB / 0.8575 GB Notification: Performance of matching and sorting (n=7): time 0.0003546/0.6917, allocations: 145 kB / 1.093 GB, free: 2.59 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.607e-05/0.6917, allocations: 54.23 kB / 1.093 GB, free: 2.527 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.923e-05/0.6918, allocations: 123.3 kB / 1.093 GB, free: 2.418 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 1.171e-05/0.6918, allocations: 30.64 kB / 1.093 GB, free: 2.383 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 2.962e-05/0.6918, allocations: 97.17 kB / 1.093 GB, free: 2.289 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 1.544e-05/0.6918, allocations: 11 kB / 1.093 GB, free: 2.281 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.281e-05/0.6919, allocations: 25.48 kB / 1.093 GB, free: 2.262 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 3.637e-05/0.6919, allocations: 323.3 kB / 1.093 GB, free: 1.941 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.21e-05/0.692, allocations: 31.55 kB / 1.093 GB, free: 1.93 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.532e-05/0.6921, allocations: 46.92 kB / 1.093 GB, free: 1.898 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001485/0.6923, allocations: 79.84 kB / 1.093 GB, free: 1.848 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.623e-06/0.6923, allocations: 0 / 1.093 GB, free: 1.848 MB / 0.8575 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002229/0.6925, allocations: 112.6 kB / 1.094 GB, free: 1.789 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.208e-05/0.6925, allocations: 5.594 kB / 1.094 GB, free: 1.789 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.777e-06/0.6925, allocations: 5.125 kB / 1.094 GB, free: 1.785 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.318e-05/0.6925, allocations: 1.891 kB / 1.094 GB, free: 1.785 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.002e-05/0.6926, allocations: 15.66 kB / 1.094 GB, free: 1.781 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.597e-06/0.6927, allocations: 1.031 kB / 1.094 GB, free: 1.781 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.657e-05/0.6927, allocations: 13.16 kB / 1.094 GB, free: 1.773 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.132e-05/0.6927, allocations: 3.656 kB / 1.094 GB, free: 1.773 MB / 0.8575 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.609e-05/0.6928, allocations: 119.6 kB / 1.094 GB, free: 1.652 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.699e-05/0.6928, allocations: 11.75 kB / 1.094 GB, free: 1.645 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.16e-05/0.6929, allocations: 11.72 kB / 1.094 GB, free: 1.633 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.685e-06/0.6929, allocations: 0.6094 kB / 1.094 GB, free: 1.633 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.052e-06/0.6929, allocations: 0 / 1.094 GB, free: 1.633 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 1.733e-05/0.6929, allocations: 80.27 kB / 1.094 GB, free: 1.539 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.9e-05/0.6929, allocations: 1.609 kB / 1.094 GB, free: 1.539 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.157e-05/0.693, allocations: 12.59 kB / 1.094 GB, free: 1.531 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.162e-05/0.693, allocations: 4.703 kB / 1.094 GB, free: 1.531 MB / 0.8575 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0002624/0.6933, allocations: 193 kB / 1.094 GB, free: 1.398 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0002488/0.6936, allocations: 293.8 kB / 1.094 GB, free: 1.156 MB / 0.8575 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 9.097e-05/0.6937, allocations: 31.14 kB / 1.094 GB, free: 1.148 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 3.594e-05/0.6937, allocations: 95.8 kB / 1.094 GB, free: 1.066 MB / 0.8575 GB Notification: Performance of Backend: time 4.41e-07/0.6937, allocations: 0 / 1.094 GB, free: 1.066 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0006034/0.6943, allocations: 189.7 kB / 1.095 GB, free: 0.9648 MB / 0.8575 GB Notification: Performance of SimCode: time 0.0003168/0.6946, allocations: 0.6201 MB / 1.095 GB, free: 360 kB / 0.8575 GB Notification: Performance of Templates: time 0.00402/0.6987, allocations: 1.513 MB / 1.097 GB, free: 192 kB / 0.8575 GB make -j1 -f Buildings_9_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsUK.makefile (rm -f Buildings_9_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsUK.pipe ; mkfifo Buildings_9_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsUK.pipe ; head -c 1048576 < Buildings_9_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsUK.pipe >> ../files/Buildings_9_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsUK.sim & ./Buildings_9_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsUK -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsUK.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsUK_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Occupants_Residential_Windows_Validation_Nicol2001WindowsUK.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_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