Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsPakistan.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.Nicol2001WindowsPakistan,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.Nicol2001WindowsPakistan") translateModel(Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsPakistan,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.Nicol2001WindowsPakistan") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.004883/0.004883, allocations: 97.33 kB / 15.73 MB, free: 5.527 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.001057/0.001057, allocations: 187 kB / 16.67 MB, free: 5.465 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.462/1.462, allocations: 222.9 MB / 240.4 MB, free: 4.156 MB / 190.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.733/2.733, allocations: 437 MB / 0.7105 GB, free: 4.949 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001341/0.001341, allocations: 63.91 kB / 1.018 GB, free: 14.59 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3334/0.3348, allocations: 151.6 MB / 1.167 GB, free: 6.844 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsPakistan): time 0.002891/0.3377, allocations: 1.476 MB / 1.168 GB, free: 5.352 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.001265/0.339, allocations: 0.7245 MB / 1.169 GB, free: 4.621 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.595e-05/0.3391, allocations: 4 kB / 1.169 GB, free: 4.617 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 2.998e-05/0.3391, allocations: 3.938 kB / 1.169 GB, free: 4.613 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 6.014e-05/0.3392, allocations: 11.86 kB / 1.169 GB, free: 4.602 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005558/0.3398, allocations: 123.6 kB / 1.169 GB, free: 4.48 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.0001242/0.3399, allocations: 83.62 kB / 1.169 GB, free: 4.398 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001266/0.3401, allocations: 16 kB / 1.169 GB, free: 4.383 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 9.463e-05/0.3402, allocations: 31.91 kB / 1.169 GB, free: 4.352 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 7.818e-05/0.3402, allocations: 39.83 kB / 1.169 GB, free: 4.312 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 2.256e-05/0.3403, allocations: 8 kB / 1.169 GB, free: 4.305 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002382/0.3405, allocations: 99.84 kB / 1.169 GB, free: 4.207 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 3.085e-05/0.3406, allocations: 11.98 kB / 1.169 GB, free: 4.195 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 6.41e-05/0.3406, allocations: 31.84 kB / 1.169 GB, free: 4.164 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.0002538/0.3409, allocations: 143.5 kB / 1.169 GB, free: 4.023 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 5.26e-06/0.3409, allocations: 4 kB / 1.169 GB, free: 4.02 MB / 0.92 GB Notification: Performance of FrontEnd: time 2.454e-06/0.3409, allocations: 3.938 kB / 1.169 GB, free: 4.016 MB / 0.92 GB Notification: Performance of Transformations before backend: time 1.065e-05/0.3409, allocations: 3.984 kB / 1.169 GB, free: 4.012 MB / 0.92 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.000706/0.3416, allocations: 428.6 kB / 1.17 GB, free: 3.539 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 4.27e-05/0.3417, allocations: 8.031 kB / 1.17 GB, free: 3.531 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.938e-05/0.3417, allocations: 8.891 kB / 1.17 GB, free: 3.523 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001405/0.3419, allocations: 176.3 kB / 1.17 GB, free: 3.312 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.744e-05/0.3419, allocations: 4.375 kB / 1.17 GB, free: 3.309 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.222e-05/0.3419, allocations: 8.375 kB / 1.17 GB, free: 3.301 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002054/0.3422, allocations: 69.97 kB / 1.17 GB, free: 3.227 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.596e-06/0.3422, allocations: 0 / 1.17 GB, free: 3.227 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.482e-05/0.3422, allocations: 4 kB / 1.17 GB, free: 3.223 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.87e-06/0.3422, allocations: 0 / 1.17 GB, free: 3.223 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001325/0.3423, allocations: 39.91 kB / 1.17 GB, free: 3.184 MB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006289/0.343, allocations: 316.8 kB / 1.17 GB, free: 2.824 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001377/0.3431, allocations: 50.56 kB / 1.17 GB, free: 2.766 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001926/0.3433, allocations: 32.95 kB / 1.17 GB, free: 2.73 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 2.419e-05/0.3434, allocations: 4 kB / 1.17 GB, free: 2.727 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000235/0.3436, allocations: 83.31 kB / 1.17 GB, free: 2.633 MB / 0.92 GB Notification: Performance of pre-optimization done (n=7): time 3.476e-06/0.3436, allocations: 7.984 kB / 1.171 GB, free: 2.625 MB / 0.92 GB Notification: Performance of matching and sorting (n=7): time 0.0004228/0.344, allocations: 133.6 kB / 1.171 GB, free: 2.488 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.073e-05/0.3441, allocations: 55.41 kB / 1.171 GB, free: 2.422 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.307e-05/0.3442, allocations: 125.8 kB / 1.171 GB, free: 2.289 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 1.675e-05/0.3442, allocations: 25.7 kB / 1.171 GB, free: 2.258 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 4.828e-05/0.3443, allocations: 96.03 kB / 1.171 GB, free: 2.16 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 2.389e-05/0.3443, allocations: 23.91 kB / 1.171 GB, free: 2.137 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.824e-05/0.3444, allocations: 33.7 kB / 1.171 GB, free: 2.098 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0001114/0.3445, allocations: 322.8 kB / 1.171 GB, free: 1.773 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.113e-05/0.3446, allocations: 23.98 kB / 1.171 GB, free: 1.75 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.328e-05/0.3447, allocations: 50.5 kB / 1.171 GB, free: 1.691 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001581/0.3448, allocations: 70.86 kB / 1.171 GB, free: 1.613 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.824e-06/0.3448, allocations: 0 / 1.171 GB, free: 1.613 MB / 0.92 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002339/0.3451, allocations: 121.5 kB / 1.172 GB, free: 1.488 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 1.932e-05/0.3451, allocations: 8 kB / 1.172 GB, free: 1.48 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.34e-06/0.3451, allocations: 0 / 1.172 GB, free: 1.48 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.549e-05/0.3451, allocations: 0 / 1.172 GB, free: 1.48 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.361e-05/0.3452, allocations: 15.92 kB / 1.172 GB, free: 1.465 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.544e-06/0.3452, allocations: 8.062 kB / 1.172 GB, free: 1.457 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.259e-05/0.3453, allocations: 8 kB / 1.172 GB, free: 1.449 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.524e-05/0.3453, allocations: 3.984 kB / 1.172 GB, free: 1.445 MB / 0.92 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 0.00011/0.3454, allocations: 121.8 kB / 1.172 GB, free: 1.316 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.549e-05/0.3455, allocations: 3.953 kB / 1.172 GB, free: 1.312 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.083e-05/0.3455, allocations: 12.38 kB / 1.172 GB, free: 1.301 MB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.583e-06/0.3455, allocations: 0 / 1.172 GB, free: 1.301 MB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.028e-06/0.3455, allocations: 0 / 1.172 GB, free: 1.301 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.875e-06/0.3455, allocations: 4 kB / 1.172 GB, free: 1.297 MB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004305/0.346, allocations: 382.4 kB / 1.172 GB, free: 0.8672 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.643e-06/0.346, allocations: 0 / 1.172 GB, free: 0.8672 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.741e-05/0.346, allocations: 7.984 kB / 1.172 GB, free: 0.8594 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.663e-06/0.346, allocations: 0 / 1.172 GB, free: 0.8594 MB / 0.92 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.428e-05/0.346, allocations: 8 kB / 1.172 GB, free: 0.8516 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.483e-06/0.3461, allocations: 3.938 kB / 1.172 GB, free: 0.8477 MB / 0.92 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.954e-06/0.3461, allocations: 3.938 kB / 1.172 GB, free: 0.8438 MB / 0.92 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002737/0.3463, allocations: 211.4 kB / 1.172 GB, free: 0.6211 MB / 0.92 GB Notification: Performance of postOpt removeConstants (simulation): time 4.099e-05/0.3464, allocations: 85 kB / 1.172 GB, free: 0.5195 MB / 0.92 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.741e-05/0.3464, allocations: 0 / 1.172 GB, free: 0.5195 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.641e-05/0.3465, allocations: 8 kB / 1.172 GB, free: 0.5117 MB / 0.92 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.356e-05/0.3466, allocations: 11.92 kB / 1.172 GB, free: 0.5 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.095e-06/0.3466, allocations: 0 / 1.172 GB, free: 0.5 MB / 0.92 GB Notification: Performance of sorting global known variables: time 5.703e-05/0.3466, allocations: 95.27 kB / 1.172 GB, free: 416 kB / 0.92 GB Notification: Performance of sort global known variables: time 1.6e-07/0.3466, allocations: 4 kB / 1.173 GB, free: 412 kB / 0.92 GB Notification: Performance of remove unused functions: time 0.0002894/0.3469, allocations: 39.92 kB / 1.173 GB, free: 372 kB / 0.92 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.0003567/0.3473, allocations: 162.8 kB / 1.173 GB, free: 216 kB / 0.92 GB Notification: Performance of simCode: created initialization part: time 0.0002449/0.3475, allocations: 67.95 kB / 1.173 GB, free: 148 kB / 0.92 GB Notification: Performance of simCode: created event and clocks part: time 1.733e-06/0.3476, allocations: 4.062 kB / 1.173 GB, free: 144 kB / 0.92 GB Notification: Performance of simCode: created simulation system equations: time 0.0001005/0.3477, allocations: 39.97 kB / 1.173 GB, free: 104 kB / 0.92 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002532/0.3479, allocations: 4 kB / 1.173 GB, free: 100 kB / 0.92 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004148/0.3483, allocations: 185.2 kB / 1.173 GB, free: 15.89 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002513/0.3486, allocations: 0.6924 MB / 1.174 GB, free: 15.17 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 3.904e-05/0.3487, allocations: 11.98 kB / 1.174 GB, free: 15.16 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.852e-05/0.3487, allocations: 11.44 kB / 1.174 GB, free: 15.14 MB / 0.9356 GB Notification: Performance of SimCode: time 2.5e-07/0.3487, allocations: 0 / 1.174 GB, free: 15.14 MB / 0.9356 GB Notification: Performance of Templates: time 0.004186/0.3529, allocations: 1.455 MB / 1.175 GB, free: 13.7 MB / 0.9356 GB make -j1 -f Buildings_10_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsPakistan.makefile (rm -f Buildings_10_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsPakistan.pipe ; mkfifo Buildings_10_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsPakistan.pipe ; head -c 1048576 < Buildings_10_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsPakistan.pipe >> ../files/Buildings_10_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsPakistan.sim & ./Buildings_10_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsPakistan -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsPakistan.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsPakistan_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Occupants_Residential_Windows_Validation_Nicol2001WindowsPakistan.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsPakistan.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