Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTOut.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.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 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: translateModel(Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTOut,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTOut") translateModel(Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTOut,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTOut") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.577/1.577, allocations: 289.9 MB / 297.4 MB, free: 6.402 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.00105/0.00105, allocations: 180.8 kB / 366.7 MB, free: 1.695 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.33/1.33, allocations: 205.3 MB / 0.626 GB, free: 7.176 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007655/0.0007655, allocations: 92.14 kB / 0.74 GB, free: 39.55 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.688e-05/1.699e-05, allocations: 4 kB / 0.8597 GB, free: 13.08 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5335/0.5335, allocations: 116.3 MB / 0.9733 GB, free: 76.31 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.166/0.6995, allocations: 140.5 MB / 1.11 GB, free: 9.707 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002401/0.6998, allocations: 85.69 kB / 1.111 GB, free: 9.625 MB / 0.7136 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.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.009544/0.7094, allocations: 3.195 MB / 1.114 GB, free: 6.457 MB / 0.7136 GB Notification: Performance of FrontEnd: time 1.864e-06/0.7094, allocations: 0 / 1.114 GB, free: 6.457 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 9.427e-06/0.7094, allocations: 6.5 kB / 1.114 GB, free: 6.453 MB / 0.7136 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.0005292/0.71, allocations: 449.6 kB / 1.114 GB, free: 5.957 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 3.719e-05/0.71, allocations: 12.03 kB / 1.114 GB, free: 5.945 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.291e-05/0.7101, allocations: 8.406 kB / 1.114 GB, free: 5.938 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001197/0.7102, allocations: 172.3 kB / 1.114 GB, free: 5.73 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.265e-05/0.7102, allocations: 0 / 1.114 GB, free: 5.73 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.213e-05/0.7102, allocations: 4 kB / 1.114 GB, free: 5.727 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 9.276e-05/0.7103, allocations: 31.98 kB / 1.114 GB, free: 5.695 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001172/0.7105, allocations: 74.44 kB / 1.114 GB, free: 5.617 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.203e-06/0.7105, allocations: 0 / 1.114 GB, free: 5.617 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.252e-05/0.7105, allocations: 3.875 kB / 1.114 GB, free: 5.617 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.516e-06/0.7105, allocations: 0 / 1.114 GB, free: 5.617 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006544/0.7112, allocations: 321.2 kB / 1.115 GB, free: 5.266 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 8.912e-05/0.7113, allocations: 45.73 kB / 1.115 GB, free: 5.215 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.292e-05/0.7113, allocations: 36.84 kB / 1.115 GB, free: 5.176 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 2.086e-05/0.7114, allocations: 1.125 kB / 1.115 GB, free: 5.176 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001326/0.7115, allocations: 92.7 kB / 1.115 GB, free: 5.074 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=8): time 1.342e-06/0.7115, allocations: 0 / 1.115 GB, free: 5.074 MB / 0.7136 GB Notification: Performance of matching and sorting (n=8): time 0.0002876/0.7118, allocations: 117.6 kB / 1.115 GB, free: 4.953 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.492e-05/0.7118, allocations: 59.38 kB / 1.115 GB, free: 4.887 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.583e-05/0.7119, allocations: 115.1 kB / 1.115 GB, free: 4.77 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 2.325e-05/0.712, allocations: 25.7 kB / 1.115 GB, free: 4.738 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 4.848e-05/0.712, allocations: 88.14 kB / 1.115 GB, free: 4.648 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 2.168e-05/0.712, allocations: 23.7 kB / 1.115 GB, free: 4.625 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.392e-06/0.7121, allocations: 0 / 1.115 GB, free: 4.625 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 9.268e-05/0.7122, allocations: 318.8 kB / 1.116 GB, free: 4.305 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.831e-05/0.7122, allocations: 23.98 kB / 1.116 GB, free: 4.281 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.915e-05/0.7123, allocations: 57.77 kB / 1.116 GB, free: 4.211 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.628e-05/0.7123, allocations: 24.73 kB / 1.116 GB, free: 4.188 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.703e-06/0.7124, allocations: 4 kB / 1.116 GB, free: 4.184 MB / 0.7136 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001604/0.7125, allocations: 105.5 kB / 1.116 GB, free: 4.074 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.46e-05/0.7125, allocations: 8 kB / 1.116 GB, free: 4.066 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.508e-06/0.7126, allocations: 3.094 kB / 1.116 GB, free: 4.066 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.585e-05/0.7126, allocations: 4 kB / 1.116 GB, free: 4.062 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001102/0.7127, allocations: 15.92 kB / 1.116 GB, free: 4.047 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.823e-06/0.7127, allocations: 4 kB / 1.116 GB, free: 4.043 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.576e-05/0.7128, allocations: 13.14 kB / 1.116 GB, free: 4.031 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.421e-05/0.7128, allocations: 4 kB / 1.116 GB, free: 4.027 MB / 0.7136 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 7.394e-05/0.7129, allocations: 108.9 kB / 1.116 GB, free: 3.914 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.735e-05/0.7129, allocations: 7.906 kB / 1.116 GB, free: 3.906 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.549e-05/0.7129, allocations: 12.61 kB / 1.116 GB, free: 3.898 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.068e-06/0.7129, allocations: 8.031 kB / 1.116 GB, free: 3.891 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.677e-06/0.713, allocations: 0 / 1.116 GB, free: 3.891 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.108e-06/0.713, allocations: 0 / 1.116 GB, free: 3.891 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003948/0.7134, allocations: 388.5 kB / 1.116 GB, free: 3.469 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.353e-06/0.7134, allocations: 0 / 1.116 GB, free: 3.469 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.344e-05/0.7134, allocations: 7.25 kB / 1.116 GB, free: 3.465 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.665e-06/0.7134, allocations: 4 kB / 1.116 GB, free: 3.461 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.245e-05/0.7135, allocations: 3.984 kB / 1.116 GB, free: 3.457 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.342e-06/0.7135, allocations: 0 / 1.116 GB, free: 3.457 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.414e-06/0.7135, allocations: 0 / 1.116 GB, free: 3.457 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000247/0.7137, allocations: 231.3 kB / 1.117 GB, free: 3.215 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 3.297e-05/0.7138, allocations: 81.02 kB / 1.117 GB, free: 3.117 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.531e-05/0.7138, allocations: 7.984 kB / 1.117 GB, free: 3.109 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001067/0.7139, allocations: 4 kB / 1.117 GB, free: 3.105 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.895e-05/0.714, allocations: 11.98 kB / 1.117 GB, free: 3.094 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.043e-05/0.714, allocations: 0 / 1.117 GB, free: 3.094 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 5.441e-05/0.714, allocations: 96.77 kB / 1.117 GB, free: 3 MB / 0.7136 GB Notification: Performance of sort global known variables: time 1.31e-07/0.714, allocations: 0 / 1.117 GB, free: 3 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0003247/0.7144, allocations: 51.94 kB / 1.117 GB, free: 2.949 MB / 0.7136 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.0003488/0.7147, allocations: 168.9 kB / 1.117 GB, free: 2.789 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0001515/0.7149, allocations: 67.92 kB / 1.117 GB, free: 2.723 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 2.175e-06/0.7149, allocations: 0 / 1.117 GB, free: 2.723 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 6.684e-05/0.715, allocations: 40.12 kB / 1.117 GB, free: 2.684 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001841/0.7152, allocations: 17.34 kB / 1.117 GB, free: 2.668 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002831/0.7155, allocations: 113.7 kB / 1.117 GB, free: 2.535 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002383/0.7157, allocations: 0.6931 MB / 1.118 GB, free: 1.816 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 4.392e-05/0.7158, allocations: 11.86 kB / 1.118 GB, free: 1.805 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.857e-05/0.7158, allocations: 19.42 kB / 1.118 GB, free: 1.785 MB / 0.7136 GB Notification: Performance of SimCode: time 3.5e-07/0.7158, allocations: 0 / 1.118 GB, free: 1.785 MB / 0.7136 GB Notification: Performance of Templates: time 0.003972/0.7198, allocations: 1.756 MB / 1.12 GB, free: 80 kB / 0.7136 GB make -j1 -f Buildings_8_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTOut.makefile (rm -f Buildings_8_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTOut.pipe ; mkfifo Buildings_8_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTOut.pipe ; head -c 1048576 < Buildings_8_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTOut.pipe >> ../files/Buildings_8_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTOut.sim & ./Buildings_8_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTOut -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTOut.pipe 2>&1)