Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsEast.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) 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) 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 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsEast,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsEast") translateModel(Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsEast,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsEast") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001073/0.001073, allocations: 106.4 kB / 15.99 MB, free: 6.359 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001171/0.001171, allocations: 191.2 kB / 16.91 MB, free: 6.195 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.408/1.408, allocations: 205.1 MB / 222.8 MB, free: 4.691 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.666/1.666, allocations: 292.3 MB / 0.5492 GB, free: 13.64 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001313/0.001313, allocations: 64.23 kB / 0.6716 GB, free: 26.4 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2024/0.2037, allocations: 114.6 MB / 0.7835 GB, free: 13.94 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsEast): time 0.002443/0.2062, allocations: 1.554 MB / 0.785 GB, free: 12.36 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.001111/0.2073, allocations: 0.7683 MB / 0.7858 GB, free: 11.59 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.178e-05/0.2074, allocations: 0 / 0.7858 GB, free: 11.59 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 3.3e-05/0.2074, allocations: 3.938 kB / 0.7858 GB, free: 11.58 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 4.429e-05/0.2075, allocations: 7.938 kB / 0.7858 GB, free: 11.57 MB / 0.6075 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 NFTyping.typeClassSections: time 0.0004451/0.2079, allocations: 111.8 kB / 0.7859 GB, free: 11.46 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 9.784e-05/0.208, allocations: 75.78 kB / 0.786 GB, free: 11.39 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 7.942e-05/0.2081, allocations: 7.984 kB / 0.786 GB, free: 11.38 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 7.66e-05/0.2082, allocations: 39.84 kB / 0.786 GB, free: 11.34 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 5.611e-05/0.2083, allocations: 39.89 kB / 0.7861 GB, free: 11.3 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 1.51e-05/0.2083, allocations: 4 kB / 0.7861 GB, free: 11.3 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001585/0.2084, allocations: 95.86 kB / 0.7861 GB, free: 11.21 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 2.872e-05/0.2085, allocations: 23.91 kB / 0.7862 GB, free: 11.18 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 4e-05/0.2085, allocations: 31.86 kB / 0.7862 GB, free: 11.15 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0001415/0.2087, allocations: 96.05 kB / 0.7863 GB, free: 11.06 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 3.687e-06/0.2087, allocations: 0 / 0.7863 GB, free: 11.06 MB / 0.6075 GB Notification: Performance of FrontEnd: time 2.324e-06/0.2087, allocations: 7.984 kB / 0.7863 GB, free: 11.05 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 5.541e-06/0.2087, allocations: 0 / 0.7863 GB, free: 11.05 MB / 0.6075 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.0005346/0.2092, allocations: 416.9 kB / 0.7867 GB, free: 10.59 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 2.926e-05/0.2093, allocations: 12.03 kB / 0.7867 GB, free: 10.58 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.847e-05/0.2093, allocations: 12.84 kB / 0.7867 GB, free: 10.57 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001055/0.2094, allocations: 176.2 kB / 0.7869 GB, free: 10.36 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.936e-05/0.2095, allocations: 384 / 0.7869 GB, free: 10.36 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.686e-05/0.2095, allocations: 8.375 kB / 0.7869 GB, free: 10.35 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001602/0.2096, allocations: 69.97 kB / 0.787 GB, free: 10.27 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.762e-06/0.2097, allocations: 0 / 0.787 GB, free: 10.27 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.074e-05/0.2097, allocations: 0 / 0.787 GB, free: 10.27 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.818e-06/0.2097, allocations: 0 / 0.787 GB, free: 10.27 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001243/0.2098, allocations: 39.91 kB / 0.787 GB, free: 10.23 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005222/0.2103, allocations: 320.8 kB / 0.7873 GB, free: 9.871 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001084/0.2105, allocations: 42.56 kB / 0.7873 GB, free: 9.82 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.461e-05/0.2106, allocations: 40.94 kB / 0.7874 GB, free: 9.777 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 1.763e-05/0.2106, allocations: 4 kB / 0.7874 GB, free: 9.773 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001758/0.2108, allocations: 91.22 kB / 0.7875 GB, free: 9.672 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=7): time 1.363e-06/0.2108, allocations: 3.938 kB / 0.7875 GB, free: 9.668 MB / 0.6075 GB Notification: Performance of matching and sorting (n=7): time 0.0003576/0.2111, allocations: 125.6 kB / 0.7876 GB, free: 9.539 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.862e-05/0.2112, allocations: 63.47 kB / 0.7877 GB, free: 9.465 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.672e-05/0.2113, allocations: 133.7 kB / 0.7878 GB, free: 9.324 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 2.411e-05/0.2113, allocations: 25.7 kB / 0.7878 GB, free: 9.293 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 4.87e-05/0.2114, allocations: 92.14 kB / 0.7879 GB, free: 9.199 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 1.757e-05/0.2114, allocations: 11.75 kB / 0.7879 GB, free: 9.188 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.564e-05/0.2114, allocations: 33.64 kB / 0.7879 GB, free: 9.148 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001101/0.2116, allocations: 326.8 kB / 0.7883 GB, free: 8.82 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.184e-05/0.2116, allocations: 27.92 kB / 0.7883 GB, free: 8.793 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.158e-05/0.2117, allocations: 46.56 kB / 0.7883 GB, free: 8.738 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001455/0.2119, allocations: 78.84 kB / 0.7884 GB, free: 8.652 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.562e-06/0.2119, allocations: 0 / 0.7884 GB, free: 8.652 MB / 0.6075 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.000213/0.2121, allocations: 109.5 kB / 0.7885 GB, free: 8.539 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.234e-05/0.2121, allocations: 8.062 kB / 0.7885 GB, free: 8.531 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.17e-06/0.2121, allocations: 0 / 0.7885 GB, free: 8.531 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.121e-05/0.2121, allocations: 7.938 kB / 0.7885 GB, free: 8.523 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.916e-05/0.2122, allocations: 11.98 kB / 0.7885 GB, free: 8.512 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.24e-06/0.2122, allocations: 0 / 0.7885 GB, free: 8.512 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.369e-05/0.2123, allocations: 8 kB / 0.7885 GB, free: 8.504 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.413e-05/0.2123, allocations: 7.984 kB / 0.7886 GB, free: 8.496 MB / 0.6075 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 (win.occ,win.curSeed,$PRE.win.curSeed,win.p,$PRE.win.p,win.on,$PRE.win.on,win.sampleTrigger,$whenCondition1) * Number of discrete states: 0 () * Number of clocked 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.732e-05/0.2124, allocations: 118.4 kB / 0.7887 GB, free: 8.371 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.633e-05/0.2125, allocations: 11.91 kB / 0.7887 GB, free: 8.359 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.445e-05/0.2125, allocations: 8.375 kB / 0.7887 GB, free: 8.352 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.245e-06/0.2125, allocations: 0 / 0.7887 GB, free: 8.352 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.396e-06/0.2125, allocations: 4 kB / 0.7887 GB, free: 8.348 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.747e-06/0.2125, allocations: 0 / 0.7887 GB, free: 8.348 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004047/0.2129, allocations: 382.3 kB / 0.7891 GB, free: 7.918 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.573e-06/0.2129, allocations: 0 / 0.7891 GB, free: 7.918 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.829e-05/0.213, allocations: 11.98 kB / 0.7891 GB, free: 7.906 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.653e-06/0.213, allocations: 4 kB / 0.7891 GB, free: 7.902 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.015e-05/0.213, allocations: 0 / 0.7891 GB, free: 7.902 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.573e-06/0.213, allocations: 0 / 0.7891 GB, free: 7.902 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.675e-06/0.213, allocations: 3.938 kB / 0.7891 GB, free: 7.898 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002516/0.2133, allocations: 215.3 kB / 0.7893 GB, free: 7.672 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 3.198e-05/0.2133, allocations: 84.95 kB / 0.7894 GB, free: 7.57 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.745e-05/0.2133, allocations: 4 kB / 0.7894 GB, free: 7.566 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.657e-05/0.2134, allocations: 8 kB / 0.7894 GB, free: 7.559 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.384e-05/0.2135, allocations: 11.92 kB / 0.7894 GB, free: 7.547 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.408e-06/0.2135, allocations: 4 kB / 0.7894 GB, free: 7.543 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 4.266e-05/0.2135, allocations: 91.27 kB / 0.7895 GB, free: 7.453 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.2e-07/0.2135, allocations: 0 / 0.7895 GB, free: 7.453 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002826/0.2138, allocations: 43.92 kB / 0.7895 GB, free: 7.41 MB / 0.6075 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,win.occ,win.on,win.p,win.curSeed) * Number of discrete states: 0 () * Number of clocked 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002888/0.2141, allocations: 164.8 kB / 0.7897 GB, free: 7.258 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0002244/0.2144, allocations: 71.91 kB / 0.7897 GB, free: 7.188 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 1.714e-06/0.2144, allocations: 0 / 0.7897 GB, free: 7.188 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 8.89e-05/0.2145, allocations: 40.3 kB / 0.7898 GB, free: 7.148 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002342/0.2147, allocations: 8.094 kB / 0.7898 GB, free: 7.141 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000374/0.2151, allocations: 230.1 kB / 0.79 GB, free: 6.883 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002342/0.2153, allocations: 0.6846 MB / 0.7907 GB, free: 6.172 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.967e-05/0.2154, allocations: 15.42 kB / 0.7907 GB, free: 6.16 MB / 0.6075 GB Notification: Performance of SimCode: time 2.51e-07/0.2154, allocations: 0 / 0.7907 GB, free: 6.16 MB / 0.6075 GB Notification: Performance of Templates: time 0.002991/0.2184, allocations: 1.614 MB / 0.7923 GB, free: 4.547 MB / 0.6075 GB make -j1 -f Buildings_8_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsEast.makefile (rm -f Buildings_8_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsEast.pipe ; mkfifo Buildings_8_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsEast.pipe ; head -c 1048576 < Buildings_8_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsEast.pipe >> ../files/Buildings_8_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsEast.sim & ./Buildings_8_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsEast -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsEast.pipe 2>&1)