Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsUK") translateModel(Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsUK,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_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.001408/0.001408, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.001503/0.001503, allocations: 193.2 kB / 16.25 MB, free: 6.617 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.483/1.483, allocations: 205.1 MB / 222.1 MB, free: 4.699 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.584/1.584, allocations: 251.6 MB / 0.5089 GB, free: 3.301 MB / 414.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001283/0.001283, allocations: 67.91 kB / 0.6217 GB, free: 1.867 MB / 0.5137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5188/0.5201, allocations: 104.7 MB / 0.724 GB, free: 13.25 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsUK): time 0.003192/0.5234, allocations: 1.546 MB / 0.7255 GB, free: 11.69 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.001424/0.5248, allocations: 0.7641 MB / 0.7262 GB, free: 10.92 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.905e-05/0.5249, allocations: 3.938 kB / 0.7262 GB, free: 10.91 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 4.467e-05/0.5249, allocations: 3.984 kB / 0.7262 GB, free: 10.91 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 6.808e-05/0.5251, allocations: 7.938 kB / 0.7263 GB, free: 10.9 MB / 0.545 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/Occupants/BaseClasses/binaryVariableGeneration.mo:11:3-11:96:writable] Warning: localSeed was used before it was defined (given a value). Additional such uses may exist for the variable, but some messages were suppressed. Notification: Performance of NFTyping.typeClassSections: time 0.0006599/0.5257, allocations: 111.8 kB / 0.7264 GB, free: 10.79 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.0001351/0.5259, allocations: 87.69 kB / 0.7264 GB, free: 10.71 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001197/0.526, allocations: 11.98 kB / 0.7265 GB, free: 10.7 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 9.398e-05/0.5261, allocations: 27.92 kB / 0.7265 GB, free: 10.67 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 7.866e-05/0.5262, allocations: 47.81 kB / 0.7265 GB, free: 10.62 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 2.146e-05/0.5262, allocations: 8 kB / 0.7265 GB, free: 10.61 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002038/0.5264, allocations: 91.84 kB / 0.7266 GB, free: 10.52 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 3.248e-05/0.5265, allocations: 23.92 kB / 0.7266 GB, free: 10.5 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 5.919e-05/0.5265, allocations: 31.86 kB / 0.7267 GB, free: 10.47 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0002604/0.5268, allocations: 137.8 kB / 0.7268 GB, free: 10.34 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 4.589e-06/0.5268, allocations: 0 / 0.7268 GB, free: 10.34 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.573e-06/0.5268, allocations: 0 / 0.7268 GB, free: 10.34 MB / 0.545 GB Notification: Performance of Transformations before backend: time 5.711e-06/0.5268, allocations: 0 / 0.7268 GB, free: 10.34 MB / 0.545 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.0006946/0.5275, allocations: 428.8 kB / 0.7272 GB, free: 9.863 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 4.414e-05/0.5276, allocations: 8.031 kB / 0.7272 GB, free: 9.855 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.857e-05/0.5276, allocations: 8.844 kB / 0.7272 GB, free: 9.848 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001543/0.5278, allocations: 176.3 kB / 0.7274 GB, free: 9.637 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.925e-05/0.5278, allocations: 8.375 kB / 0.7274 GB, free: 9.629 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.64e-05/0.5279, allocations: 4.375 kB / 0.7274 GB, free: 9.625 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001886/0.528, allocations: 65.97 kB / 0.7275 GB, free: 9.555 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.683e-06/0.5281, allocations: 0 / 0.7275 GB, free: 9.555 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.509e-05/0.5281, allocations: 7.984 kB / 0.7275 GB, free: 9.547 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.501e-05/0.5281, allocations: 4 kB / 0.7275 GB, free: 9.543 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001255/0.5282, allocations: 31.98 kB / 0.7275 GB, free: 9.512 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006229/0.5289, allocations: 328.5 kB / 0.7278 GB, free: 9.141 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001351/0.529, allocations: 46.56 kB / 0.7279 GB, free: 9.086 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.551e-05/0.5291, allocations: 28.97 kB / 0.7279 GB, free: 9.055 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 1.924e-05/0.5291, allocations: 8 kB / 0.7279 GB, free: 9.047 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001635/0.5293, allocations: 75.44 kB / 0.728 GB, free: 8.961 MB / 0.545 GB Notification: Performance of pre-optimization done (n=7): time 5.751e-06/0.5293, allocations: 0 / 0.728 GB, free: 8.961 MB / 0.545 GB Notification: Performance of matching and sorting (n=7): time 0.0004198/0.5298, allocations: 145.4 kB / 0.7281 GB, free: 8.812 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.541e-05/0.5298, allocations: 51.41 kB / 0.7282 GB, free: 8.75 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001015/0.5299, allocations: 125.8 kB / 0.7283 GB, free: 8.617 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 2.796e-05/0.53, allocations: 29.7 kB / 0.7283 GB, free: 8.582 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 5.605e-05/0.53, allocations: 88.14 kB / 0.7284 GB, free: 8.492 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 2.118e-05/0.53, allocations: 19.8 kB / 0.7284 GB, free: 8.473 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.859e-05/0.5301, allocations: 25.7 kB / 0.7284 GB, free: 8.441 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001288/0.5302, allocations: 318.8 kB / 0.7287 GB, free: 8.121 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.864e-05/0.5303, allocations: 27.98 kB / 0.7288 GB, free: 8.094 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.336e-05/0.5304, allocations: 50.55 kB / 0.7288 GB, free: 8.035 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001487/0.5306, allocations: 78.78 kB / 0.7289 GB, free: 7.949 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.074e-06/0.5306, allocations: 0 / 0.7289 GB, free: 7.949 MB / 0.545 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002425/0.5308, allocations: 117.5 kB / 0.729 GB, free: 7.828 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.914e-05/0.5309, allocations: 12.06 kB / 0.729 GB, free: 7.816 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.442e-06/0.5309, allocations: 0 / 0.729 GB, free: 7.816 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.329e-05/0.5309, allocations: 0 / 0.729 GB, free: 7.816 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.681e-05/0.531, allocations: 8 kB / 0.729 GB, free: 7.809 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.354e-05/0.531, allocations: 7.984 kB / 0.729 GB, free: 7.801 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.488e-05/0.5311, allocations: 11.78 kB / 0.729 GB, free: 7.789 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.493e-05/0.5311, allocations: 4 kB / 0.7291 GB, free: 7.785 MB / 0.545 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.0001393/0.5313, allocations: 125.8 kB / 0.7292 GB, free: 7.652 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.368e-05/0.5313, allocations: 4 kB / 0.7292 GB, free: 7.648 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.909e-05/0.5313, allocations: 12.36 kB / 0.7292 GB, free: 7.637 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.074e-06/0.5313, allocations: 0 / 0.7292 GB, free: 7.637 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.763e-06/0.5313, allocations: 0 / 0.7292 GB, free: 7.637 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.769e-06/0.5314, allocations: 3.938 kB / 0.7292 GB, free: 7.633 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004673/0.5318, allocations: 386.3 kB / 0.7296 GB, free: 7.199 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.382e-06/0.5318, allocations: 0 / 0.7296 GB, free: 7.199 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.122e-05/0.5319, allocations: 4 kB / 0.7296 GB, free: 7.195 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.963e-06/0.5319, allocations: 4 kB / 0.7296 GB, free: 7.191 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.61e-05/0.5319, allocations: 11.98 kB / 0.7296 GB, free: 7.18 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.282e-06/0.5319, allocations: 0 / 0.7296 GB, free: 7.18 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.815e-06/0.5319, allocations: 3.938 kB / 0.7296 GB, free: 7.176 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002701/0.5322, allocations: 199.5 kB / 0.7298 GB, free: 6.965 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 4.853e-05/0.5323, allocations: 85.02 kB / 0.7299 GB, free: 6.863 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.032e-05/0.5323, allocations: 3.984 kB / 0.7299 GB, free: 6.859 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.685e-05/0.5324, allocations: 11.94 kB / 0.7299 GB, free: 6.848 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.614e-05/0.5324, allocations: 11.88 kB / 0.7299 GB, free: 6.836 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.015e-05/0.5325, allocations: 3.984 kB / 0.7299 GB, free: 6.832 MB / 0.545 GB Notification: Performance of sorting global known variables: time 5.626e-05/0.5325, allocations: 95.92 kB / 0.73 GB, free: 6.738 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.2e-07/0.5325, allocations: 4 kB / 0.73 GB, free: 6.734 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0003091/0.5328, allocations: 39.94 kB / 0.73 GB, free: 6.695 MB / 0.545 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.0003421/0.5332, allocations: 157.8 kB / 0.7302 GB, free: 6.547 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0002588/0.5335, allocations: 71.89 kB / 0.7302 GB, free: 6.477 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 2.004e-06/0.5335, allocations: 0 / 0.7302 GB, free: 6.477 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 9.694e-05/0.5336, allocations: 35.97 kB / 0.7303 GB, free: 6.441 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00026/0.5338, allocations: 11.98 kB / 0.7303 GB, free: 6.43 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004063/0.5342, allocations: 205.5 kB / 0.7305 GB, free: 6.199 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002475/0.5345, allocations: 0.6885 MB / 0.7312 GB, free: 5.484 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 3.825e-05/0.5346, allocations: 4 kB / 0.7312 GB, free: 5.48 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.502e-05/0.5346, allocations: 19.38 kB / 0.7312 GB, free: 5.465 MB / 0.545 GB Notification: Performance of SimCode: time 2.4e-07/0.5346, allocations: 0 / 0.7312 GB, free: 5.465 MB / 0.545 GB Notification: Performance of Templates: time 0.003948/0.5385, allocations: 1.411 MB / 0.7326 GB, free: 4.066 MB / 0.545 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsUK.makefile (rm -f Buildings_maint.7.0.x_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsUK.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsUK.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsUK.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsUK.sim & ./Buildings_maint.7.0.x_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsUK -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsUK.pipe 2>&1)