Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.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_10_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_10_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.001013/0.001013, allocations: 90.75 kB / 15.06 MB, free: 1.098 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.001138/0.001138, allocations: 172.7 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.522/1.522, allocations: 223.3 MB / 240 MB, free: 5.301 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.785/2.785, allocations: 437.7 MB / 0.7117 GB, free: 7.07 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0004191/0.0004194, allocations: 12 kB / 0.8722 GB, free: 3.66 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8249/0.8254, allocations: 153.8 MB / 1.022 GB, free: 8 kB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsUK): time 0.001683/0.8271, allocations: 1.188 MB / 1.024 GB, free: 14.82 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.001307/0.8284, allocations: 0.6822 MB / 1.024 GB, free: 14.13 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.835e-05/0.8285, allocations: 0 / 1.024 GB, free: 14.13 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 2.253e-05/0.8285, allocations: 3.938 kB / 1.024 GB, free: 14.12 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 6.604e-05/0.8286, allocations: 11.92 kB / 1.024 GB, free: 14.11 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.000474/0.8291, allocations: 95.77 kB / 1.024 GB, free: 14.02 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.0001044/0.8292, allocations: 67.77 kB / 1.024 GB, free: 13.95 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 9.67e-05/0.8293, allocations: 12 kB / 1.024 GB, free: 13.94 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 8.07e-05/0.8294, allocations: 31.89 kB / 1.024 GB, free: 13.91 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 7.083e-05/0.8295, allocations: 27.91 kB / 1.024 GB, free: 13.88 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 1.764e-05/0.8295, allocations: 4 kB / 1.024 GB, free: 13.88 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001685/0.8297, allocations: 87.84 kB / 1.025 GB, free: 13.79 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 2.889e-05/0.8297, allocations: 15.92 kB / 1.025 GB, free: 13.78 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 4.188e-05/0.8298, allocations: 33.7 kB / 1.025 GB, free: 13.74 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0001941/0.83, allocations: 101.8 kB / 1.025 GB, free: 13.64 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 5.109e-06/0.83, allocations: 0 / 1.025 GB, free: 13.64 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.563e-06/0.83, allocations: 0 / 1.025 GB, free: 13.64 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 4.589e-06/0.83, allocations: 0 / 1.025 GB, free: 13.64 MB / 0.7794 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.0006028/0.8306, allocations: 416.7 kB / 1.025 GB, free: 13.18 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 3.933e-05/0.8307, allocations: 12.56 kB / 1.025 GB, free: 13.17 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.068e-05/0.8307, allocations: 7.906 kB / 1.025 GB, free: 13.16 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001308/0.8308, allocations: 166.9 kB / 1.025 GB, free: 12.96 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.93e-05/0.8309, allocations: 4 kB / 1.025 GB, free: 12.95 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.073e-05/0.8309, allocations: 7.953 kB / 1.025 GB, free: 12.95 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001845/0.8311, allocations: 73.66 kB / 1.025 GB, free: 12.87 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.408e-06/0.8311, allocations: 0 / 1.025 GB, free: 12.87 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.509e-05/0.8311, allocations: 3.984 kB / 1.025 GB, free: 12.86 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.939e-06/0.8312, allocations: 4 kB / 1.025 GB, free: 12.86 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001297/0.8313, allocations: 39.97 kB / 1.025 GB, free: 12.82 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006095/0.8319, allocations: 328.7 kB / 1.026 GB, free: 12.45 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000121/0.832, allocations: 50.56 kB / 1.026 GB, free: 12.39 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.349e-05/0.8321, allocations: 36.97 kB / 1.026 GB, free: 12.35 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 2.094e-05/0.8322, allocations: 0 / 1.026 GB, free: 12.35 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001943/0.8324, allocations: 79.38 kB / 1.026 GB, free: 12.26 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=7): time 1.493e-06/0.8324, allocations: 0 / 1.026 GB, free: 12.26 MB / 0.7794 GB Notification: Performance of matching and sorting (n=7): time 0.0004177/0.8328, allocations: 153.5 kB / 1.026 GB, free: 12.11 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.732e-05/0.8328, allocations: 63.39 kB / 1.026 GB, free: 12.03 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001049/0.833, allocations: 113.8 kB / 1.026 GB, free: 11.91 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.997e-05/0.833, allocations: 29.7 kB / 1.026 GB, free: 11.88 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 6.998e-05/0.8331, allocations: 88.31 kB / 1.026 GB, free: 11.79 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 2.373e-05/0.8331, allocations: 15.81 kB / 1.026 GB, free: 11.77 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.841e-06/0.8331, allocations: 0 / 1.026 GB, free: 11.77 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001234/0.8332, allocations: 326.8 kB / 1.027 GB, free: 11.44 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.028e-05/0.8333, allocations: 35.91 kB / 1.027 GB, free: 11.41 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.263e-05/0.8334, allocations: 50.5 kB / 1.027 GB, free: 11.35 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001041/0.8335, allocations: 35.98 kB / 1.027 GB, free: 11.31 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.154e-06/0.8335, allocations: 3.938 kB / 1.027 GB, free: 11.31 MB / 0.7794 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002295/0.8338, allocations: 117.8 kB / 1.027 GB, free: 11.19 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.475e-05/0.8338, allocations: 4 kB / 1.027 GB, free: 11.18 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.354e-06/0.8338, allocations: 4 kB / 1.027 GB, free: 11.18 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.209e-05/0.8338, allocations: 64 / 1.027 GB, free: 11.18 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001063/0.8339, allocations: 15.98 kB / 1.027 GB, free: 11.16 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.026e-05/0.834, allocations: 8.062 kB / 1.027 GB, free: 11.16 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.71e-05/0.834, allocations: 15.84 kB / 1.027 GB, free: 11.14 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.44e-05/0.8341, allocations: 4 kB / 1.027 GB, free: 11.14 MB / 0.7794 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,$PRE.win.on,win.on,$PRE.win.p,win.p,$PRE.win.curSeed,win.curSeed,$whenCondition1,win.sampleTrigger) * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001237/0.8342, allocations: 121.8 kB / 1.027 GB, free: 11.01 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.452e-05/0.8342, allocations: 4 kB / 1.027 GB, free: 11 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.043e-05/0.8342, allocations: 16.31 kB / 1.027 GB, free: 10.98 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.606e-06/0.8343, allocations: 4 kB / 1.027 GB, free: 10.98 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.518e-06/0.8343, allocations: 0 / 1.027 GB, free: 10.98 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.226e-06/0.8343, allocations: 4 kB / 1.027 GB, free: 10.98 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004507/0.8347, allocations: 382.4 kB / 1.027 GB, free: 10.55 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.573e-06/0.8347, allocations: 0 / 1.027 GB, free: 10.55 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.214e-05/0.8348, allocations: 11.98 kB / 1.027 GB, free: 10.54 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.179e-06/0.8348, allocations: 3.984 kB / 1.027 GB, free: 10.53 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.159e-05/0.8348, allocations: 4 kB / 1.027 GB, free: 10.53 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.956e-06/0.8348, allocations: 0 / 1.027 GB, free: 10.53 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.182e-06/0.8348, allocations: 3.938 kB / 1.027 GB, free: 10.52 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002823/0.8351, allocations: 219.4 kB / 1.028 GB, free: 10.29 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 3.993e-05/0.8352, allocations: 85.09 kB / 1.028 GB, free: 10.19 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.828e-05/0.8352, allocations: 0 / 1.028 GB, free: 10.19 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.226e-05/0.8353, allocations: 8 kB / 1.028 GB, free: 10.18 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.471e-05/0.8353, allocations: 7.984 kB / 1.028 GB, free: 10.18 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.938e-06/0.8353, allocations: 4 kB / 1.028 GB, free: 10.17 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 6.143e-05/0.8354, allocations: 91.92 kB / 1.028 GB, free: 10.08 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.3e-07/0.8354, allocations: 3.938 kB / 1.028 GB, free: 10.08 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002884/0.8357, allocations: 43.92 kB / 1.028 GB, free: 10.04 MB / 0.7794 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003666/0.8361, allocations: 162 kB / 1.028 GB, free: 9.883 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0002341/0.8363, allocations: 75.91 kB / 1.028 GB, free: 9.809 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 2.314e-06/0.8363, allocations: 4.125 kB / 1.028 GB, free: 9.805 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 9.839e-05/0.8364, allocations: 39.92 kB / 1.028 GB, free: 9.766 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002495/0.8367, allocations: 11.94 kB / 1.028 GB, free: 9.754 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004131/0.8371, allocations: 211 kB / 1.028 GB, free: 9.516 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002883/0.8374, allocations: 0.6848 MB / 1.029 GB, free: 8.805 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 3.89e-05/0.8375, allocations: 8.172 kB / 1.029 GB, free: 8.797 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.835e-05/0.8375, allocations: 11.44 kB / 1.029 GB, free: 8.785 MB / 0.7794 GB Notification: Performance of SimCode: time 2.6e-07/0.8375, allocations: 0 / 1.029 GB, free: 8.785 MB / 0.7794 GB Notification: Performance of Templates: time 0.004272/0.8418, allocations: 1.356 MB / 1.03 GB, free: 7.434 MB / 0.7794 GB make -j1 -f Buildings_10_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsUK.makefile (rm -f Buildings_10_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsUK.pipe ; mkfifo Buildings_10_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsUK.pipe ; head -c 1048576 < Buildings_10_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsUK.pipe >> ../files/Buildings_10_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsUK.sim & ./Buildings_10_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsUK -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsUK.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsUK_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Occupants_Residential_Windows_Validation_Nicol2001WindowsUK.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsUK.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