Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTIn.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.Yun2008WindowsTIn,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTIn") translateModel(Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTIn,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTIn") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.521/1.521, allocations: 289.9 MB / 297.4 MB, free: 6.375 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.001024/0.001024, allocations: 184.8 kB / 366.7 MB, free: 1.691 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.303/1.303, allocations: 205.2 MB / 0.626 GB, free: 7.168 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.0007626/0.0007627, allocations: 98.31 kB / 0.74 GB, free: 39.56 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.332e-05/1.335e-05, allocations: 4 kB / 0.8597 GB, free: 13.07 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5512/0.5512, allocations: 116.3 MB / 0.9733 GB, free: 76.35 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1636/0.7148, allocations: 140.6 MB / 1.111 GB, free: 9.637 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002043/0.7151, allocations: 88.53 kB / 1.111 GB, free: 9.551 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.009214/0.7243, allocations: 3.209 MB / 1.114 GB, free: 6.371 MB / 0.7136 GB Notification: Performance of FrontEnd: time 1.202e-06/0.7243, allocations: 0 / 1.114 GB, free: 6.371 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 5.811e-06/0.7243, allocations: 2.188 kB / 1.114 GB, free: 6.371 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.0004585/0.7248, allocations: 447 kB / 1.114 GB, free: 5.879 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 3.321e-05/0.7248, allocations: 12.03 kB / 1.114 GB, free: 5.867 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.892e-05/0.7249, allocations: 15.59 kB / 1.114 GB, free: 5.855 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001232/0.725, allocations: 171 kB / 1.114 GB, free: 5.648 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.427e-05/0.725, allocations: 0 / 1.114 GB, free: 5.648 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.784e-05/0.7251, allocations: 4 kB / 1.114 GB, free: 5.645 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 8.549e-05/0.7252, allocations: 31.98 kB / 1.114 GB, free: 5.613 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001205/0.7253, allocations: 73.59 kB / 1.114 GB, free: 5.535 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.644e-06/0.7253, allocations: 0 / 1.114 GB, free: 5.535 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.312e-05/0.7253, allocations: 0 / 1.114 GB, free: 5.535 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.717e-06/0.7253, allocations: 2.719 kB / 1.114 GB, free: 5.535 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006503/0.726, allocations: 328.5 kB / 1.115 GB, free: 5.18 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 8.695e-05/0.7261, allocations: 46.67 kB / 1.115 GB, free: 5.125 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.348e-05/0.7261, allocations: 42.09 kB / 1.115 GB, free: 5.082 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 2.222e-05/0.7262, allocations: 4 kB / 1.115 GB, free: 5.078 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001232/0.7263, allocations: 76.66 kB / 1.115 GB, free: 4.992 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=8): time 1.282e-06/0.7263, allocations: 0 / 1.115 GB, free: 4.992 MB / 0.7136 GB Notification: Performance of matching and sorting (n=8): time 0.0002856/0.7266, allocations: 126.6 kB / 1.115 GB, free: 4.863 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.957e-05/0.7266, allocations: 55.41 kB / 1.115 GB, free: 4.797 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.984e-05/0.7267, allocations: 116.2 kB / 1.115 GB, free: 4.68 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 2.085e-05/0.7268, allocations: 25.7 kB / 1.115 GB, free: 4.648 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 4.525e-05/0.7268, allocations: 84.8 kB / 1.115 GB, free: 4.562 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 2.153e-05/0.7268, allocations: 23.7 kB / 1.115 GB, free: 4.539 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.812e-06/0.7268, allocations: 1.656 kB / 1.115 GB, free: 4.539 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 9.77e-05/0.727, allocations: 322.8 kB / 1.116 GB, free: 4.215 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.348e-05/0.727, allocations: 27.92 kB / 1.116 GB, free: 4.188 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.761e-05/0.7271, allocations: 56.23 kB / 1.116 GB, free: 4.117 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.305e-05/0.7271, allocations: 31.97 kB / 1.116 GB, free: 4.086 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.523e-06/0.7271, allocations: 0 / 1.116 GB, free: 4.086 MB / 0.7136 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001629/0.7273, allocations: 101.5 kB / 1.116 GB, free: 3.98 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.272e-05/0.7273, allocations: 8.094 kB / 1.116 GB, free: 3.973 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.268e-06/0.7273, allocations: 0 / 1.116 GB, free: 3.973 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.459e-05/0.7274, allocations: 7.984 kB / 1.116 GB, free: 3.965 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001129/0.7275, allocations: 15.94 kB / 1.116 GB, free: 3.949 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.638e-06/0.7275, allocations: 3.984 kB / 1.116 GB, free: 3.945 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.949e-05/0.7276, allocations: 8 kB / 1.116 GB, free: 3.938 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.52e-05/0.7276, allocations: 4.812 kB / 1.116 GB, free: 3.934 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.657e-05/0.7277, allocations: 119 kB / 1.116 GB, free: 3.812 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.489e-05/0.7277, allocations: 7.844 kB / 1.116 GB, free: 3.805 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.584e-05/0.7277, allocations: 13.92 kB / 1.116 GB, free: 3.797 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.373e-06/0.7277, allocations: 0 / 1.116 GB, free: 3.797 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.917e-06/0.7277, allocations: 0 / 1.116 GB, free: 3.797 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.956e-06/0.7277, allocations: 0 / 1.116 GB, free: 3.797 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003842/0.7281, allocations: 383 kB / 1.116 GB, free: 3.379 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.034e-06/0.7282, allocations: 3.5 kB / 1.116 GB, free: 3.379 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.431e-05/0.7282, allocations: 7.984 kB / 1.116 GB, free: 3.371 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.054e-06/0.7282, allocations: 4 kB / 1.116 GB, free: 3.367 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.235e-05/0.7282, allocations: 4 kB / 1.116 GB, free: 3.363 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.213e-06/0.7282, allocations: 0 / 1.116 GB, free: 3.363 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.986e-06/0.7282, allocations: 0 / 1.116 GB, free: 3.363 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002312/0.7285, allocations: 228.6 kB / 1.117 GB, free: 3.125 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 3.134e-05/0.7285, allocations: 81.02 kB / 1.117 GB, free: 3.027 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.428e-05/0.7285, allocations: 4 kB / 1.117 GB, free: 3.023 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001175/0.7287, allocations: 17.95 kB / 1.117 GB, free: 3.008 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.204e-05/0.7287, allocations: 0 / 1.117 GB, free: 3.008 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.156e-05/0.7287, allocations: 7.984 kB / 1.117 GB, free: 3 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 4.046e-05/0.7288, allocations: 92.91 kB / 1.117 GB, free: 2.91 MB / 0.7136 GB Notification: Performance of sort global known variables: time 1.41e-07/0.7288, allocations: 0 / 1.117 GB, free: 2.91 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0002888/0.7291, allocations: 51.92 kB / 1.117 GB, free: 2.859 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.0003282/0.7294, allocations: 177.9 kB / 1.117 GB, free: 2.691 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0001365/0.7296, allocations: 63.98 kB / 1.117 GB, free: 2.629 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 1.402e-06/0.7296, allocations: 0 / 1.117 GB, free: 2.629 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 6.518e-05/0.7296, allocations: 46.11 kB / 1.117 GB, free: 2.586 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001805/0.7298, allocations: 14.47 kB / 1.117 GB, free: 2.574 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002745/0.7301, allocations: 116.4 kB / 1.117 GB, free: 2.438 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002283/0.7303, allocations: 0.6931 MB / 1.118 GB, free: 1.719 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 4.593e-05/0.7304, allocations: 11.77 kB / 1.118 GB, free: 1.707 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.679e-05/0.7304, allocations: 11.44 kB / 1.118 GB, free: 1.695 MB / 0.7136 GB Notification: Performance of SimCode: time 2.8e-07/0.7304, allocations: 0 / 1.118 GB, free: 1.695 MB / 0.7136 GB Notification: Performance of Templates: time 0.003758/0.7342, allocations: 1.756 MB / 1.12 GB, free: 15.98 MB / 0.7292 GB make -j1 -f Buildings_8_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTIn.makefile (rm -f Buildings_8_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTIn.pipe ; mkfifo Buildings_8_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTIn.pipe ; head -c 1048576 < Buildings_8_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTIn.pipe >> ../files/Buildings_8_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTIn.sim & ./Buildings_8_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTIn -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTIn.pipe 2>&1)