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.001394/0.001394, allocations: 107.3 kB / 15.99 MB, free: 6.359 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.001509/0.001509, allocations: 191.2 kB / 16.91 MB, free: 6.195 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.316/1.316, allocations: 222.9 MB / 240.6 MB, free: 15.44 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.173/2.173, allocations: 390.2 MB / 0.665 GB, free: 0.9609 MB / 0.5294 GB
Notification: Performance of FrontEnd - loaded program: time 0.001432/0.001432, allocations: 64.73 kB / 0.8127 GB, free: 33.28 MB / 0.6231 GB
Notification: Performance of FrontEnd - Absyn->SCode: time 0.2512/0.2527, allocations: 140.4 MB / 0.9498 GB, free: 9.273 MB / 0.7325 GB
Notification: Performance of NFInst.instantiate(Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsPakistan): time 0.002891/0.2556, allocations: 1.543 MB / 0.9513 GB, free: 7.719 MB / 0.7325 GB
Notification: Performance of NFInst.instExpressions: time 0.001337/0.257, allocations: 0.7168 MB / 0.952 GB, free: 6.996 MB / 0.7325 GB
Notification: Performance of NFInst.updateImplicitVariability: time 4.81e-05/0.257, allocations: 4 kB / 0.952 GB, free: 6.992 MB / 0.7325 GB
Notification: Performance of NFTyping.typeComponents: time 4.011e-05/0.2571, allocations: 3.938 kB / 0.952 GB, free: 6.988 MB / 0.7325 GB
Notification: Performance of NFTyping.typeBindings: time 6.166e-05/0.2572, allocations: 7.938 kB / 0.952 GB, free: 6.98 MB / 0.7325 GB
Notification: Performance of NFTyping.typeClassSections: time 0.0006015/0.2578, allocations: 107.8 kB / 0.9521 GB, free: 6.875 MB / 0.7325 GB
Notification: Performance of NFFlatten.flatten: time 0.0001438/0.2579, allocations: 83.69 kB / 0.9522 GB, free: 6.793 MB / 0.7325 GB
Notification: Performance of NFFlatten.resolveConnections: time 0.0001033/0.2581, allocations: 15.98 kB / 0.9522 GB, free: 6.777 MB / 0.7325 GB
Notification: Performance of NFEvalConstants.evaluate: time 9.825e-05/0.2582, allocations: 35.91 kB / 0.9522 GB, free: 6.742 MB / 0.7325 GB
Notification: Performance of NFSimplifyModel.simplify: time 6.484e-05/0.2582, allocations: 43.77 kB / 0.9523 GB, free: 6.699 MB / 0.7325 GB
Notification: Performance of NFPackage.collectConstants: time 1.876e-05/0.2583, allocations: 8 kB / 0.9523 GB, free: 6.691 MB / 0.7325 GB
Notification: Performance of NFFlatten.collectFunctions: time 0.0001976/0.2585, allocations: 95.84 kB / 0.9524 GB, free: 6.598 MB / 0.7325 GB
Notification: Performance of NFScalarize.scalarize: time 2.814e-05/0.2585, allocations: 15.98 kB / 0.9524 GB, free: 6.582 MB / 0.7325 GB
Notification: Performance of NFVerifyModel.verify: time 5.724e-05/0.2586, allocations: 31.8 kB / 0.9524 GB, free: 6.551 MB / 0.7325 GB
Notification: Performance of NFConvertDAE.convert: time 0.0001945/0.2588, allocations: 108 kB / 0.9525 GB, free: 6.445 MB / 0.7325 GB
Notification: Performance of FrontEnd - DAE generated: time 4.969e-06/0.2588, allocations: 0 / 0.9525 GB, free: 6.445 MB / 0.7325 GB
Notification: Performance of FrontEnd: time 1.644e-06/0.2588, allocations: 0 / 0.9525 GB, free: 6.445 MB / 0.7325 GB
Notification: Performance of Transformations before backend: time 5.51e-06/0.2588, allocations: 0 / 0.9525 GB, free: 6.445 MB / 0.7325 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.0006419/0.2594, allocations: 420.9 kB / 0.9529 GB, free: 5.98 MB / 0.7325 GB
Notification: Performance of prepare preOptimizeDAE: time 3.863e-05/0.2595, allocations: 8.031 kB / 0.9529 GB, free: 5.973 MB / 0.7325 GB
Notification: Performance of preOpt normalInlineFunction (simulation): time 4.802e-05/0.2595, allocations: 8.844 kB / 0.9529 GB, free: 5.965 MB / 0.7325 GB
Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001228/0.2597, allocations: 172.3 kB / 0.9531 GB, free: 5.758 MB / 0.7325 GB
Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.679e-05/0.2597, allocations: 8.375 kB / 0.9531 GB, free: 5.75 MB / 0.7325 GB
Notification: Performance of preOpt expandDerOperator (simulation): time 1.671e-05/0.2597, allocations: 4.375 kB / 0.9531 GB, free: 5.746 MB / 0.7325 GB
Notification: Performance of preOpt clockPartitioning (simulation): time 0.000187/0.2599, allocations: 65.97 kB / 0.9532 GB, free: 5.676 MB / 0.7325 GB
Notification: Performance of preOpt findStateOrder (simulation): time 9.087e-06/0.2599, allocations: 3.984 kB / 0.9532 GB, free: 5.672 MB / 0.7325 GB
Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.696e-05/0.26, allocations: 8 kB / 0.9532 GB, free: 5.664 MB / 0.7325 GB
Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.731e-06/0.26, allocations: 11.88 kB / 0.9532 GB, free: 5.652 MB / 0.7325 GB
Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001344/0.2601, allocations: 39.95 kB / 0.9532 GB, free: 5.613 MB / 0.7325 GB
Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005928/0.2607, allocations: 312.7 kB / 0.9535 GB, free: 5.258 MB / 0.7325 GB
Notification: Performance of preOpt comSubExp (simulation): time 0.0001226/0.2608, allocations: 50.56 kB / 0.9536 GB, free: 5.199 MB / 0.7325 GB
Notification: Performance of preOpt resolveLoops (simulation): time 7.893e-05/0.2609, allocations: 28.97 kB / 0.9536 GB, free: 5.168 MB / 0.7325 GB
Notification: Performance of preOpt evalFunc (simulation): time 2.9e-05/0.261, allocations: 7.984 kB / 0.9536 GB, free: 5.16 MB / 0.7325 GB
Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001977/0.2612, allocations: 71.33 kB / 0.9537 GB, free: 5.078 MB / 0.7325 GB
Notification: Performance of pre-optimization done (n=7): time 1.573e-06/0.2612, allocations: 0 / 0.9537 GB, free: 5.078 MB / 0.7325 GB
Notification: Performance of matching and sorting (n=7): time 0.0003872/0.2616, allocations: 149.6 kB / 0.9538 GB, free: 4.926 MB / 0.7325 GB
Notification: Performance of inlineWhenForInitialization (initialization): time 4.103e-05/0.2616, allocations: 51.41 kB / 0.9539 GB, free: 4.863 MB / 0.7325 GB
Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.791e-05/0.2617, allocations: 117.8 kB / 0.954 GB, free: 4.738 MB / 0.7325 GB
Notification: Performance of collectPreVariables (initialization): time 2.161e-05/0.2617, allocations: 33.69 kB / 0.954 GB, free: 4.699 MB / 0.7325 GB
Notification: Performance of collectInitialEqns (initialization): time 5.211e-05/0.2618, allocations: 88.14 kB / 0.9541 GB, free: 4.609 MB / 0.7325 GB
Notification: Performance of collectInitialBindings (initialization): time 2.314e-05/0.2618, allocations: 19.75 kB / 0.9541 GB, free: 4.59 MB / 0.7325 GB
Notification: Performance of simplifyInitialFunctions (initialization): time 9.579e-05/0.2619, allocations: 29.64 kB / 0.9541 GB, free: 4.555 MB / 0.7325 GB
Notification: Performance of setup shared object (initialization): time 0.0001181/0.2621, allocations: 326.8 kB / 0.9545 GB, free: 4.227 MB / 0.7325 GB
Notification: Performance of preBalanceInitialSystem (initialization): time 8.784e-05/0.2622, allocations: 27.98 kB / 0.9545 GB, free: 4.199 MB / 0.7325 GB
Notification: Performance of partitionIndependentBlocks (initialization): time 9.199e-05/0.2623, allocations: 42.56 kB / 0.9545 GB, free: 4.148 MB / 0.7325 GB
Notification: Performance of analyzeInitialSystem (initialization): time 0.0001528/0.2624, allocations: 70.55 kB / 0.9546 GB, free: 4.07 MB / 0.7325 GB
Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.984e-06/0.2624, allocations: 4 kB / 0.9546 GB, free: 4.066 MB / 0.7325 GB
Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002386/0.2627, allocations: 113.5 kB / 0.9547 GB, free: 3.949 MB / 0.7325 GB
Notification: Performance of prepare postOptimizeDAE: time 1.701e-05/0.2627, allocations: 11.94 kB / 0.9547 GB, free: 3.938 MB / 0.7325 GB
Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.49e-06/0.2627, allocations: 0 / 0.9547 GB, free: 3.938 MB / 0.7325 GB
Notification: Performance of postOpt tearingSystem (initialization): time 1.451e-05/0.2627, allocations: 0 / 0.9547 GB, free: 3.938 MB / 0.7325 GB
Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001027/0.2628, allocations: 19.92 kB / 0.9547 GB, free: 3.918 MB / 0.7325 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.925e-06/0.2628, allocations: 7.938 kB / 0.9547 GB, free: 3.91 MB / 0.7325 GB
Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.702e-05/0.2629, allocations: 7.906 kB / 0.9547 GB, free: 3.902 MB / 0.7325 GB
Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.274e-05/0.2629, allocations: 4.062 kB / 0.9548 GB, free: 3.898 MB / 0.7325 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.0001024/0.263, allocations: 129.8 kB / 0.9549 GB, free: 3.762 MB / 0.7325 GB
Notification: Performance of postOpt lateInlineFunction (simulation): time 1.504e-05/0.2631, allocations: 0 / 0.9549 GB, free: 3.762 MB / 0.7325 GB
Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.75e-05/0.2631, allocations: 8.375 kB / 0.9549 GB, free: 3.754 MB / 0.7325 GB
Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.176e-06/0.2631, allocations: 0 / 0.9549 GB, free: 3.754 MB / 0.7325 GB
Notification: Performance of postOpt constantLinearSystem (simulation): time 4.729e-06/0.2631, allocations: 3.938 kB / 0.9549 GB, free: 3.75 MB / 0.7325 GB
Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.615e-06/0.2631, allocations: 0 / 0.9549 GB, free: 3.75 MB / 0.7325 GB
Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000432/0.2636, allocations: 390.7 kB / 0.9553 GB, free: 3.312 MB / 0.7325 GB
Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.773e-06/0.2636, allocations: 0 / 0.9553 GB, free: 3.312 MB / 0.7325 GB
Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.211e-05/0.2636, allocations: 7.984 kB / 0.9553 GB, free: 3.305 MB / 0.7325 GB
Notification: Performance of postOpt tearingSystem (simulation): time 2.685e-06/0.2636, allocations: 0 / 0.9553 GB, free: 3.305 MB / 0.7325 GB
Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.35e-05/0.2637, allocations: 4 kB / 0.9553 GB, free: 3.301 MB / 0.7325 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.673e-06/0.2637, allocations: 0 / 0.9553 GB, free: 3.301 MB / 0.7325 GB
Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.997e-06/0.2637, allocations: 3.938 kB / 0.9553 GB, free: 3.297 MB / 0.7325 GB
Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002727/0.2639, allocations: 219.5 kB / 0.9555 GB, free: 3.066 MB / 0.7325 GB
Notification: Performance of postOpt removeConstants (simulation): time 3.486e-05/0.264, allocations: 85.02 kB / 0.9556 GB, free: 2.965 MB / 0.7325 GB
Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.854e-05/0.264, allocations: 0 / 0.9556 GB, free: 2.965 MB / 0.7325 GB
Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.823e-05/0.2641, allocations: 4 kB / 0.9556 GB, free: 2.961 MB / 0.7325 GB
Notification: Performance of postOpt findZeroCrossings (simulation): time 4.326e-05/0.2642, allocations: 11.92 kB / 0.9556 GB, free: 2.949 MB / 0.7325 GB
Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.026e-05/0.2642, allocations: 4 kB / 0.9556 GB, free: 2.945 MB / 0.7325 GB
Notification: Performance of sorting global known variables: time 5.561e-05/0.2642, allocations: 91.27 kB / 0.9557 GB, free: 2.855 MB / 0.7325 GB
Notification: Performance of sort global known variables: time 1.3e-07/0.2642, allocations: 4 kB / 0.9557 GB, free: 2.852 MB / 0.7325 GB
Notification: Performance of remove unused functions: time 0.0002947/0.2645, allocations: 39.98 kB / 0.9557 GB, free: 2.812 MB / 0.7325 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.0003404/0.2649, allocations: 167 kB / 0.9559 GB, free: 2.652 MB / 0.7325 GB
Notification: Performance of simCode: created initialization part: time 0.0002381/0.2651, allocations: 67.91 kB / 0.9559 GB, free: 2.586 MB / 0.7325 GB
Notification: Performance of simCode: created event and clocks part: time 2.214e-06/0.2651, allocations: 0 / 0.9559 GB, free: 2.586 MB / 0.7325 GB
Notification: Performance of simCode: created simulation system equations: time 0.000104/0.2653, allocations: 48.03 kB / 0.956 GB, free: 2.539 MB / 0.7325 GB
Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002562/0.2655, allocations: 6.672 kB / 0.956 GB, free: 2.535 MB / 0.7325 GB
Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004398/0.266, allocations: 230.6 kB / 0.9562 GB, free: 2.273 MB / 0.7325 GB
Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002285/0.2662, allocations: 0.6922 MB / 0.9569 GB, free: 1.555 MB / 0.7325 GB
Notification: Performance of simCode: all other stuff during SimCode phase: time 3.354e-05/0.2662, allocations: 15.42 kB / 0.9569 GB, free: 1.539 MB / 0.7325 GB
Notification: Performance of SimCode: time 4.4e-07/0.2663, allocations: 4 kB / 0.9569 GB, free: 1.535 MB / 0.7325 GB
Notification: Performance of Templates: time 0.003418/0.2697, allocations: 1.619 MB / 0.9585 GB, free: 15.92 MB / 0.7481 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/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsPakistan.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001)
Reference file matches