Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTOut.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.Office.Windows.Validation.Yun2008WindowsTOut,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|win.TOut|win.occ|win.pOpen|win.on",fileNamePrefix="Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTOut") translateModel(Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTOut,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|win.TOut|win.occ|win.pOpen|win.on",fileNamePrefix="Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTOut") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.403/2.403, allocations: 390.5 MB / 398 MB, free: 10.92 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.001274/0.001274, allocations: 188.9 kB / 491.2 MB, free: 1.57 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.5/1.5, allocations: 221.5 MB / 0.7868 GB, free: 13.24 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.001155/0.001155, allocations: 95.89 kB / 0.9269 GB, free: 13.73 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 1.626e-05/1.629e-05, allocations: 4 kB / 1.073 GB, free: 182.1 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2873/0.2873, allocations: 143 MB / 1.212 GB, free: 39.53 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.077/1.364, allocations: 151.6 MB / 1.36 GB, free: 17.49 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002462/1.364, allocations: 78.12 kB / 1.36 GB, free: 17.49 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.01018/1.375, allocations: 3.248 MB / 1.364 GB, free: 33.02 MB / 0.8386 GB Notification: Performance of FrontEnd: time 1.552e-06/1.375, allocations: 0 / 1.364 GB, free: 33.02 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 6.642e-06/1.375, allocations: 4 kB / 1.364 GB, free: 33.02 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0005242/1.375, allocations: 444.8 kB / 1.364 GB, free: 32.58 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 4.129e-05/1.375, allocations: 11.41 kB / 1.364 GB, free: 32.58 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.87e-05/1.375, allocations: 12.48 kB / 1.364 GB, free: 32.57 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001033/1.375, allocations: 171.7 kB / 1.364 GB, free: 32.38 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.087e-05/1.375, allocations: 3.906 kB / 1.364 GB, free: 32.38 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.124e-05/1.375, allocations: 5.281 kB / 1.364 GB, free: 32.38 MB / 0.8386 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 9.794e-05/1.375, allocations: 28.53 kB / 1.364 GB, free: 32.38 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001242/1.376, allocations: 77.47 kB / 1.364 GB, free: 32.34 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.416e-06/1.376, allocations: 3.844 kB / 1.364 GB, free: 32.34 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.626e-05/1.376, allocations: 0 / 1.364 GB, free: 32.34 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.919e-06/1.376, allocations: 0 / 1.364 GB, free: 32.34 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006866/1.376, allocations: 322 kB / 1.365 GB, free: 32.09 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 9.022e-05/1.376, allocations: 47.12 kB / 1.365 GB, free: 32.07 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.303e-05/1.377, allocations: 34.48 kB / 1.365 GB, free: 32.05 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 2.508e-05/1.377, allocations: 5.859 kB / 1.365 GB, free: 32.05 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001316/1.377, allocations: 85.09 kB / 1.365 GB, free: 32 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=8): time 1.402e-06/1.377, allocations: 0 / 1.365 GB, free: 32 MB / 0.8386 GB Notification: Performance of matching and sorting (n=8): time 0.0003191/1.377, allocations: 127.7 kB / 1.365 GB, free: 31.96 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.877e-05/1.377, allocations: 61.53 kB / 1.365 GB, free: 31.89 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.485e-05/1.377, allocations: 106.6 kB / 1.365 GB, free: 31.8 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 1.823e-05/1.377, allocations: 30.88 kB / 1.365 GB, free: 31.77 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 6.045e-05/1.377, allocations: 89.28 kB / 1.365 GB, free: 31.69 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 2.064e-05/1.377, allocations: 15.95 kB / 1.365 GB, free: 31.68 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.765e-06/1.377, allocations: 0 / 1.365 GB, free: 31.68 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001498/1.377, allocations: 320.7 kB / 1.365 GB, free: 31.37 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.344e-05/1.377, allocations: 23.7 kB / 1.366 GB, free: 31.37 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.231e-05/1.378, allocations: 54.81 kB / 1.366 GB, free: 31.32 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.893e-05/1.378, allocations: 25.02 kB / 1.366 GB, free: 31.32 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.048e-06/1.378, allocations: 3.656 kB / 1.366 GB, free: 31.32 MB / 0.8386 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001559/1.378, allocations: 106.9 kB / 1.366 GB, free: 31.28 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.337e-05/1.378, allocations: 9.375 kB / 1.366 GB, free: 31.28 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.76e-06/1.378, allocations: 3.875 kB / 1.366 GB, free: 31.28 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.622e-05/1.378, allocations: 0 / 1.366 GB, free: 31.28 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001102/1.378, allocations: 19.09 kB / 1.366 GB, free: 31.27 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.192e-05/1.378, allocations: 3.875 kB / 1.366 GB, free: 31.27 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.992e-05/1.378, allocations: 13.44 kB / 1.366 GB, free: 31.27 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.615e-05/1.378, allocations: 5.266 kB / 1.366 GB, free: 31.27 MB / 0.8386 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 11 ($PRE.win.curSeed,win.curSeed,$PRE.win.on,win.on,occ.y,$PRE.win.pOpen,win.pOpen,$PRE.win.pClose,win.pClose,$whenCondition1,win.sampleTrigger) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (13): * Single equations (assignments): 13 * 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 8.063e-05/1.378, allocations: 116.8 kB / 1.366 GB, free: 31.15 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.692e-05/1.378, allocations: 7.844 kB / 1.366 GB, free: 31.15 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.052e-05/1.378, allocations: 13.25 kB / 1.366 GB, free: 31.14 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.675e-06/1.378, allocations: 3.812 kB / 1.366 GB, free: 31.14 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.799e-06/1.378, allocations: 0 / 1.366 GB, free: 31.14 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.889e-06/1.378, allocations: 2.188 kB / 1.366 GB, free: 31.14 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003701/1.379, allocations: 379.4 kB / 1.366 GB, free: 30.87 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.845e-06/1.379, allocations: 1.406 kB / 1.366 GB, free: 30.87 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.211e-05/1.379, allocations: 9.578 kB / 1.366 GB, free: 30.87 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.973e-06/1.379, allocations: 0 / 1.366 GB, free: 30.87 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.508e-05/1.379, allocations: 5.422 kB / 1.366 GB, free: 30.86 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.213e-06/1.379, allocations: 0 / 1.366 GB, free: 30.86 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.395e-06/1.379, allocations: 3.875 kB / 1.366 GB, free: 30.86 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002289/1.379, allocations: 227.3 kB / 1.366 GB, free: 30.72 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 2.6e-05/1.379, allocations: 84.86 kB / 1.367 GB, free: 30.62 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.477e-05/1.379, allocations: 1.734 kB / 1.367 GB, free: 30.62 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001028/1.379, allocations: 9.547 kB / 1.367 GB, free: 30.62 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.098e-05/1.379, allocations: 6.875 kB / 1.367 GB, free: 30.62 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.36e-05/1.379, allocations: 12.58 kB / 1.367 GB, free: 30.62 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 4.596e-05/1.379, allocations: 89.16 kB / 1.367 GB, free: 30.54 MB / 0.8386 GB Notification: Performance of sort global known variables: time 1.51e-07/1.379, allocations: 0 / 1.367 GB, free: 30.54 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0003013/1.38, allocations: 57.69 kB / 1.367 GB, free: 30.53 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: 7 (win.sampleTrigger,$whenCondition1,occ.y,win.on,win.pOpen,win.pClose,win.curSeed) * Number of discrete states: 1 (win.on) * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 4 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.0003918/1.38, allocations: 171.9 kB / 1.367 GB, free: 30.41 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.00015/1.38, allocations: 71.48 kB / 1.367 GB, free: 30.41 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 1.723e-06/1.38, allocations: 0 / 1.367 GB, free: 30.41 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 6.235e-05/1.38, allocations: 36.22 kB / 1.367 GB, free: 30.4 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001858/1.38, allocations: 10.77 kB / 1.367 GB, free: 30.4 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002889/1.381, allocations: 118.8 kB / 1.367 GB, free: 30.32 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002815/1.381, allocations: 0.6935 MB / 1.368 GB, free: 29.62 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 4.606e-05/1.381, allocations: 5.453 kB / 1.368 GB, free: 29.62 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.581e-05/1.381, allocations: 11.22 kB / 1.368 GB, free: 29.62 MB / 0.8386 GB Notification: Performance of SimCode: time 2.8e-07/1.381, allocations: 0 / 1.368 GB, free: 29.62 MB / 0.8386 GB Notification: Performance of Templates: time 0.003939/1.385, allocations: 1.749 MB / 1.37 GB, free: 29.46 MB / 0.8386 GB make -j1 -f Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTOut.makefile (rm -f Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTOut.pipe ; mkfifo Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTOut.pipe ; head -c 1048576 < Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTOut.pipe >> ../files/Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTOut.sim & ./Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTOut -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTOut.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTOut_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Occupants_Office_Windows_Validation_Yun2008WindowsTOut.csv","../files/Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTOut.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) "" Variables in the reference:time,win.TOut,win.occ,win.pOpen,win.on Variables in the result:TOut.amplitude,TOut.f,TOut.offset,TOut.phase,TOut.startTime,occ.startTime,occ.startValue,occ.y,time,win.AClose,win.AOpen,win.BClose,win.BOpen,win.TOut,win.occ,win.on,win.pOpen,win.samplePeriod,win.seed,win.t0