Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 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.Nicol2001WindowsPakistan,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.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_9_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.01044/0.01044, allocations: 101.9 kB / 15.73 MB, free: 6.008 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.002038/0.002038, allocations: 190.9 kB / 16.67 MB, free: 5.949 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.423/1.423, allocations: 222.9 MB / 240.4 MB, free: 4.324 MB / 190.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.389/2.389, allocations: 390.2 MB / 0.6648 GB, free: 168 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001428/0.001428, allocations: 66.73 kB / 0.9508 GB, free: 5.586 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3421/0.3435, allocations: 140.4 MB / 1.088 GB, free: 1.504 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsPakistan): time 0.002716/0.3463, allocations: 1.473 MB / 1.089 GB, free: 20 kB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.001228/0.3475, allocations: 0.7336 MB / 1.09 GB, free: 15.28 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.728e-05/0.3476, allocations: 0 / 1.09 GB, free: 15.28 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 3.198e-05/0.3476, allocations: 3.938 kB / 1.09 GB, free: 15.28 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 5.399e-05/0.3477, allocations: 11.88 kB / 1.09 GB, free: 15.27 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005359/0.3482, allocations: 123.6 kB / 1.09 GB, free: 15.14 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0001074/0.3484, allocations: 75.81 kB / 1.09 GB, free: 15.07 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001003/0.3485, allocations: 19.98 kB / 1.09 GB, free: 15.05 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 8.516e-05/0.3486, allocations: 39.84 kB / 1.09 GB, free: 15.01 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 6.186e-05/0.3486, allocations: 39.83 kB / 1.09 GB, free: 14.97 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 1.803e-05/0.3487, allocations: 8 kB / 1.09 GB, free: 14.96 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001799/0.3488, allocations: 87.91 kB / 1.09 GB, free: 14.88 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 2.546e-05/0.3489, allocations: 19.92 kB / 1.09 GB, free: 14.86 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 4.51e-05/0.3489, allocations: 27.86 kB / 1.09 GB, free: 14.83 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0002146/0.3491, allocations: 155.5 kB / 1.091 GB, free: 14.68 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 4.138e-06/0.3492, allocations: 0 / 1.091 GB, free: 14.68 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.563e-06/0.3492, allocations: 0 / 1.091 GB, free: 14.68 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 4.548e-06/0.3492, allocations: 0 / 1.091 GB, free: 14.68 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.0006286/0.3498, allocations: 417 kB / 1.091 GB, free: 14.22 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 3.278e-05/0.3498, allocations: 8.031 kB / 1.091 GB, free: 14.21 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.34e-05/0.3499, allocations: 8.844 kB / 1.091 GB, free: 14.2 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000113/0.35, allocations: 176.2 kB / 1.091 GB, free: 13.99 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.339e-05/0.35, allocations: 8.359 kB / 1.091 GB, free: 13.98 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.286e-05/0.3501, allocations: 16.36 kB / 1.091 GB, free: 13.97 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001821/0.3503, allocations: 69.91 kB / 1.091 GB, free: 13.89 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.686e-06/0.3503, allocations: 0 / 1.091 GB, free: 13.89 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.14e-05/0.3503, allocations: 0 / 1.091 GB, free: 13.89 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.56e-06/0.3503, allocations: 4 kB / 1.091 GB, free: 13.89 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001304/0.3504, allocations: 35.97 kB / 1.091 GB, free: 13.86 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005659/0.351, allocations: 320.7 kB / 1.092 GB, free: 13.49 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001217/0.3511, allocations: 54.5 kB / 1.092 GB, free: 13.43 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.948e-05/0.3512, allocations: 28.97 kB / 1.092 GB, free: 13.4 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 1.841e-05/0.3513, allocations: 0 / 1.092 GB, free: 13.4 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001978/0.3515, allocations: 83.38 kB / 1.092 GB, free: 13.3 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=7): time 1.283e-06/0.3515, allocations: 0 / 1.092 GB, free: 13.3 MB / 0.8575 GB Notification: Performance of matching and sorting (n=7): time 0.0003813/0.3519, allocations: 141.5 kB / 1.092 GB, free: 13.16 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.819e-05/0.3519, allocations: 55.34 kB / 1.092 GB, free: 13.09 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.523e-05/0.352, allocations: 117.8 kB / 1.092 GB, free: 12.97 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 1.794e-05/0.352, allocations: 25.7 kB / 1.092 GB, free: 12.94 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 5.495e-05/0.3521, allocations: 104 kB / 1.092 GB, free: 12.83 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 1.973e-05/0.3521, allocations: 11.97 kB / 1.092 GB, free: 12.82 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.461e-05/0.3522, allocations: 33.7 kB / 1.092 GB, free: 12.78 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.0001002/0.3523, allocations: 322.8 kB / 1.093 GB, free: 12.46 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.943e-05/0.3524, allocations: 23.98 kB / 1.093 GB, free: 12.43 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.615e-05/0.3525, allocations: 50.5 kB / 1.093 GB, free: 12.38 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001545/0.3526, allocations: 78.48 kB / 1.093 GB, free: 12.29 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.144e-06/0.3526, allocations: 0 / 1.093 GB, free: 12.29 MB / 0.8575 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002308/0.3529, allocations: 109.5 kB / 1.093 GB, free: 12.18 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.41e-05/0.3529, allocations: 4 kB / 1.093 GB, free: 12.17 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.329e-06/0.3529, allocations: 4.391 kB / 1.093 GB, free: 12.17 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.623e-05/0.3529, allocations: 0 / 1.093 GB, free: 12.17 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.728e-05/0.353, allocations: 11.98 kB / 1.093 GB, free: 12.16 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.901e-06/0.353, allocations: 4.062 kB / 1.093 GB, free: 12.15 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.019e-05/0.3531, allocations: 11.91 kB / 1.093 GB, free: 12.14 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.441e-05/0.3531, allocations: 4 kB / 1.093 GB, free: 12.14 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 0.0001139/0.3533, allocations: 127.1 kB / 1.093 GB, free: 12 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.573e-05/0.3533, allocations: 7.906 kB / 1.093 GB, free: 12 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.724e-05/0.3533, allocations: 12.38 kB / 1.093 GB, free: 11.98 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.933e-06/0.3533, allocations: 0 / 1.093 GB, free: 11.98 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.156e-06/0.3533, allocations: 0 / 1.093 GB, free: 11.98 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.725e-06/0.3533, allocations: 4 kB / 1.093 GB, free: 11.98 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004295/0.3538, allocations: 386.4 kB / 1.093 GB, free: 11.55 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.533e-06/0.3538, allocations: 0 / 1.093 GB, free: 11.55 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.457e-05/0.3538, allocations: 11.92 kB / 1.093 GB, free: 11.54 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.894e-06/0.3538, allocations: 0 / 1.093 GB, free: 11.54 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.233e-05/0.3539, allocations: 8 kB / 1.093 GB, free: 11.53 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.353e-06/0.3539, allocations: 0 / 1.093 GB, free: 11.53 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.495e-06/0.3539, allocations: 3.938 kB / 1.093 GB, free: 11.52 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000275/0.3542, allocations: 207.4 kB / 1.094 GB, free: 11.3 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 3.817e-05/0.3542, allocations: 81.11 kB / 1.094 GB, free: 11.21 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.032e-05/0.3542, allocations: 4 kB / 1.094 GB, free: 11.2 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.144e-05/0.3543, allocations: 7.938 kB / 1.094 GB, free: 11.2 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.101e-05/0.3544, allocations: 11.92 kB / 1.094 GB, free: 11.18 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.554e-06/0.3544, allocations: 0 / 1.094 GB, free: 11.18 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 4.776e-05/0.3544, allocations: 99.86 kB / 1.094 GB, free: 11.09 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.11e-07/0.3544, allocations: 0 / 1.094 GB, free: 11.09 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0002896/0.3547, allocations: 39.91 kB / 1.094 GB, free: 11.05 MB / 0.8575 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.0003151/0.3551, allocations: 169.2 kB / 1.094 GB, free: 10.89 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0002351/0.3553, allocations: 72.02 kB / 1.094 GB, free: 10.82 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 1.713e-06/0.3553, allocations: 0 / 1.094 GB, free: 10.82 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 9.722e-05/0.3554, allocations: 39.92 kB / 1.094 GB, free: 10.78 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002471/0.3557, allocations: 7.984 kB / 1.094 GB, free: 10.77 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003773/0.3561, allocations: 177 kB / 1.094 GB, free: 10.57 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002251/0.3563, allocations: 0.6924 MB / 1.095 GB, free: 9.848 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 3.931e-05/0.3564, allocations: 11.73 kB / 1.095 GB, free: 9.836 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.685e-05/0.3564, allocations: 11.44 kB / 1.095 GB, free: 9.824 MB / 0.8575 GB Notification: Performance of SimCode: time 2.1e-07/0.3564, allocations: 0 / 1.095 GB, free: 9.824 MB / 0.8575 GB Notification: Performance of Templates: time 0.003966/0.3604, allocations: 1.461 MB / 1.096 GB, free: 8.371 MB / 0.8575 GB make -j1 -f Buildings_9_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsPakistan.makefile (rm -f Buildings_9_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsPakistan.pipe ; mkfifo Buildings_9_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsPakistan.pipe ; head -c 1048576 < Buildings_9_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsPakistan.pipe >> ../files/Buildings_9_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsPakistan.sim & ./Buildings_9_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsPakistan -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsPakistan.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsPakistan_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Occupants_Residential_Windows_Validation_Nicol2001WindowsPakistan.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_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