Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsTiltedOpen.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) 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) Running command: translateModel(Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsTiltedOpen,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|win.TOut|win.occ|win.p|win.on",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsTiltedOpen") translateModel(Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsTiltedOpen,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|win.TOut|win.occ|win.p|win.on",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsTiltedOpen") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.36/1.36, allocations: 251.9 MB / 266.9 MB, free: 11.01 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001006/0.001006, allocations: 183 kB / 326.5 MB, free: 2.258 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.559/1.559, allocations: 205.4 MB / 0.5775 GB, free: 20.3 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001059/0.001059, allocations: 95.66 kB / 0.6821 GB, free: 12.9 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003642/0.0003642, allocations: 10.06 kB / 0.7962 GB, free: 135.1 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2415/0.2419, allocations: 106.3 MB / 0.9001 GB, free: 63.97 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1758/0.4178, allocations: 133.7 MB / 1.031 GB, free: 10.07 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002831/0.4181, allocations: 83.95 kB / 1.031 GB, free: 9.988 MB / 0.6823 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 FrontEnd - DAE generated: time 0.008866/0.427, allocations: 2.978 MB / 1.034 GB, free: 7.004 MB / 0.6823 GB Notification: Performance of FrontEnd: time 1.873e-06/0.427, allocations: 4 kB / 1.034 GB, free: 7 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 8.676e-06/0.427, allocations: 4 kB / 1.034 GB, free: 6.996 MB / 0.6823 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.0005025/0.4275, allocations: 428.7 kB / 1.034 GB, free: 6.523 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 3.682e-05/0.4276, allocations: 8.031 kB / 1.034 GB, free: 6.516 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.168e-05/0.4276, allocations: 11.91 kB / 1.034 GB, free: 6.504 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001113/0.4278, allocations: 167 kB / 1.034 GB, free: 6.301 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.472e-05/0.4278, allocations: 3.938 kB / 1.034 GB, free: 6.297 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.083e-05/0.4278, allocations: 12 kB / 1.034 GB, free: 6.285 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001756/0.428, allocations: 77.58 kB / 1.034 GB, free: 6.203 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.788e-06/0.428, allocations: 3.984 kB / 1.034 GB, free: 6.199 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.204e-05/0.428, allocations: 0 / 1.034 GB, free: 6.199 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.849e-06/0.428, allocations: 0 / 1.034 GB, free: 6.199 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001218/0.4282, allocations: 39.92 kB / 1.034 GB, free: 6.16 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006168/0.4288, allocations: 328.6 kB / 1.035 GB, free: 5.789 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001217/0.4289, allocations: 46.56 kB / 1.035 GB, free: 5.734 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 2.172e-05/0.429, allocations: 12.06 kB / 1.035 GB, free: 5.723 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001654/0.4291, allocations: 83.44 kB / 1.035 GB, free: 5.629 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=7): time 1.733e-06/0.4292, allocations: 0 / 1.035 GB, free: 5.629 MB / 0.6823 GB Notification: Performance of matching and sorting (n=7): time 0.0003916/0.4295, allocations: 141.5 kB / 1.035 GB, free: 5.484 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.229e-05/0.4296, allocations: 63.36 kB / 1.035 GB, free: 5.41 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.076e-05/0.4297, allocations: 109 kB / 1.035 GB, free: 5.297 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 2.059e-05/0.4297, allocations: 29.7 kB / 1.035 GB, free: 5.262 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 5.307e-05/0.4298, allocations: 88.33 kB / 1.035 GB, free: 5.168 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 1.975e-05/0.4298, allocations: 19.8 kB / 1.035 GB, free: 5.148 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.342e-06/0.4298, allocations: 0 / 1.035 GB, free: 5.148 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0001135/0.43, allocations: 322.8 kB / 1.036 GB, free: 4.824 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.53e-05/0.43, allocations: 31.98 kB / 1.036 GB, free: 4.793 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.839e-05/0.4301, allocations: 54.48 kB / 1.036 GB, free: 4.73 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.75e-05/0.4302, allocations: 33.88 kB / 1.036 GB, free: 4.699 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.034e-06/0.4302, allocations: 0 / 1.036 GB, free: 4.699 MB / 0.6823 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002323/0.4305, allocations: 117.5 kB / 1.036 GB, free: 4.578 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.422e-05/0.4305, allocations: 4 kB / 1.036 GB, free: 4.574 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.189e-06/0.4305, allocations: 0 / 1.036 GB, free: 4.574 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.493e-05/0.4305, allocations: 4 kB / 1.036 GB, free: 4.57 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.738e-05/0.4306, allocations: 16.05 kB / 1.036 GB, free: 4.555 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.953e-06/0.4307, allocations: 3.938 kB / 1.036 GB, free: 4.551 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.231e-05/0.4307, allocations: 15.94 kB / 1.036 GB, free: 4.535 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.359e-05/0.4308, allocations: 0 / 1.036 GB, free: 4.535 MB / 0.6823 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 () * 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 9.64e-05/0.4309, allocations: 128.4 kB / 1.036 GB, free: 4.402 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.377e-05/0.4309, allocations: 3.906 kB / 1.036 GB, free: 4.398 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.878e-05/0.4309, allocations: 8.375 kB / 1.036 GB, free: 4.391 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.433e-06/0.4309, allocations: 0 / 1.036 GB, free: 4.391 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.33e-06/0.4309, allocations: 7.984 kB / 1.036 GB, free: 4.383 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.086e-06/0.4309, allocations: 0 / 1.036 GB, free: 4.383 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004515/0.4314, allocations: 390.4 kB / 1.036 GB, free: 3.945 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.406e-06/0.4314, allocations: 0 / 1.036 GB, free: 3.945 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.963e-05/0.4315, allocations: 7.938 kB / 1.036 GB, free: 3.938 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.427e-06/0.4315, allocations: 3.984 kB / 1.036 GB, free: 3.934 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.083e-05/0.4315, allocations: 7.938 kB / 1.036 GB, free: 3.926 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.152e-06/0.4315, allocations: 0 / 1.036 GB, free: 3.926 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.308e-06/0.4315, allocations: 7.953 kB / 1.036 GB, free: 3.918 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002795/0.4318, allocations: 211.9 kB / 1.037 GB, free: 3.695 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 4.786e-05/0.4318, allocations: 85.02 kB / 1.037 GB, free: 3.594 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.835e-05/0.4319, allocations: 4 kB / 1.037 GB, free: 3.59 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.928e-05/0.432, allocations: 7.984 kB / 1.037 GB, free: 3.582 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.251e-05/0.432, allocations: 4 kB / 1.037 GB, free: 3.578 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.281e-05/0.432, allocations: 11.94 kB / 1.037 GB, free: 3.566 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 5.364e-05/0.4321, allocations: 95.94 kB / 1.037 GB, free: 3.473 MB / 0.6823 GB Notification: Performance of sort global known variables: time 1.21e-07/0.4321, allocations: 0 / 1.037 GB, free: 3.473 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.0002928/0.4324, allocations: 51.92 kB / 1.037 GB, free: 3.422 MB / 0.6823 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 () * 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.0004175/0.4328, allocations: 172.9 kB / 1.037 GB, free: 3.258 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.0002475/0.4331, allocations: 79.94 kB / 1.037 GB, free: 3.18 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 1.854e-06/0.4331, allocations: 0 / 1.037 GB, free: 3.18 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 9.891e-05/0.4332, allocations: 40.05 kB / 1.037 GB, free: 3.141 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001671/0.4334, allocations: 7.938 kB / 1.037 GB, free: 3.133 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004129/0.4338, allocations: 209.1 kB / 1.037 GB, free: 2.891 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002785/0.4341, allocations: 0.6948 MB / 1.038 GB, free: 2.172 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 4.781e-05/0.4341, allocations: 4.188 kB / 1.038 GB, free: 2.168 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.007e-05/0.4342, allocations: 11.44 kB / 1.038 GB, free: 2.16 MB / 0.6823 GB Notification: Performance of SimCode: time 2.21e-07/0.4342, allocations: 0 / 1.038 GB, free: 2.16 MB / 0.6823 GB Notification: Performance of Templates: time 0.004085/0.4383, allocations: 1.526 MB / 1.04 GB, free: 0.6484 MB / 0.6823 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsTiltedOpen.makefile (rm -f Buildings_maint.7.0.x_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsTiltedOpen.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsTiltedOpen.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsTiltedOpen.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsTiltedOpen.sim & ./Buildings_maint.7.0.x_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsTiltedOpen -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsTiltedOpen.pipe 2>&1) diffSimulationResults("Buildings_maint.7.0.x_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsTiltedOpen_res.mat","/mnt/ReferenceFiles/Buildings/csv/Buildings_Occupants_Office_Windows_Validation_Herkel2008WindowsTiltedOpen.csv","../files/Buildings_maint.7.0.x_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsTiltedOpen.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.freqHz,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