Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsEU.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 11.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/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.Nicol2001WindowsEU,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|win.TOut|win.occ|win.p|win.on",fileNamePrefix="Buildings_latest_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsEU") translateModel(Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsEU,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|win.TOut|win.occ|win.p|win.on",fileNamePrefix="Buildings_latest_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsEU") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00126/0.00126, allocations: 99.62 kB / 15.05 MB, free: 1.105 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.001513/0.001513, allocations: 177.3 kB / 15.95 MB, free: 216 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.347/1.347, allocations: 223.2 MB / 239.9 MB, free: 5.453 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.653/2.653, allocations: 436.5 MB / 0.7104 GB, free: 7.797 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.000315/0.0003153, allocations: 8 kB / 0.8708 GB, free: 4.777 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6333/0.6336, allocations: 153.7 MB / 1.021 GB, free: 1.113 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsEU): time 0.002031/0.6357, allocations: 1.176 MB / 1.022 GB, free: 15.93 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.001291/0.637, allocations: 0.6706 MB / 1.023 GB, free: 15.25 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.177e-05/0.6371, allocations: 4 kB / 1.023 GB, free: 15.25 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 2.189e-05/0.6371, allocations: 3.938 kB / 1.023 GB, free: 15.24 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 7.804e-05/0.6372, allocations: 11.97 kB / 1.023 GB, free: 15.23 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005441/0.6378, allocations: 95.64 kB / 1.023 GB, free: 15.14 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.0001032/0.6379, allocations: 47.94 kB / 1.023 GB, free: 15.09 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 8.519e-05/0.638, allocations: 15.97 kB / 1.023 GB, free: 15.07 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 8.606e-05/0.6381, allocations: 23.92 kB / 1.023 GB, free: 15.05 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 7.076e-05/0.6382, allocations: 39.83 kB / 1.023 GB, free: 15.01 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 2.764e-05/0.6382, allocations: 4 kB / 1.023 GB, free: 15.01 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000171/0.6384, allocations: 63.94 kB / 1.023 GB, free: 14.95 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 2.478e-05/0.6384, allocations: 19.91 kB / 1.023 GB, free: 14.93 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 4.022e-05/0.6385, allocations: 33.7 kB / 1.023 GB, free: 14.89 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0001822/0.6387, allocations: 97.73 kB / 1.023 GB, free: 14.79 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 2.215e-06/0.6387, allocations: 0 / 1.023 GB, free: 14.79 MB / 0.7794 GB Notification: Performance of FrontEnd: time 3.056e-06/0.6387, allocations: 4 kB / 1.023 GB, free: 14.79 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 4.429e-06/0.6387, allocations: 0 / 1.023 GB, free: 14.79 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.0006167/0.6393, allocations: 414.4 kB / 1.023 GB, free: 14.33 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 3.629e-05/0.6394, allocations: 8.031 kB / 1.023 GB, free: 14.32 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.361e-05/0.6394, allocations: 7.906 kB / 1.023 GB, free: 14.32 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001321/0.6395, allocations: 171 kB / 1.024 GB, free: 14.11 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.865e-05/0.6396, allocations: 15.98 kB / 1.024 GB, free: 14.09 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.299e-05/0.6396, allocations: 7.953 kB / 1.024 GB, free: 14.09 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002032/0.6398, allocations: 69.66 kB / 1.024 GB, free: 14.01 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.865e-06/0.6398, allocations: 0 / 1.024 GB, free: 14.01 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.374e-05/0.6399, allocations: 0 / 1.024 GB, free: 14.01 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.62e-06/0.6399, allocations: 0 / 1.024 GB, free: 14.01 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001405/0.64, allocations: 47.97 kB / 1.024 GB, free: 13.96 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006959/0.6407, allocations: 324.6 kB / 1.024 GB, free: 13.6 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001361/0.6409, allocations: 54.55 kB / 1.024 GB, free: 13.54 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 2.365e-05/0.6409, allocations: 0 / 1.024 GB, free: 13.54 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002171/0.6411, allocations: 83.56 kB / 1.024 GB, free: 13.44 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=7): time 1.242e-06/0.6411, allocations: 0 / 1.024 GB, free: 13.44 MB / 0.7794 GB Notification: Performance of matching and sorting (n=7): time 0.0004373/0.6416, allocations: 157.5 kB / 1.024 GB, free: 13.28 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.989e-05/0.6417, allocations: 59.39 kB / 1.024 GB, free: 13.21 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001155/0.6418, allocations: 117.8 kB / 1.025 GB, free: 13.09 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 2.646e-05/0.6418, allocations: 33.7 kB / 1.025 GB, free: 13.05 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 5.864e-05/0.6419, allocations: 88.31 kB / 1.025 GB, free: 12.96 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 2.115e-05/0.6419, allocations: 15.81 kB / 1.025 GB, free: 12.94 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.65e-06/0.6419, allocations: 0 / 1.025 GB, free: 12.94 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001241/0.642, allocations: 326.8 kB / 1.025 GB, free: 12.61 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.28e-05/0.6421, allocations: 27.98 kB / 1.025 GB, free: 12.59 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.445e-05/0.6422, allocations: 47 kB / 1.025 GB, free: 12.53 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001008/0.6423, allocations: 47.88 kB / 1.025 GB, free: 12.48 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.144e-06/0.6424, allocations: 0 / 1.025 GB, free: 12.48 MB / 0.7794 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002654/0.6426, allocations: 121.5 kB / 1.025 GB, free: 12.36 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.321e-05/0.6426, allocations: 4 kB / 1.025 GB, free: 12.36 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.713e-06/0.6427, allocations: 4 kB / 1.025 GB, free: 12.35 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.262e-05/0.6427, allocations: 4.062 kB / 1.025 GB, free: 12.35 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.676e-05/0.6428, allocations: 11.98 kB / 1.025 GB, free: 12.34 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.366e-06/0.6428, allocations: 4 kB / 1.025 GB, free: 12.33 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.946e-05/0.6429, allocations: 11.84 kB / 1.025 GB, free: 12.32 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.453e-05/0.6429, allocations: 4 kB / 1.025 GB, free: 12.32 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.0001055/0.643, allocations: 129.7 kB / 1.025 GB, free: 12.18 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.439e-05/0.643, allocations: 4 kB / 1.025 GB, free: 12.18 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.59e-05/0.6431, allocations: 8.375 kB / 1.025 GB, free: 12.17 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.805e-06/0.6431, allocations: 0 / 1.025 GB, free: 12.17 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.029e-06/0.6431, allocations: 0 / 1.025 GB, free: 12.17 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.127e-06/0.6431, allocations: 4 kB / 1.025 GB, free: 12.16 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004505/0.6435, allocations: 390.3 kB / 1.026 GB, free: 11.73 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.543e-06/0.6435, allocations: 0 / 1.026 GB, free: 11.73 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.147e-05/0.6436, allocations: 11.98 kB / 1.026 GB, free: 11.71 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.339e-05/0.6436, allocations: 0 / 1.026 GB, free: 11.71 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.178e-05/0.6436, allocations: 7.938 kB / 1.026 GB, free: 11.71 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.986e-06/0.6437, allocations: 0 / 1.026 GB, free: 11.71 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.303e-06/0.6437, allocations: 3.938 kB / 1.026 GB, free: 11.7 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002935/0.644, allocations: 219.5 kB / 1.026 GB, free: 11.47 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 4.109e-05/0.644, allocations: 81.02 kB / 1.026 GB, free: 11.38 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.96e-05/0.644, allocations: 0 / 1.026 GB, free: 11.38 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.863e-05/0.6441, allocations: 4 kB / 1.026 GB, free: 11.37 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.255e-05/0.6442, allocations: 7.984 kB / 1.026 GB, free: 11.36 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.109e-05/0.6442, allocations: 4 kB / 1.026 GB, free: 11.36 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 5.839e-05/0.6443, allocations: 99.42 kB / 1.026 GB, free: 11.26 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.1e-07/0.6443, allocations: 0 / 1.026 GB, free: 11.26 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0003216/0.6446, allocations: 39.92 kB / 1.026 GB, free: 11.22 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.0003617/0.645, allocations: 167.7 kB / 1.026 GB, free: 11.07 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0002358/0.6452, allocations: 75.95 kB / 1.026 GB, free: 10.99 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 1.743e-06/0.6452, allocations: 8.062 kB / 1.026 GB, free: 10.98 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 9.486e-05/0.6453, allocations: 39.91 kB / 1.026 GB, free: 10.95 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001779/0.6455, allocations: 8.844 kB / 1.026 GB, free: 10.94 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004613/0.646, allocations: 215.1 kB / 1.027 GB, free: 10.7 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003089/0.6463, allocations: 0.6887 MB / 1.027 GB, free: 9.98 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 3.769e-05/0.6463, allocations: 4.188 kB / 1.027 GB, free: 9.977 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.022e-05/0.6464, allocations: 19.42 kB / 1.027 GB, free: 9.957 MB / 0.7794 GB Notification: Performance of SimCode: time 2.51e-07/0.6464, allocations: 0 / 1.027 GB, free: 9.957 MB / 0.7794 GB Notification: Performance of Templates: time 0.004169/0.6506, allocations: 1.333 MB / 1.029 GB, free: 8.629 MB / 0.7794 GB make -j1 -f Buildings_latest_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsEU.makefile (rm -f Buildings_latest_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsEU.pipe ; mkfifo Buildings_latest_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsEU.pipe ; head -c 1048576 < Buildings_latest_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsEU.pipe >> ../files/Buildings_latest_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsEU.sim & ./Buildings_latest_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsEU -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsEU.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsEU_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Occupants_Residential_Windows_Validation_Nicol2001WindowsEU.csv","../files/Buildings_latest_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsEU.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