Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsSmall.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/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 9.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo) Running command: translateModel(Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsSmall,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|win.TOut|win.occ|win.p|win.on",fileNamePrefix="Buildings_9_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsSmall") translateModel(Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsSmall,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|win.TOut|win.occ|win.p|win.on",fileNamePrefix="Buildings_9_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsSmall") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.006/2.006, allocations: 387.4 MB / 394.9 MB, free: 13.37 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.001029/0.001029, allocations: 188.8 kB / 487.4 MB, free: 5.051 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.392/1.392, allocations: 221.5 MB / 0.7824 GB, free: 1.02 MB / 0.5417 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008102/0.0008102, allocations: 105.9 kB / 0.9219 GB, free: 2.242 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 1.312e-05/1.314e-05, allocations: 4 kB / 1.067 GB, free: 185.7 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2149/0.2149, allocations: 142.4 MB / 1.206 GB, free: 43.98 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7907/1.006, allocations: 150.5 MB / 1.353 GB, free: 18.19 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002089/1.006, allocations: 80.53 kB / 1.353 GB, free: 18.19 MB / 0.823 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.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.008407/1.014, allocations: 2.997 MB / 1.356 GB, free: 33.74 MB / 0.8386 GB Notification: Performance of FrontEnd: time 1.132e-06/1.014, allocations: 0 / 1.356 GB, free: 33.74 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 6.262e-06/1.014, allocations: 0 / 1.356 GB, free: 33.74 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.0004078/1.015, allocations: 420.1 kB / 1.356 GB, free: 33.33 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 3.296e-05/1.015, allocations: 11.66 kB / 1.356 GB, free: 33.33 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.713e-05/1.015, allocations: 8.562 kB / 1.356 GB, free: 33.33 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.844e-05/1.015, allocations: 173.7 kB / 1.357 GB, free: 33.13 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.596e-05/1.015, allocations: 0 / 1.357 GB, free: 33.13 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.651e-05/1.015, allocations: 4.391 kB / 1.357 GB, free: 33.13 MB / 0.8386 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 7.384e-05/1.015, allocations: 20.16 kB / 1.357 GB, free: 33.13 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.468e-05/1.015, allocations: 60.08 kB / 1.357 GB, free: 33.09 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.705e-06/1.015, allocations: 4.641 kB / 1.357 GB, free: 33.09 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.106e-05/1.015, allocations: 0 / 1.357 GB, free: 33.09 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.618e-06/1.015, allocations: 0 / 1.357 GB, free: 33.09 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004973/1.016, allocations: 295.3 kB / 1.357 GB, free: 32.85 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 6.687e-05/1.016, allocations: 42 kB / 1.357 GB, free: 32.82 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.832e-05/1.016, allocations: 23.7 kB / 1.357 GB, free: 32.82 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 1.625e-05/1.016, allocations: 0 / 1.357 GB, free: 32.82 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.723e-05/1.016, allocations: 74.67 kB / 1.357 GB, free: 32.77 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=7): time 1.152e-06/1.016, allocations: 0 / 1.357 GB, free: 32.77 MB / 0.8386 GB Notification: Performance of matching and sorting (n=7): time 0.0002085/1.016, allocations: 101.5 kB / 1.357 GB, free: 32.72 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.007e-05/1.016, allocations: 56.06 kB / 1.357 GB, free: 32.66 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.393e-05/1.016, allocations: 109.9 kB / 1.357 GB, free: 32.56 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 2.94e-05/1.016, allocations: 30.27 kB / 1.357 GB, free: 32.53 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 5.575e-05/1.016, allocations: 92.11 kB / 1.357 GB, free: 32.44 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 1.543e-05/1.016, allocations: 17.05 kB / 1.357 GB, free: 32.43 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.162e-06/1.016, allocations: 0 / 1.357 GB, free: 32.43 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001051/1.017, allocations: 324.4 kB / 1.358 GB, free: 32.12 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.111e-05/1.017, allocations: 15.17 kB / 1.358 GB, free: 32.12 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.223e-05/1.017, allocations: 46.7 kB / 1.358 GB, free: 32.09 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.505e-05/1.017, allocations: 21.36 kB / 1.358 GB, free: 32.09 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.673e-06/1.017, allocations: 0 / 1.358 GB, free: 32.09 MB / 0.8386 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001333/1.017, allocations: 91.8 kB / 1.358 GB, free: 32.05 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.031e-05/1.017, allocations: 4.609 kB / 1.358 GB, free: 32.05 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.98e-06/1.017, allocations: 3.875 kB / 1.358 GB, free: 32.05 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.15e-05/1.017, allocations: 0 / 1.358 GB, free: 32.05 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.974e-05/1.017, allocations: 19.05 kB / 1.358 GB, free: 32.04 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.747e-06/1.017, allocations: 3.938 kB / 1.358 GB, free: 32.04 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.863e-05/1.017, allocations: 4.922 kB / 1.358 GB, free: 32.04 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.193e-05/1.017, allocations: 8.578 kB / 1.358 GB, free: 32.04 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 7.288e-05/1.017, allocations: 114.5 kB / 1.358 GB, free: 31.93 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.248e-05/1.017, allocations: 4.516 kB / 1.358 GB, free: 31.92 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.258e-05/1.017, allocations: 9.812 kB / 1.358 GB, free: 31.92 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.413e-06/1.017, allocations: 0 / 1.358 GB, free: 31.92 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.386e-06/1.017, allocations: 4 kB / 1.358 GB, free: 31.92 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.176e-06/1.017, allocations: 0.7969 kB / 1.358 GB, free: 31.92 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002646/1.017, allocations: 341.4 kB / 1.358 GB, free: 31.65 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.894e-06/1.017, allocations: 1.062 kB / 1.358 GB, free: 31.65 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.968e-05/1.018, allocations: 5.281 kB / 1.358 GB, free: 31.65 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.264e-06/1.018, allocations: 0.6562 kB / 1.358 GB, free: 31.65 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.358e-06/1.018, allocations: 4.609 kB / 1.358 GB, free: 31.65 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.633e-06/1.018, allocations: 0.6562 kB / 1.358 GB, free: 31.65 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.513e-06/1.018, allocations: 4 kB / 1.358 GB, free: 31.64 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001608/1.018, allocations: 194.7 kB / 1.359 GB, free: 31.51 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 1.678e-05/1.018, allocations: 81.7 kB / 1.359 GB, free: 31.41 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.892e-05/1.018, allocations: 2.141 kB / 1.359 GB, free: 31.41 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.463e-05/1.018, allocations: 4.938 kB / 1.359 GB, free: 31.41 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.426e-05/1.018, allocations: 6.406 kB / 1.359 GB, free: 31.41 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.338e-06/1.018, allocations: 5.172 kB / 1.359 GB, free: 31.41 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 4.112e-05/1.018, allocations: 95.11 kB / 1.359 GB, free: 31.33 MB / 0.8386 GB Notification: Performance of sort global known variables: time 1.5e-07/1.018, allocations: 3.938 kB / 1.359 GB, free: 31.33 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0002659/1.018, allocations: 49.08 kB / 1.359 GB, free: 31.31 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.0003054/1.019, allocations: 172.6 kB / 1.359 GB, free: 31.2 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.0001112/1.019, allocations: 58.8 kB / 1.359 GB, free: 31.19 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 1.633e-06/1.019, allocations: 0 / 1.359 GB, free: 31.19 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 4.423e-05/1.019, allocations: 26.55 kB / 1.359 GB, free: 31.19 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001562/1.019, allocations: 13.5 kB / 1.359 GB, free: 31.18 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002241/1.019, allocations: 97.42 kB / 1.359 GB, free: 31.11 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002216/1.019, allocations: 0.6891 MB / 1.36 GB, free: 30.41 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 3.531e-05/1.019, allocations: 10.19 kB / 1.36 GB, free: 30.41 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.438e-05/1.019, allocations: 12.02 kB / 1.36 GB, free: 30.4 MB / 0.8386 GB Notification: Performance of SimCode: time 2.6e-07/1.019, allocations: 3.938 kB / 1.36 GB, free: 30.4 MB / 0.8386 GB Notification: Performance of Templates: time 0.003153/1.023, allocations: 1.495 MB / 1.361 GB, free: 30.25 MB / 0.8386 GB make -j1 -f Buildings_9_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsSmall.makefile (rm -f Buildings_9_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsSmall.pipe ; mkfifo Buildings_9_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsSmall.pipe ; head -c 1048576 < Buildings_9_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsSmall.pipe >> ../files/Buildings_9_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsSmall.sim & ./Buildings_9_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsSmall -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsSmall.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsSmall_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Occupants_Office_Windows_Validation_Herkel2008WindowsSmall.csv","../files/Buildings_9_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsSmall.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