Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsSouth.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.Zhang2012WindowsSouth,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsSouth") translateModel(Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsSouth,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsSouth") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001005/0.001005, allocations: 105.6 kB / 15.99 MB, free: 6.348 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.001011/0.001011, allocations: 195.6 kB / 16.91 MB, free: 6.188 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.303/1.303, allocations: 205.1 MB / 222.8 MB, free: 4.695 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.682/1.682, allocations: 292.3 MB / 0.5492 GB, free: 13.61 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.001369/0.001369, allocations: 66.02 kB / 0.6716 GB, free: 26.52 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2031/0.2045, allocations: 114.6 MB / 0.7835 GB, free: 13.89 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsSouth): time 0.002769/0.2073, allocations: 1.554 MB / 0.785 GB, free: 12.32 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.001287/0.2086, allocations: 0.7683 MB / 0.7858 GB, free: 11.54 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.626e-05/0.2086, allocations: 0 / 0.7858 GB, free: 11.54 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 4.043e-05/0.2087, allocations: 3.938 kB / 0.7858 GB, free: 11.54 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 5.947e-05/0.2088, allocations: 7.938 kB / 0.7858 GB, free: 11.53 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.0005802/0.2094, allocations: 103.8 kB / 0.7859 GB, free: 11.43 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.000111/0.2095, allocations: 79.83 kB / 0.786 GB, free: 11.35 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 9.034e-05/0.2096, allocations: 12 kB / 0.786 GB, free: 11.34 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 9.336e-05/0.2097, allocations: 35.84 kB / 0.786 GB, free: 11.3 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 5.958e-05/0.2098, allocations: 35.89 kB / 0.7861 GB, free: 11.27 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 1.857e-05/0.2098, allocations: 4 kB / 0.7861 GB, free: 11.27 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002039/0.21, allocations: 99.84 kB / 0.7862 GB, free: 11.17 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 3.044e-05/0.21, allocations: 23.91 kB / 0.7862 GB, free: 11.14 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 4.576e-05/0.2101, allocations: 31.86 kB / 0.7862 GB, free: 11.11 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.000184/0.2103, allocations: 100 kB / 0.7863 GB, free: 11.02 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 3.437e-06/0.2103, allocations: 7.938 kB / 0.7863 GB, free: 11.01 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.834e-06/0.2103, allocations: 0 / 0.7863 GB, free: 11.01 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 6.643e-06/0.2103, allocations: 0 / 0.7863 GB, free: 11.01 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.0006247/0.2109, allocations: 416.9 kB / 0.7867 GB, free: 10.55 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.604e-05/0.211, allocations: 12.03 kB / 0.7867 GB, free: 10.54 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.65e-05/0.211, allocations: 8.844 kB / 0.7867 GB, free: 10.53 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001172/0.2112, allocations: 180.2 kB / 0.7869 GB, free: 10.31 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.379e-05/0.2112, allocations: 4.375 kB / 0.7869 GB, free: 10.31 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.989e-05/0.2112, allocations: 8.375 kB / 0.7869 GB, free: 10.3 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000185/0.2114, allocations: 69.97 kB / 0.787 GB, free: 10.23 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.067e-06/0.2114, allocations: 4 kB / 0.787 GB, free: 10.22 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.19e-05/0.2114, allocations: 0 / 0.787 GB, free: 10.22 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.334e-06/0.2115, allocations: 0 / 0.787 GB, free: 10.22 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001283/0.2116, allocations: 35.97 kB / 0.787 GB, free: 10.19 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005839/0.2122, allocations: 324.7 kB / 0.7873 GB, free: 9.82 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001269/0.2123, allocations: 46.56 kB / 0.7874 GB, free: 9.766 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.66e-05/0.2124, allocations: 32.97 kB / 0.7874 GB, free: 9.73 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 2.095e-05/0.2125, allocations: 3.984 kB / 0.7874 GB, free: 9.727 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000208/0.2127, allocations: 83.28 kB / 0.7875 GB, free: 9.633 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=7): time 1.483e-06/0.2127, allocations: 0 / 0.7875 GB, free: 9.633 MB / 0.6075 GB Notification: Performance of matching and sorting (n=7): time 0.0003816/0.2131, allocations: 137.6 kB / 0.7876 GB, free: 9.492 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.652e-05/0.2131, allocations: 55.41 kB / 0.7877 GB, free: 9.426 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.74e-05/0.2132, allocations: 121.8 kB / 0.7878 GB, free: 9.297 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 1.802e-05/0.2132, allocations: 25.7 kB / 0.7878 GB, free: 9.266 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 4.919e-05/0.2133, allocations: 100.1 kB / 0.7879 GB, free: 9.164 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 2.236e-05/0.2133, allocations: 15.81 kB / 0.7879 GB, free: 9.148 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.961e-05/0.2134, allocations: 33.64 kB / 0.7879 GB, free: 9.109 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 9.927e-05/0.2135, allocations: 326.8 kB / 0.7883 GB, free: 8.781 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.173e-05/0.2136, allocations: 27.98 kB / 0.7883 GB, free: 8.754 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.61e-05/0.2137, allocations: 42.56 kB / 0.7883 GB, free: 8.703 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001581/0.2138, allocations: 78.48 kB / 0.7884 GB, free: 8.617 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.224e-06/0.2138, allocations: 0 / 0.7884 GB, free: 8.617 MB / 0.6075 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002434/0.2141, allocations: 109.5 kB / 0.7885 GB, free: 8.504 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.507e-05/0.2141, allocations: 4 kB / 0.7885 GB, free: 8.5 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.919e-06/0.2141, allocations: 0 / 0.7885 GB, free: 8.5 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.376e-05/0.2141, allocations: 8.062 kB / 0.7885 GB, free: 8.492 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001029/0.2143, allocations: 15.98 kB / 0.7885 GB, free: 8.477 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.57e-06/0.2143, allocations: 3.938 kB / 0.7885 GB, free: 8.473 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.724e-05/0.2143, allocations: 4 kB / 0.7885 GB, free: 8.469 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.426e-05/0.2144, allocations: 4 kB / 0.7885 GB, free: 8.465 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 9.336e-05/0.2145, allocations: 122.4 kB / 0.7887 GB, free: 8.336 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.794e-05/0.2145, allocations: 7.906 kB / 0.7887 GB, free: 8.328 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.825e-05/0.2145, allocations: 16.31 kB / 0.7887 GB, free: 8.312 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.617e-06/0.2145, allocations: 4 kB / 0.7887 GB, free: 8.309 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.568e-06/0.2145, allocations: 0 / 0.7887 GB, free: 8.309 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.115e-06/0.2145, allocations: 0 / 0.7887 GB, free: 8.309 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004324/0.215, allocations: 386.3 kB / 0.7891 GB, free: 7.875 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.963e-06/0.215, allocations: 0 / 0.7891 GB, free: 7.875 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.294e-05/0.215, allocations: 7.984 kB / 0.7891 GB, free: 7.867 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.815e-06/0.2151, allocations: 0 / 0.7891 GB, free: 7.867 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.113e-05/0.2151, allocations: 0 / 0.7891 GB, free: 7.867 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.194e-06/0.2151, allocations: 4.469 kB / 0.7891 GB, free: 7.863 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.665e-06/0.2151, allocations: 7.938 kB / 0.7891 GB, free: 7.855 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002728/0.2154, allocations: 207.4 kB / 0.7893 GB, free: 7.637 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 3.896e-05/0.2154, allocations: 96.89 kB / 0.7894 GB, free: 7.523 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.084e-05/0.2154, allocations: 4 kB / 0.7894 GB, free: 7.52 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.191e-05/0.2155, allocations: 4 kB / 0.7894 GB, free: 7.516 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.029e-05/0.2156, allocations: 11.92 kB / 0.7894 GB, free: 7.504 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.09e-05/0.2156, allocations: 4 kB / 0.7894 GB, free: 7.5 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 5.715e-05/0.2157, allocations: 95.86 kB / 0.7895 GB, free: 7.406 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.21e-07/0.2157, allocations: 0 / 0.7895 GB, free: 7.406 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0003048/0.216, allocations: 36 kB / 0.7895 GB, free: 7.371 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.0003274/0.2163, allocations: 168.4 kB / 0.7897 GB, free: 7.215 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0002355/0.2166, allocations: 75.89 kB / 0.7897 GB, free: 7.141 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 1.733e-06/0.2166, allocations: 0 / 0.7897 GB, free: 7.141 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 9.683e-05/0.2167, allocations: 35.97 kB / 0.7898 GB, free: 7.105 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002531/0.2169, allocations: 8 kB / 0.7898 GB, free: 7.098 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004018/0.2173, allocations: 222.1 kB / 0.79 GB, free: 6.848 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002362/0.2176, allocations: 0.6885 MB / 0.7907 GB, free: 6.133 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.202e-05/0.2176, allocations: 11.44 kB / 0.7907 GB, free: 6.125 MB / 0.6075 GB Notification: Performance of SimCode: time 2.2e-07/0.2176, allocations: 0 / 0.7907 GB, free: 6.125 MB / 0.6075 GB Notification: Performance of Templates: time 0.00352/0.2212, allocations: 1.62 MB / 0.7923 GB, free: 4.504 MB / 0.6075 GB make -j1 -f Buildings_8_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsSouth.makefile (rm -f Buildings_8_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsSouth.pipe ; mkfifo Buildings_8_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsSouth.pipe ; head -c 1048576 < Buildings_8_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsSouth.pipe >> ../files/Buildings_8_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsSouth.sim & ./Buildings_8_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsSouth -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsSouth.pipe 2>&1)