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.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.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.0015/0.0015, allocations: 110.7 kB / 16.41 MB, free: 6.488 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.001621/0.001621, allocations: 187 kB / 17.34 MB, free: 5.762 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.308/1.308, allocations: 222.9 MB / 241 MB, free: 15.14 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.214/2.214, allocations: 390.3 MB / 0.6655 GB, free: 0.6289 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001389/0.001389, allocations: 63.91 kB / 0.9515 GB, free: 7.684 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8358/0.8372, allocations: 140.4 MB / 1.089 GB, free: 5.531 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsUK): time 0.002645/0.8399, allocations: 1.477 MB / 1.09 GB, free: 4.508 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.001255/0.8412, allocations: 0.731 MB / 1.091 GB, free: 4.012 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.239e-05/0.8413, allocations: 1.125 kB / 1.091 GB, free: 4.012 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 3.217e-05/0.8413, allocations: 8.641 kB / 1.091 GB, free: 4.004 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 5.34e-05/0.8414, allocations: 14.52 kB / 1.091 GB, free: 3.992 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005598/0.8419, allocations: 117.7 kB / 1.091 GB, free: 3.938 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0001392/0.8421, allocations: 76.81 kB / 1.091 GB, free: 3.902 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 9.894e-05/0.8422, allocations: 12.34 kB / 1.091 GB, free: 3.898 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 9.36e-05/0.8423, allocations: 39.19 kB / 1.091 GB, free: 3.879 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 7.559e-05/0.8424, allocations: 37.34 kB / 1.091 GB, free: 3.863 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 2.183e-05/0.8424, allocations: 10.62 kB / 1.091 GB, free: 3.859 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002186/0.8426, allocations: 90 kB / 1.091 GB, free: 3.836 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 2.728e-05/0.8426, allocations: 22.55 kB / 1.091 GB, free: 3.82 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 5.009e-05/0.8427, allocations: 36.05 kB / 1.091 GB, free: 3.797 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0002748/0.843, allocations: 138.6 kB / 1.091 GB, free: 3.754 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 4.859e-06/0.843, allocations: 1.062 kB / 1.091 GB, free: 3.754 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.643e-06/0.843, allocations: 0 / 1.091 GB, free: 3.754 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 5.581e-06/0.843, allocations: 0 / 1.091 GB, free: 3.754 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.0006051/0.8436, allocations: 426.3 kB / 1.092 GB, free: 3.332 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 3.885e-05/0.8437, allocations: 10.67 kB / 1.092 GB, free: 3.332 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.681e-05/0.8437, allocations: 8.688 kB / 1.092 GB, free: 3.328 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.625e-05/0.8438, allocations: 169.4 kB / 1.092 GB, free: 3.129 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.637e-05/0.8438, allocations: 7.375 kB / 1.092 GB, free: 3.125 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.02e-05/0.8439, allocations: 8.406 kB / 1.092 GB, free: 3.121 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000195/0.8441, allocations: 71.78 kB / 1.092 GB, free: 3.074 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.544e-06/0.8441, allocations: 0.8125 kB / 1.092 GB, free: 3.074 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.368e-05/0.8441, allocations: 4.609 kB / 1.092 GB, free: 3.07 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.531e-06/0.8441, allocations: 5.719 kB / 1.092 GB, free: 3.066 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001321/0.8443, allocations: 35.59 kB / 1.092 GB, free: 3.059 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005652/0.8448, allocations: 318.1 kB / 1.092 GB, free: 2.762 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001283/0.845, allocations: 49.83 kB / 1.092 GB, free: 2.727 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.928e-05/0.8451, allocations: 36.59 kB / 1.092 GB, free: 2.707 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 2.004e-05/0.8451, allocations: 1.531 kB / 1.092 GB, free: 2.707 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001978/0.8453, allocations: 72.95 kB / 1.092 GB, free: 2.652 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=7): time 1.522e-06/0.8453, allocations: 0 / 1.092 GB, free: 2.652 MB / 0.8575 GB Notification: Performance of matching and sorting (n=7): time 0.0004301/0.8457, allocations: 145.9 kB / 1.093 GB, free: 2.582 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.37e-05/0.8458, allocations: 62.77 kB / 1.093 GB, free: 2.512 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.259e-05/0.8459, allocations: 122.8 kB / 1.093 GB, free: 2.402 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 1.577e-05/0.8459, allocations: 30.7 kB / 1.093 GB, free: 2.367 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 4.217e-05/0.8459, allocations: 92.08 kB / 1.093 GB, free: 2.277 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 2.149e-05/0.846, allocations: 12.05 kB / 1.093 GB, free: 2.27 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.96e-05/0.846, allocations: 25.03 kB / 1.093 GB, free: 2.25 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 5.809e-05/0.8461, allocations: 323.6 kB / 1.093 GB, free: 1.93 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.521e-05/0.8462, allocations: 31.91 kB / 1.093 GB, free: 1.918 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001001/0.8463, allocations: 50.02 kB / 1.093 GB, free: 1.883 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00016/0.8465, allocations: 75.7 kB / 1.093 GB, free: 1.836 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.327e-06/0.8465, allocations: 1.547 kB / 1.093 GB, free: 1.836 MB / 0.8575 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002327/0.8467, allocations: 116.2 kB / 1.094 GB, free: 1.773 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.598e-05/0.8467, allocations: 7.125 kB / 1.094 GB, free: 1.773 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.739e-06/0.8467, allocations: 1.641 kB / 1.094 GB, free: 1.773 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.489e-05/0.8468, allocations: 2.094 kB / 1.094 GB, free: 1.773 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.374e-05/0.8469, allocations: 10.73 kB / 1.094 GB, free: 1.773 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.115e-06/0.8469, allocations: 1.453 kB / 1.094 GB, free: 1.773 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.406e-05/0.8469, allocations: 14.44 kB / 1.094 GB, free: 1.766 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.265e-05/0.847, allocations: 2.953 kB / 1.094 GB, free: 1.766 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 7.713e-05/0.847, allocations: 131.9 kB / 1.094 GB, free: 1.633 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.79e-05/0.8471, allocations: 10.73 kB / 1.094 GB, free: 1.625 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.822e-05/0.8471, allocations: 7.766 kB / 1.094 GB, free: 1.617 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.893e-06/0.8471, allocations: 1 kB / 1.094 GB, free: 1.617 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.228e-06/0.8471, allocations: 0 / 1.094 GB, free: 1.617 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.228e-06/0.8471, allocations: 1.734 kB / 1.094 GB, free: 1.617 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004051/0.8475, allocations: 378.5 kB / 1.094 GB, free: 1.281 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.465e-06/0.8475, allocations: 0 / 1.094 GB, free: 1.281 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.798e-05/0.8476, allocations: 12.95 kB / 1.094 GB, free: 1.273 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.753e-06/0.8476, allocations: 0.7188 kB / 1.094 GB, free: 1.273 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.168e-05/0.8476, allocations: 2.984 kB / 1.094 GB, free: 1.273 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.262e-06/0.8476, allocations: 0 / 1.094 GB, free: 1.273 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.993e-06/0.8476, allocations: 4.438 kB / 1.094 GB, free: 1.27 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002652/0.8479, allocations: 212 kB / 1.094 GB, free: 1.109 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 2.541e-05/0.8479, allocations: 84.06 kB / 1.094 GB, free: 1.012 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.054e-05/0.848, allocations: 9.609 kB / 1.094 GB, free: 1.004 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.399e-05/0.848, allocations: 4.094 kB / 1.094 GB, free: 1.004 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.218e-05/0.8481, allocations: 8.641 kB / 1.094 GB, free: 1 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.097e-05/0.8481, allocations: 8.391 kB / 1.094 GB, free: 0.9961 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 4.174e-05/0.8482, allocations: 91.56 kB / 1.094 GB, free: 0.918 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.3e-07/0.8482, allocations: 0 / 1.094 GB, free: 0.918 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0003047/0.8485, allocations: 45.73 kB / 1.095 GB, free: 0.9023 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.0003437/0.8488, allocations: 163 kB / 1.095 GB, free: 0.793 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.000244/0.8491, allocations: 73.48 kB / 1.095 GB, free: 0.7734 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 2.866e-06/0.8491, allocations: 0 / 1.095 GB, free: 0.7734 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 0.000105/0.8492, allocations: 37.25 kB / 1.095 GB, free: 0.7617 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002621/0.8495, allocations: 9.625 kB / 1.095 GB, free: 0.7578 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004131/0.8499, allocations: 211.6 kB / 1.095 GB, free: 0.5781 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001989/0.8501, allocations: 0.6862 MB / 1.096 GB, free: 15.88 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.71e-05/0.8501, allocations: 12.86 kB / 1.096 GB, free: 15.88 MB / 0.8731 GB Notification: Performance of SimCode: time 2.21e-07/0.8502, allocations: 3.938 kB / 1.096 GB, free: 15.87 MB / 0.8731 GB Notification: Performance of Templates: time 0.004891/0.855, allocations: 1.626 MB / 1.097 GB, free: 15.7 MB / 0.8731 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