Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTIn.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.Yun2008WindowsTIn,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|win.TIn|win.occ|win.pOpen|win.on",fileNamePrefix="Buildings_9_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTIn") translateModel(Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTIn,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|win.TIn|win.occ|win.pOpen|win.on",fileNamePrefix="Buildings_9_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTIn") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.311/2.311, allocations: 390.3 MB / 405.3 MB, free: 13.49 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.001112/0.001112, allocations: 173.1 kB / 498.1 MB, free: 5.734 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.595/1.595, allocations: 223.2 MB / 0.7948 GB, free: 17.96 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.001003/0.001003, allocations: 104.8 kB / 0.9346 GB, free: 6.238 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0003765/0.0003765, allocations: 10.44 kB / 1.084 GB, free: 221.5 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.315/0.3153, allocations: 142.3 MB / 1.223 GB, free: 114.3 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1995/0.5149, allocations: 151.5 MB / 1.371 GB, free: 10.54 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002792/0.5152, allocations: 83.95 kB / 1.371 GB, free: 10.46 MB / 0.8698 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.01002/0.5252, allocations: 3.296 MB / 1.374 GB, free: 7.156 MB / 0.8698 GB Notification: Performance of FrontEnd: time 4.809e-06/0.5253, allocations: 0 / 1.374 GB, free: 7.156 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 7.694e-06/0.5253, allocations: 3.938 kB / 1.374 GB, free: 7.152 MB / 0.8698 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.000606/0.5259, allocations: 462.4 kB / 1.375 GB, free: 6.641 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 4.902e-05/0.526, allocations: 12.03 kB / 1.375 GB, free: 6.629 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.721e-05/0.526, allocations: 11.86 kB / 1.375 GB, free: 6.617 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000134/0.5262, allocations: 170.9 kB / 1.375 GB, free: 6.41 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.302e-05/0.5262, allocations: 3.938 kB / 1.375 GB, free: 6.406 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.676e-05/0.5262, allocations: 4 kB / 1.375 GB, free: 6.402 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002531/0.5265, allocations: 89.62 kB / 1.375 GB, free: 6.309 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.858e-06/0.5265, allocations: 0 / 1.375 GB, free: 6.309 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.873e-05/0.5265, allocations: 11.98 kB / 1.375 GB, free: 6.297 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.14e-06/0.5266, allocations: 0 / 1.375 GB, free: 6.297 MB / 0.8698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001764/0.5267, allocations: 55.91 kB / 1.375 GB, free: 6.242 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007877/0.5275, allocations: 348.7 kB / 1.375 GB, free: 5.852 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001774/0.5277, allocations: 66.55 kB / 1.375 GB, free: 5.777 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 2.672e-05/0.5278, allocations: 0 / 1.375 GB, free: 5.777 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002465/0.528, allocations: 103.4 kB / 1.375 GB, free: 5.664 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=8): time 2.013e-06/0.528, allocations: 0 / 1.375 GB, free: 5.664 MB / 0.8698 GB Notification: Performance of matching and sorting (n=8): time 0.0006387/0.5287, allocations: 193.5 kB / 1.376 GB, free: 5.469 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.579e-05/0.5287, allocations: 59.39 kB / 1.376 GB, free: 5.398 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001352/0.5289, allocations: 113 kB / 1.376 GB, free: 5.281 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 2.814e-05/0.5289, allocations: 29.7 kB / 1.376 GB, free: 5.246 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001069/0.529, allocations: 100.2 kB / 1.376 GB, free: 5.145 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 2.672e-05/0.5291, allocations: 11.8 kB / 1.376 GB, free: 5.133 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.247e-05/0.5291, allocations: 8 kB / 1.376 GB, free: 5.125 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 0.0001787/0.5293, allocations: 318.8 kB / 1.376 GB, free: 4.805 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001187/0.5294, allocations: 35.98 kB / 1.376 GB, free: 4.77 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001153/0.5295, allocations: 68.2 kB / 1.376 GB, free: 4.688 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000111/0.5296, allocations: 40 kB / 1.376 GB, free: 4.648 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.184e-06/0.5297, allocations: 0 / 1.376 GB, free: 4.648 MB / 0.8698 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.000268/0.5299, allocations: 141.4 kB / 1.377 GB, free: 4.504 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 2.159e-05/0.53, allocations: 4 kB / 1.377 GB, free: 4.5 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.438e-06/0.53, allocations: 4 kB / 1.377 GB, free: 4.496 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.086e-05/0.53, allocations: 3.938 kB / 1.377 GB, free: 4.492 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001196/0.5301, allocations: 20.08 kB / 1.377 GB, free: 4.473 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.495e-05/0.5302, allocations: 7.953 kB / 1.377 GB, free: 4.465 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.599e-05/0.5302, allocations: 8 kB / 1.377 GB, free: 4.457 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.322e-05/0.5303, allocations: 7.984 kB / 1.377 GB, free: 4.449 MB / 0.8698 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 () * Number of clocked 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 0.0001345/0.5304, allocations: 125.7 kB / 1.377 GB, free: 4.316 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.772e-05/0.5304, allocations: 3.906 kB / 1.377 GB, free: 4.312 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.477e-05/0.5305, allocations: 16.38 kB / 1.377 GB, free: 4.297 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.879e-06/0.5305, allocations: 4.031 kB / 1.377 GB, free: 4.293 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.243e-06/0.5305, allocations: 3.938 kB / 1.377 GB, free: 4.289 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.417e-06/0.5305, allocations: 7.938 kB / 1.377 GB, free: 4.281 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006379/0.5312, allocations: 430.4 kB / 1.377 GB, free: 3.805 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.543e-06/0.5312, allocations: 0 / 1.377 GB, free: 3.805 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.877e-05/0.5312, allocations: 8 kB / 1.377 GB, free: 3.797 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.513e-06/0.5312, allocations: 3.984 kB / 1.377 GB, free: 3.793 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.817e-05/0.5313, allocations: 4 kB / 1.377 GB, free: 3.789 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.835e-06/0.5313, allocations: 3.953 kB / 1.377 GB, free: 3.785 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.102e-06/0.5313, allocations: 0 / 1.377 GB, free: 3.785 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004236/0.5317, allocations: 247.4 kB / 1.377 GB, free: 3.527 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 5.185e-05/0.5318, allocations: 89 kB / 1.377 GB, free: 3.422 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.743e-05/0.5318, allocations: 4 kB / 1.377 GB, free: 3.418 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001102/0.5319, allocations: 4 kB / 1.377 GB, free: 3.414 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.593e-05/0.532, allocations: 11.94 kB / 1.377 GB, free: 3.402 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.818e-05/0.532, allocations: 7.984 kB / 1.377 GB, free: 3.395 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 5.931e-05/0.5321, allocations: 99.14 kB / 1.378 GB, free: 3.301 MB / 0.8698 GB Notification: Performance of sort global known variables: time 1.683e-06/0.5321, allocations: 8 kB / 1.378 GB, free: 3.293 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.0003883/0.5325, allocations: 47.88 kB / 1.378 GB, free: 3.246 MB / 0.8698 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) * Number of clocked states: 0 () * 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.0005604/0.533, allocations: 173.9 kB / 1.378 GB, free: 3.078 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.0003948/0.5335, allocations: 104.8 kB / 1.378 GB, free: 2.977 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 2.615e-06/0.5335, allocations: 0 / 1.378 GB, free: 2.977 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 0.0001546/0.5336, allocations: 63.88 kB / 1.378 GB, free: 2.914 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002387/0.5339, allocations: 4 kB / 1.378 GB, free: 2.91 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005866/0.5345, allocations: 225.1 kB / 1.378 GB, free: 2.664 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003533/0.5349, allocations: 0.6965 MB / 1.379 GB, free: 1.941 MB / 0.8698 GB Notification: Performance of simCode: alias equations: time 4.452e-05/0.5349, allocations: 8 kB / 1.379 GB, free: 1.934 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.078e-05/0.5349, allocations: 11.44 kB / 1.379 GB, free: 1.922 MB / 0.8698 GB Notification: Performance of SimCode: time 3.11e-07/0.5349, allocations: 0 / 1.379 GB, free: 1.922 MB / 0.8698 GB Notification: Performance of Templates: time 0.005016/0.54, allocations: 1.787 MB / 1.381 GB, free: 144 kB / 0.8698 GB make -j1 -f Buildings_9_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTIn.makefile (rm -f Buildings_9_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTIn.pipe ; mkfifo Buildings_9_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTIn.pipe ; head -c 1048576 < Buildings_9_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTIn.pipe >> ../files/Buildings_9_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTIn.sim & ./Buildings_9_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTIn -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTIn.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTIn_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Occupants_Office_Windows_Validation_Yun2008WindowsTIn.csv","../files/Buildings_9_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTIn.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) "" Variables in the reference:time,win.TIn,win.occ,win.pOpen,win.on Variables in the result:TIn.amplitude,TIn.f,TIn.offset,TIn.phase,TIn.startTime,occ.startTime,occ.startValue,occ.y,time,win.AClose,win.AOpen,win.BClose,win.BOpen,win.TIn,win.occ,win.on,win.pOpen,win.samplePeriod,win.seed,win.t0