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/Buildings 10.0.0-master/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 Buildings with version 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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/Buildings 10.0.0-master/package.mo): time 2.394/2.394, allocations: 390.3 MB / 402.8 MB, free: 6.703 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00188/0.00188, allocations: 182.2 kB / 496.1 MB, free: 12.88 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.774/1.774, allocations: 221.3 MB / 0.7915 GB, free: 5.414 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009517/0.0009513, allocations: 95.69 kB / 0.9317 GB, free: 5.727 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 3.328e-05/3.349e-05, allocations: 4 kB / 1.079 GB, free: 140.6 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2983/0.2983, allocations: 143 MB / 1.219 GB, free: 13.54 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.123/1.421, allocations: 152 MB / 1.367 GB, free: 2.141 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000256/1.421, allocations: 84.56 kB / 1.367 GB, free: 2.094 MB / 0.823 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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 FrontEnd - DAE generated: time 0.008987/1.43, allocations: 3.015 MB / 1.37 GB, free: 15.51 MB / 0.8386 GB Notification: Performance of FrontEnd: time 1.703e-06/1.43, allocations: 0 / 1.37 GB, free: 15.51 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 6.773e-06/1.43, allocations: 0 / 1.37 GB, free: 15.51 MB / 0.8386 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.0005082/1.431, allocations: 423.5 kB / 1.371 GB, free: 15.05 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 3.991e-05/1.431, allocations: 8.031 kB / 1.371 GB, free: 15.04 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.624e-05/1.431, allocations: 7.953 kB / 1.371 GB, free: 15.04 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001303/1.431, allocations: 171.8 kB / 1.371 GB, free: 14.83 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.899e-05/1.431, allocations: 7.125 kB / 1.371 GB, free: 14.82 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.163e-05/1.431, allocations: 7.984 kB / 1.371 GB, free: 14.82 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001435/1.431, allocations: 56.73 kB / 1.371 GB, free: 14.77 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.126e-06/1.431, allocations: 0 / 1.371 GB, free: 14.77 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.25e-05/1.431, allocations: 4 kB / 1.371 GB, free: 14.76 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.063e-06/1.431, allocations: 7.938 kB / 1.371 GB, free: 14.75 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.053e-05/1.431, allocations: 26.61 kB / 1.371 GB, free: 14.74 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006078/1.432, allocations: 310.7 kB / 1.371 GB, free: 14.41 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 8.671e-05/1.432, allocations: 37.95 kB / 1.371 GB, free: 14.37 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.949e-05/1.432, allocations: 32.36 kB / 1.371 GB, free: 14.34 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 2.133e-05/1.432, allocations: 0 / 1.371 GB, free: 14.34 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001295/1.432, allocations: 78.56 kB / 1.371 GB, free: 14.26 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=7): time 1.273e-06/1.432, allocations: 0 / 1.371 GB, free: 14.26 MB / 0.8386 GB Notification: Performance of matching and sorting (n=7): time 0.0002444/1.433, allocations: 100.9 kB / 1.371 GB, free: 14.18 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.275e-05/1.433, allocations: 55.39 kB / 1.371 GB, free: 14.11 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.186e-05/1.433, allocations: 109.3 kB / 1.372 GB, free: 14 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 2.958e-05/1.433, allocations: 37 kB / 1.372 GB, free: 13.96 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 5.444e-05/1.433, allocations: 95.67 kB / 1.372 GB, free: 13.87 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 2.006e-05/1.433, allocations: 18.67 kB / 1.372 GB, free: 13.85 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.352e-06/1.433, allocations: 3.438 kB / 1.372 GB, free: 13.85 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001112/1.433, allocations: 317.8 kB / 1.372 GB, free: 13.54 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.216e-05/1.433, allocations: 22.56 kB / 1.372 GB, free: 13.52 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.49e-05/1.433, allocations: 41.44 kB / 1.372 GB, free: 13.48 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.008e-05/1.433, allocations: 26.88 kB / 1.372 GB, free: 13.46 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.713e-06/1.433, allocations: 0 / 1.372 GB, free: 13.46 MB / 0.8386 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001531/1.433, allocations: 92.73 kB / 1.372 GB, free: 13.38 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.578e-05/1.433, allocations: 8 kB / 1.372 GB, free: 13.37 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.591e-06/1.433, allocations: 0 / 1.372 GB, free: 13.37 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.276e-05/1.433, allocations: 3.938 kB / 1.372 GB, free: 13.36 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001043/1.433, allocations: 18.8 kB / 1.372 GB, free: 13.35 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.698e-06/1.433, allocations: 8.016 kB / 1.372 GB, free: 13.34 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.374e-05/1.434, allocations: 11.91 kB / 1.372 GB, free: 13.33 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.817e-05/1.434, allocations: 7.984 kB / 1.372 GB, free: 13.32 MB / 0.8386 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 (occ.y,$PRE.win.on,win.on,$PRE.win.p,win.p,$PRE.win.curSeed,win.curSeed,$whenCondition1,win.sampleTrigger) * Number of discrete 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 9.085e-05/1.434, allocations: 112.9 kB / 1.372 GB, free: 13.21 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.159e-05/1.434, allocations: 0 / 1.372 GB, free: 13.21 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.723e-05/1.434, allocations: 12.06 kB / 1.372 GB, free: 13.2 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.943e-06/1.434, allocations: 0 / 1.372 GB, free: 13.2 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.738e-06/1.434, allocations: 0 / 1.372 GB, free: 13.2 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.699e-06/1.434, allocations: 7.953 kB / 1.372 GB, free: 13.19 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003578/1.434, allocations: 371.1 kB / 1.373 GB, free: 12.8 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.403e-06/1.434, allocations: 0 / 1.373 GB, free: 12.8 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.371e-05/1.434, allocations: 7.984 kB / 1.373 GB, free: 12.79 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.054e-06/1.434, allocations: 0 / 1.373 GB, free: 12.79 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.708e-06/1.434, allocations: 0 / 1.373 GB, free: 12.79 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.136e-06/1.434, allocations: 3.953 kB / 1.373 GB, free: 12.79 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.285e-06/1.434, allocations: 4 kB / 1.373 GB, free: 12.79 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001949/1.434, allocations: 192.2 kB / 1.373 GB, free: 12.6 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 5.455e-05/1.434, allocations: 85.09 kB / 1.373 GB, free: 12.5 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.739e-05/1.435, allocations: 0 / 1.373 GB, free: 12.5 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.566e-05/1.435, allocations: 7.812 kB / 1.373 GB, free: 12.5 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.836e-05/1.435, allocations: 11.94 kB / 1.373 GB, free: 12.48 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.939e-06/1.435, allocations: 0 / 1.373 GB, free: 12.48 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 5.066e-05/1.435, allocations: 95.38 kB / 1.373 GB, free: 12.39 MB / 0.8386 GB Notification: Performance of sort global known variables: time 1.5e-07/1.435, allocations: 0 / 1.373 GB, free: 12.39 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0002934/1.435, allocations: 59.11 kB / 1.373 GB, free: 12.34 MB / 0.8386 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,occ.y,win.on,win.p,win.curSeed) * Number of discrete 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.0003716/1.435, allocations: 181.3 kB / 1.373 GB, free: 12.17 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.0001481/1.436, allocations: 61.72 kB / 1.373 GB, free: 12.12 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 1.964e-06/1.436, allocations: 0 / 1.373 GB, free: 12.12 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 5.84e-05/1.436, allocations: 26.44 kB / 1.373 GB, free: 12.11 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001774/1.436, allocations: 13.98 kB / 1.373 GB, free: 12.1 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002745/1.436, allocations: 97.78 kB / 1.374 GB, free: 11.99 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002902/1.436, allocations: 0.6926 MB / 1.374 GB, free: 11.27 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 3.508e-05/1.436, allocations: 4.188 kB / 1.374 GB, free: 11.27 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.724e-05/1.436, allocations: 11.44 kB / 1.374 GB, free: 11.25 MB / 0.8386 GB Notification: Performance of SimCode: time 1.893e-06/1.437, allocations: 4 kB / 1.374 GB, free: 11.25 MB / 0.8386 GB Notification: Performance of Templates: time 0.003927/1.44, allocations: 1.528 MB / 1.376 GB, free: 9.738 MB / 0.8386 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,occ.y,time,win.A,win.B,win.TOut,win.occ,win.on,win.p,win.samplePeriod,win.seed,win.t0