Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsAll.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.Zhang2012WindowsAll,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsAll") translateModel(Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsAll,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsAll") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001266/0.001266, allocations: 111.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.001307/0.001307, allocations: 189.2 kB / 16.91 MB, free: 6.184 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.436/1.436, allocations: 205.1 MB / 222.8 MB, free: 4.699 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.635/1.635, allocations: 292.3 MB / 0.5492 GB, free: 13.66 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.00132/0.001321, allocations: 64.72 kB / 0.6716 GB, free: 26.21 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2/0.2013, allocations: 114.6 MB / 0.7835 GB, free: 13.9 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsAll): time 0.002474/0.2038, allocations: 1.562 MB / 0.785 GB, free: 12.32 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.001147/0.205, allocations: 0.7605 MB / 0.7858 GB, free: 11.55 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.164e-05/0.2051, allocations: 4 kB / 0.7858 GB, free: 11.54 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 4.118e-05/0.2051, allocations: 7.922 kB / 0.7858 GB, free: 11.54 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 7.179e-05/0.2052, 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.0004668/0.2057, allocations: 103.8 kB / 0.7859 GB, free: 11.43 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 8.947e-05/0.2058, allocations: 71.83 kB / 0.786 GB, free: 11.36 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 8.194e-05/0.2059, allocations: 11.98 kB / 0.786 GB, free: 11.34 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 8.918e-05/0.206, allocations: 39.86 kB / 0.786 GB, free: 11.3 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 5.719e-05/0.206, allocations: 39.88 kB / 0.7861 GB, free: 11.27 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 1.737e-05/0.206, allocations: 4 kB / 0.7861 GB, free: 11.26 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001586/0.2062, allocations: 99.84 kB / 0.7862 GB, free: 11.16 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 2.394e-05/0.2062, allocations: 19.92 kB / 0.7862 GB, free: 11.14 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 4.51e-05/0.2063, allocations: 31.86 kB / 0.7862 GB, free: 11.11 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0001584/0.2065, allocations: 96.05 kB / 0.7863 GB, free: 11.02 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 4.208e-06/0.2065, allocations: 4 kB / 0.7863 GB, free: 11.02 MB / 0.6075 GB Notification: Performance of FrontEnd: time 9.62e-07/0.2065, allocations: 0 / 0.7863 GB, free: 11.02 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 5.931e-06/0.2065, allocations: 0 / 0.7863 GB, free: 11.02 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.0005593/0.2071, allocations: 424.9 kB / 0.7867 GB, free: 10.55 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.25e-05/0.2071, allocations: 12.03 kB / 0.7867 GB, free: 10.54 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.669e-05/0.2071, allocations: 8.844 kB / 0.7867 GB, free: 10.53 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001217/0.2073, allocations: 180.2 kB / 0.7869 GB, free: 10.31 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.261e-05/0.2073, allocations: 384 / 0.7869 GB, free: 10.31 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.638e-05/0.2073, allocations: 4.375 kB / 0.7869 GB, free: 10.31 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001934/0.2075, allocations: 77.95 kB / 0.787 GB, free: 10.23 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.264e-06/0.2076, allocations: 0 / 0.787 GB, free: 10.23 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.271e-05/0.2076, allocations: 7.984 kB / 0.787 GB, free: 10.22 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.958e-06/0.2076, allocations: 0 / 0.787 GB, free: 10.22 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001193/0.2077, allocations: 31.98 kB / 0.787 GB, free: 10.19 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005509/0.2083, allocations: 320.7 kB / 0.7873 GB, free: 9.824 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001121/0.2084, allocations: 50.5 kB / 0.7874 GB, free: 9.766 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.561e-05/0.2085, allocations: 32.97 kB / 0.7874 GB, free: 9.73 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 1.886e-05/0.2085, allocations: 0 / 0.7874 GB, free: 9.73 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002091/0.2087, allocations: 83.28 kB / 0.7875 GB, free: 9.637 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=7): time 1.383e-06/0.2087, allocations: 0 / 0.7875 GB, free: 9.637 MB / 0.6075 GB Notification: Performance of matching and sorting (n=7): time 0.0003531/0.2091, allocations: 137.6 kB / 0.7876 GB, free: 9.496 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.293e-05/0.2091, allocations: 59.39 kB / 0.7877 GB, free: 9.426 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.673e-05/0.2092, allocations: 129.7 kB / 0.7878 GB, free: 9.289 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 1.665e-05/0.2092, allocations: 25.7 kB / 0.7878 GB, free: 9.258 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 5.388e-05/0.2093, allocations: 92.12 kB / 0.7879 GB, free: 9.164 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 1.977e-05/0.2093, allocations: 15.75 kB / 0.7879 GB, free: 9.148 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.658e-05/0.2094, allocations: 33.64 kB / 0.7879 GB, free: 9.109 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001021/0.2095, allocations: 322.8 kB / 0.7883 GB, free: 8.785 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001282/0.2096, allocations: 31.97 kB / 0.7883 GB, free: 8.754 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001015/0.2097, allocations: 42.56 kB / 0.7883 GB, free: 8.703 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001426/0.2099, allocations: 74.48 kB / 0.7884 GB, free: 8.621 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.923e-06/0.2099, allocations: 4 kB / 0.7884 GB, free: 8.617 MB / 0.6075 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002199/0.2101, allocations: 117.5 kB / 0.7885 GB, free: 8.496 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.308e-05/0.2101, allocations: 4 kB / 0.7885 GB, free: 8.492 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.038e-06/0.2102, allocations: 0 / 0.7885 GB, free: 8.492 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.886e-05/0.2102, allocations: 4 kB / 0.7885 GB, free: 8.488 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.041e-05/0.2103, allocations: 8 kB / 0.7885 GB, free: 8.48 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.462e-06/0.2103, allocations: 7.922 kB / 0.7885 GB, free: 8.473 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.33e-05/0.2104, allocations: 8 kB / 0.7885 GB, free: 8.465 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.277e-05/0.2104, allocations: 4.062 kB / 0.7885 GB, free: 8.461 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 7.676e-05/0.2105, allocations: 122.4 kB / 0.7887 GB, free: 8.332 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.607e-05/0.2105, allocations: 7.906 kB / 0.7887 GB, free: 8.324 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.715e-05/0.2105, allocations: 12.36 kB / 0.7887 GB, free: 8.312 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.794e-06/0.2105, allocations: 0 / 0.7887 GB, free: 8.312 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.376e-06/0.2105, allocations: 4 kB / 0.7887 GB, free: 8.309 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.585e-06/0.2105, allocations: 0 / 0.7887 GB, free: 8.309 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004213/0.211, allocations: 382.4 kB / 0.7891 GB, free: 7.879 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.557e-06/0.211, allocations: 4 kB / 0.7891 GB, free: 7.875 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.79e-05/0.211, allocations: 4 kB / 0.7891 GB, free: 7.871 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.994e-06/0.211, allocations: 0 / 0.7891 GB, free: 7.871 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.208e-05/0.211, allocations: 3.984 kB / 0.7891 GB, free: 7.867 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.273e-06/0.211, allocations: 0 / 0.7891 GB, free: 7.867 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.124e-06/0.2111, allocations: 4.406 kB / 0.7891 GB, free: 7.863 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002589/0.2113, allocations: 219.4 kB / 0.7893 GB, free: 7.633 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 4.106e-05/0.2114, allocations: 88.89 kB / 0.7894 GB, free: 7.527 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.954e-05/0.2114, allocations: 7.984 kB / 0.7894 GB, free: 7.52 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.414e-05/0.2115, allocations: 0 / 0.7894 GB, free: 7.52 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.858e-05/0.2115, allocations: 19.86 kB / 0.7894 GB, free: 7.5 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.578e-06/0.2115, allocations: 4 kB / 0.7894 GB, free: 7.496 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 4.458e-05/0.2116, allocations: 91.27 kB / 0.7895 GB, free: 7.406 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.11e-07/0.2116, allocations: 0 / 0.7895 GB, free: 7.406 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0003509/0.212, 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.0003141/0.2123, allocations: 158.8 kB / 0.7897 GB, free: 7.223 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.00022/0.2125, allocations: 75.89 kB / 0.7897 GB, free: 7.148 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 1.643e-06/0.2125, allocations: 0 / 0.7897 GB, free: 7.148 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0001078/0.2126, allocations: 40.11 kB / 0.7898 GB, free: 7.109 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002383/0.2129, allocations: 7.984 kB / 0.7898 GB, free: 7.102 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003771/0.2133, allocations: 225.9 kB / 0.79 GB, free: 6.848 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002324/0.2135, allocations: 0.6924 MB / 0.7907 GB, free: 6.129 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.617e-05/0.2136, allocations: 11.44 kB / 0.7907 GB, free: 6.121 MB / 0.6075 GB Notification: Performance of SimCode: time 2.2e-07/0.2136, allocations: 0 / 0.7907 GB, free: 6.121 MB / 0.6075 GB Notification: Performance of Templates: time 0.003288/0.2168, allocations: 1.613 MB / 0.7923 GB, free: 4.512 MB / 0.6075 GB make -j1 -f Buildings_8_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsAll.makefile (rm -f Buildings_8_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsAll.pipe ; mkfifo Buildings_8_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsAll.pipe ; head -c 1048576 < Buildings_8_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsAll.pipe >> ../files/Buildings_8_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsAll.sim & ./Buildings_8_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsAll -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsAll.pipe 2>&1)