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.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-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.008609/0.008609, allocations: 101.7 kB / 15.88 MB, free: 5.867 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.001728/0.001728, allocations: 193.4 kB / 16.79 MB, free: 5.809 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.496/1.496, allocations: 222.9 MB / 240.5 MB, free: 4.559 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.456/2.456, allocations: 390.2 MB / 0.6649 GB, free: 0.6328 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001541/0.001541, allocations: 63.89 kB / 0.8125 GB, free: 14.88 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6692/0.6707, allocations: 140.4 MB / 0.9496 GB, free: 9.352 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsUK): time 0.002508/0.6733, allocations: 1.53 MB / 0.9511 GB, free: 8.148 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.001101/0.6744, allocations: 0.7335 MB / 0.9518 GB, free: 7.586 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.671e-05/0.6745, allocations: 3.938 kB / 0.9518 GB, free: 7.582 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 3.427e-05/0.6745, allocations: 5.219 kB / 0.9518 GB, free: 7.578 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 5.216e-05/0.6746, allocations: 9.094 kB / 0.9518 GB, free: 7.57 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004498/0.675, allocations: 104 kB / 0.9519 GB, free: 7.496 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 9.215e-05/0.6751, allocations: 79.3 kB / 0.952 GB, free: 7.449 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 9.758e-05/0.6752, allocations: 13.11 kB / 0.952 GB, free: 7.441 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 8.585e-05/0.6753, allocations: 31.25 kB / 0.952 GB, free: 7.426 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 6.522e-05/0.6754, allocations: 39.05 kB / 0.9521 GB, free: 7.398 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.781e-05/0.6754, allocations: 2.969 kB / 0.9521 GB, free: 7.398 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001839/0.6756, allocations: 93.72 kB / 0.9521 GB, free: 7.348 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 2.274e-05/0.6757, allocations: 19.31 kB / 0.9522 GB, free: 7.332 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 4.399e-05/0.6757, allocations: 31.98 kB / 0.9522 GB, free: 7.309 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0001664/0.6759, allocations: 101.6 kB / 0.9523 GB, free: 7.246 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 4.298e-06/0.6759, allocations: 0 / 0.9523 GB, free: 7.246 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.272e-06/0.6759, allocations: 0 / 0.9523 GB, free: 7.246 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 3.877e-06/0.6759, allocations: 0 / 0.9523 GB, free: 7.246 MB / 0.7169 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.0005854/0.6765, allocations: 419.7 kB / 0.9527 GB, free: 6.812 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.115e-05/0.6765, allocations: 9.594 kB / 0.9527 GB, free: 6.812 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.809e-05/0.6766, allocations: 5.062 kB / 0.9527 GB, free: 6.812 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.826e-05/0.6767, allocations: 176.4 kB / 0.9529 GB, free: 6.605 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.171e-05/0.6767, allocations: 9.688 kB / 0.9529 GB, free: 6.598 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.71e-05/0.6767, allocations: 12.47 kB / 0.9529 GB, free: 6.59 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001807/0.6769, allocations: 72 kB / 0.953 GB, free: 6.531 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.446e-06/0.6769, allocations: 0.9062 kB / 0.953 GB, free: 6.531 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.15e-05/0.677, allocations: 0 / 0.953 GB, free: 6.531 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.719e-06/0.677, allocations: 1.125 kB / 0.953 GB, free: 6.531 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001262/0.6771, allocations: 37.09 kB / 0.953 GB, free: 6.516 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005133/0.6776, allocations: 325.7 kB / 0.9533 GB, free: 6.18 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001155/0.6777, allocations: 47.94 kB / 0.9534 GB, free: 6.141 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.369e-05/0.6778, allocations: 32.88 kB / 0.9534 GB, free: 6.121 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 1.951e-05/0.6779, allocations: 0 / 0.9534 GB, free: 6.121 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001791/0.678, allocations: 81.45 kB / 0.9535 GB, free: 6.047 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=7): time 1.223e-06/0.678, allocations: 0 / 0.9535 GB, free: 6.047 MB / 0.7169 GB Notification: Performance of matching and sorting (n=7): time 0.0004008/0.6785, allocations: 144.2 kB / 0.9536 GB, free: 5.961 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.001e-05/0.6785, allocations: 54.75 kB / 0.9537 GB, free: 5.898 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.015e-05/0.6786, allocations: 119.7 kB / 0.9538 GB, free: 5.785 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.285e-05/0.6786, allocations: 30.98 kB / 0.9538 GB, free: 5.75 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 3.38e-05/0.6786, allocations: 94.94 kB / 0.9539 GB, free: 5.656 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 1.712e-05/0.6786, allocations: 18.66 kB / 0.9539 GB, free: 5.641 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.237e-05/0.6787, allocations: 30.52 kB / 0.9539 GB, free: 5.613 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 4.085e-05/0.6787, allocations: 320.2 kB / 0.9542 GB, free: 5.293 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.811e-05/0.6788, allocations: 26.98 kB / 0.9543 GB, free: 5.281 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.072e-05/0.6789, allocations: 43.81 kB / 0.9543 GB, free: 5.246 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001385/0.6791, allocations: 82.7 kB / 0.9544 GB, free: 5.188 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.886e-06/0.6791, allocations: 7.938 kB / 0.9544 GB, free: 5.18 MB / 0.7169 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002114/0.6793, allocations: 113 kB / 0.9545 GB, free: 5.109 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.555e-05/0.6793, allocations: 5.312 kB / 0.9545 GB, free: 5.109 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.691e-06/0.6793, allocations: 4.062 kB / 0.9545 GB, free: 5.105 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.415e-05/0.6793, allocations: 1.312 kB / 0.9545 GB, free: 5.105 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.323e-05/0.6794, allocations: 13.73 kB / 0.9545 GB, free: 5.102 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.921e-06/0.6794, allocations: 0 / 0.9545 GB, free: 5.102 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.474e-05/0.6795, allocations: 8.906 kB / 0.9545 GB, free: 5.098 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.359e-05/0.6795, allocations: 6.531 kB / 0.9545 GB, free: 5.094 MB / 0.7169 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 6.799e-05/0.6796, allocations: 127 kB / 0.9547 GB, free: 4.969 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.771e-05/0.6796, allocations: 10.67 kB / 0.9547 GB, free: 4.961 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.48e-05/0.6797, allocations: 13.75 kB / 0.9547 GB, free: 4.949 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.806e-06/0.6797, allocations: 1.344 kB / 0.9547 GB, free: 4.949 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.408e-06/0.6797, allocations: 0 / 0.9547 GB, free: 4.949 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.035e-06/0.6797, allocations: 0 / 0.9547 GB, free: 4.949 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003627/0.6801, allocations: 382.9 kB / 0.9551 GB, free: 4.578 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.563e-06/0.6801, allocations: 0 / 0.9551 GB, free: 4.578 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.744e-05/0.6801, allocations: 3.75 kB / 0.9551 GB, free: 4.578 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.507e-06/0.6801, allocations: 5.266 kB / 0.9551 GB, free: 4.574 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.072e-05/0.6801, allocations: 5.25 kB / 0.9551 GB, free: 4.57 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.493e-06/0.6801, allocations: 0 / 0.9551 GB, free: 4.57 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.653e-06/0.6801, allocations: 3.938 kB / 0.9551 GB, free: 4.566 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002349/0.6804, allocations: 202.6 kB / 0.9553 GB, free: 4.402 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 2.185e-05/0.6804, allocations: 86.34 kB / 0.9553 GB, free: 4.301 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.982e-05/0.6804, allocations: 1.281 kB / 0.9553 GB, free: 4.301 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.751e-05/0.6805, allocations: 2.594 kB / 0.9553 GB, free: 4.301 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.916e-05/0.6806, allocations: 14.83 kB / 0.9554 GB, free: 4.289 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.149e-05/0.6806, allocations: 6.094 kB / 0.9554 GB, free: 4.285 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 3.459e-05/0.6806, allocations: 96.48 kB / 0.9555 GB, free: 4.199 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.3e-07/0.6806, allocations: 0 / 0.9555 GB, free: 4.199 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002994/0.6809, allocations: 37.41 kB / 0.9555 GB, free: 4.191 MB / 0.7169 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.00031/0.6813, allocations: 179 kB / 0.9557 GB, free: 4.059 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0002271/0.6815, allocations: 77.94 kB / 0.9557 GB, free: 4.023 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.074e-06/0.6815, allocations: 0 / 0.9557 GB, free: 4.023 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 9.094e-05/0.6816, allocations: 32.42 kB / 0.9558 GB, free: 4.012 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002573/0.6819, allocations: 11.66 kB / 0.9558 GB, free: 4.004 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000387/0.6823, allocations: 215.1 kB / 0.956 GB, free: 3.809 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001108/0.6824, allocations: 0.6955 MB / 0.9567 GB, free: 3.098 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.941e-05/0.6824, allocations: 10.41 kB / 0.9567 GB, free: 3.09 MB / 0.7169 GB Notification: Performance of SimCode: time 5.92e-07/0.6824, allocations: 1.312 kB / 0.9567 GB, free: 3.09 MB / 0.7169 GB Notification: Performance of Templates: time 0.003352/0.6858, allocations: 1.612 MB / 0.9583 GB, free: 2.262 MB / 0.7169 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) Reference file matches