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.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-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.005023/0.005023, allocations: 101.7 kB / 15.88 MB, free: 6.328 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.001262/0.001262, allocations: 194.2 kB / 16.79 MB, free: 6.254 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.355/1.355, allocations: 222.9 MB / 240.5 MB, free: 4.555 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.72/2.72, allocations: 461.8 MB / 0.7348 GB, free: 14.14 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001254/0.001254, allocations: 60.61 kB / 0.899 GB, free: 37.01 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2995/0.3008, allocations: 157.4 MB / 1.053 GB, free: 8.309 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsUK): time 0.002956/0.3038, allocations: 1.537 MB / 1.054 GB, free: 6.758 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.001353/0.3052, allocations: 0.7478 MB / 1.055 GB, free: 6.004 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.715e-05/0.3052, allocations: 0 / 1.055 GB, free: 6.004 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 3.917e-05/0.3053, allocations: 0 / 1.055 GB, free: 6.004 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 7.543e-05/0.3054, allocations: 11.88 kB / 1.055 GB, free: 5.992 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.000554/0.3059, allocations: 103.8 kB / 1.055 GB, free: 5.891 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.0001146/0.3061, allocations: 71.77 kB / 1.055 GB, free: 5.82 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 9.893e-05/0.3062, allocations: 15.98 kB / 1.055 GB, free: 5.805 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 9.546e-05/0.3063, allocations: 31.91 kB / 1.055 GB, free: 5.773 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 8e-05/0.3064, allocations: 35.83 kB / 1.055 GB, free: 5.738 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 1.958e-05/0.3064, allocations: 4 kB / 1.055 GB, free: 5.734 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002015/0.3066, allocations: 99.78 kB / 1.055 GB, free: 5.637 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 2.533e-05/0.3066, allocations: 11.98 kB / 1.055 GB, free: 5.625 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 4.994e-05/0.3067, allocations: 27.86 kB / 1.055 GB, free: 5.598 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0001989/0.3069, allocations: 99.98 kB / 1.055 GB, free: 5.5 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 6.202e-06/0.3069, allocations: 8 kB / 1.055 GB, free: 5.492 MB / 0.8106 GB Notification: Performance of FrontEnd: time 8.32e-07/0.3069, allocations: 0 / 1.055 GB, free: 5.492 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 4.258e-06/0.3069, allocations: 4 kB / 1.055 GB, free: 5.488 MB / 0.8106 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.0006584/0.3076, allocations: 414.7 kB / 1.056 GB, free: 5.031 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 3.971e-05/0.3076, allocations: 15.97 kB / 1.056 GB, free: 5.016 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.607e-05/0.3077, allocations: 8.844 kB / 1.056 GB, free: 5.008 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001268/0.3078, allocations: 180.2 kB / 1.056 GB, free: 4.793 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.559e-05/0.3078, allocations: 384 / 1.056 GB, free: 4.793 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.227e-05/0.3079, allocations: 12.38 kB / 1.056 GB, free: 4.781 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002063/0.3081, allocations: 69.97 kB / 1.056 GB, free: 4.707 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.586e-06/0.3081, allocations: 0 / 1.056 GB, free: 4.707 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.422e-05/0.3081, allocations: 0 / 1.056 GB, free: 4.707 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.49e-06/0.3081, allocations: 0 / 1.056 GB, free: 4.707 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001313/0.3083, allocations: 35.97 kB / 1.056 GB, free: 4.672 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006173/0.3089, allocations: 324.7 kB / 1.056 GB, free: 4.305 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001285/0.309, allocations: 42.56 kB / 1.057 GB, free: 4.254 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.526e-05/0.3091, allocations: 32.97 kB / 1.057 GB, free: 4.219 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 2.288e-05/0.3092, allocations: 0 / 1.057 GB, free: 4.219 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000222/0.3094, allocations: 87.31 kB / 1.057 GB, free: 4.121 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=7): time 1.513e-06/0.3094, allocations: 0 / 1.057 GB, free: 4.121 MB / 0.8106 GB Notification: Performance of matching and sorting (n=7): time 0.0004077/0.3098, allocations: 145.5 kB / 1.057 GB, free: 3.973 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.819e-05/0.3099, allocations: 55.41 kB / 1.057 GB, free: 3.906 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.115e-05/0.31, allocations: 121.8 kB / 1.057 GB, free: 3.777 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 1.903e-05/0.31, allocations: 25.7 kB / 1.057 GB, free: 3.746 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 6.303e-05/0.3101, allocations: 96.12 kB / 1.057 GB, free: 3.648 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 2.031e-05/0.3101, allocations: 15.75 kB / 1.057 GB, free: 3.633 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.003e-05/0.3101, allocations: 29.7 kB / 1.057 GB, free: 3.598 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001141/0.3103, allocations: 326.8 kB / 1.057 GB, free: 3.27 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.104e-05/0.3103, allocations: 19.98 kB / 1.057 GB, free: 3.25 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001005/0.3105, allocations: 50.56 kB / 1.057 GB, free: 3.191 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00016/0.3106, allocations: 78.48 kB / 1.058 GB, free: 3.105 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.894e-06/0.3106, allocations: 0 / 1.058 GB, free: 3.105 MB / 0.8106 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002378/0.3109, allocations: 109.5 kB / 1.058 GB, free: 2.992 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.51e-05/0.3109, allocations: 4 kB / 1.058 GB, free: 2.988 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.472e-06/0.3109, allocations: 4 kB / 1.058 GB, free: 2.984 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.303e-05/0.3109, allocations: 4 kB / 1.058 GB, free: 2.98 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.695e-05/0.311, allocations: 16.05 kB / 1.058 GB, free: 2.965 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.549e-05/0.3111, allocations: 3.938 kB / 1.058 GB, free: 2.961 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.181e-05/0.3111, allocations: 15.84 kB / 1.058 GB, free: 2.945 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.627e-05/0.3112, allocations: 4 kB / 1.058 GB, free: 2.941 MB / 0.8106 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.228e-05/0.3113, allocations: 121.8 kB / 1.058 GB, free: 2.812 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.898e-05/0.3113, allocations: 4 kB / 1.058 GB, free: 2.809 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.146e-05/0.3113, allocations: 8.375 kB / 1.058 GB, free: 2.801 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.264e-06/0.3113, allocations: 3.938 kB / 1.058 GB, free: 2.797 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.893e-06/0.3113, allocations: 8 kB / 1.058 GB, free: 2.789 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.665e-06/0.3113, allocations: 0 / 1.058 GB, free: 2.789 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004654/0.3118, allocations: 394.2 kB / 1.058 GB, free: 2.348 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.954e-06/0.3118, allocations: 0 / 1.058 GB, free: 2.348 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.351e-05/0.3119, allocations: 7.984 kB / 1.058 GB, free: 2.34 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.136e-06/0.3119, allocations: 0 / 1.058 GB, free: 2.34 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.197e-05/0.3119, allocations: 0 / 1.058 GB, free: 2.34 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.873e-06/0.3119, allocations: 0 / 1.058 GB, free: 2.34 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.308e-06/0.3119, allocations: 4.406 kB / 1.058 GB, free: 2.336 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003225/0.3122, allocations: 219.4 kB / 1.058 GB, free: 2.105 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 4.58e-05/0.3123, allocations: 77.11 kB / 1.059 GB, free: 2.012 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.281e-05/0.3123, allocations: 11.94 kB / 1.059 GB, free: 2 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.806e-05/0.3124, allocations: 0 / 1.059 GB, free: 2 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.462e-05/0.3125, allocations: 11.92 kB / 1.059 GB, free: 1.988 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.074e-05/0.3125, allocations: 4 kB / 1.059 GB, free: 1.984 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 4.891e-05/0.3125, allocations: 95.27 kB / 1.059 GB, free: 1.891 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.3e-07/0.3126, allocations: 0 / 1.059 GB, free: 1.891 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0003051/0.3129, allocations: 39.98 kB / 1.059 GB, free: 1.852 MB / 0.8106 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.0003384/0.3132, allocations: 160.9 kB / 1.059 GB, free: 1.703 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.0002353/0.3135, allocations: 67.91 kB / 1.059 GB, free: 1.637 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 2.184e-06/0.3135, allocations: 4 kB / 1.059 GB, free: 1.633 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 0.0001021/0.3136, allocations: 39.97 kB / 1.059 GB, free: 1.594 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002541/0.3138, allocations: 4 kB / 1.059 GB, free: 1.59 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004236/0.3143, allocations: 236.3 kB / 1.059 GB, free: 1.324 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002504/0.3145, allocations: 0.6848 MB / 1.06 GB, free: 0.6133 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.413e-05/0.3146, allocations: 15.42 kB / 1.06 GB, free: 0.5977 MB / 0.8106 GB Notification: Performance of SimCode: time 4.11e-07/0.3146, allocations: 0 / 1.06 GB, free: 0.5977 MB / 0.8106 GB Notification: Performance of Templates: time 0.003526/0.3181, allocations: 1.602 MB / 1.061 GB, free: 15 MB / 0.8262 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/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsUK.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches