Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsWest.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.Zhang2012WindowsWest,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsWest") translateModel(Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsWest,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsWest") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001524/0.001524, allocations: 111.9 kB / 15.99 MB, free: 6.773 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.001536/0.001537, allocations: 198.4 kB / 16.91 MB, free: 6.527 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.313/1.313, allocations: 205.1 MB / 222.8 MB, free: 4.723 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.689/1.689, allocations: 292.3 MB / 0.5492 GB, free: 13.56 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.001328/0.001328, allocations: 65.55 kB / 0.6716 GB, free: 26.23 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2037/0.205, allocations: 114.5 MB / 0.7835 GB, free: 13.88 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsWest): time 0.002448/0.2075, allocations: 1.554 MB / 0.785 GB, free: 12.31 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.001138/0.2087, allocations: 0.7683 MB / 0.7858 GB, free: 11.53 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.296e-05/0.2087, allocations: 0 / 0.7858 GB, free: 11.53 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 3.124e-05/0.2088, allocations: 3.938 kB / 0.7858 GB, free: 11.53 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 4.955e-05/0.2088, allocations: 7.922 kB / 0.7858 GB, free: 11.52 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.0004998/0.2093, allocations: 111.8 kB / 0.7859 GB, free: 11.41 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 9.79e-05/0.2094, allocations: 71.83 kB / 0.786 GB, free: 11.34 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 8.231e-05/0.2095, allocations: 8 kB / 0.786 GB, free: 11.33 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 8.295e-05/0.2096, allocations: 47.78 kB / 0.786 GB, free: 11.29 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 5.566e-05/0.2097, allocations: 31.89 kB / 0.786 GB, free: 11.25 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 1.661e-05/0.2097, allocations: 8 kB / 0.7861 GB, free: 11.25 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001688/0.2099, allocations: 95.91 kB / 0.7861 GB, free: 11.15 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 2.14e-05/0.2099, allocations: 15.92 kB / 0.7862 GB, free: 11.14 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 4.487e-05/0.21, allocations: 35.84 kB / 0.7862 GB, free: 11.1 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0001476/0.2101, allocations: 96.06 kB / 0.7863 GB, free: 11.01 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 3.005e-06/0.2101, allocations: 0 / 0.7863 GB, free: 11.01 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.393e-06/0.2101, allocations: 0 / 0.7863 GB, free: 11.01 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 5.942e-06/0.2101, 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.0005566/0.2107, allocations: 424.9 kB / 0.7867 GB, free: 10.54 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.24e-05/0.2107, allocations: 8.031 kB / 0.7867 GB, free: 10.53 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.89e-05/0.2108, allocations: 8.844 kB / 0.7867 GB, free: 10.52 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001153/0.2109, allocations: 188.1 kB / 0.7869 GB, free: 10.3 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.958e-05/0.2109, allocations: 4.375 kB / 0.7869 GB, free: 10.3 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.922e-05/0.211, allocations: 4.375 kB / 0.7869 GB, free: 10.29 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001754/0.2111, allocations: 73.95 kB / 0.787 GB, free: 10.21 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.663e-06/0.2112, allocations: 4 kB / 0.787 GB, free: 10.21 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.048e-05/0.2112, allocations: 4 kB / 0.787 GB, free: 10.21 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.018e-06/0.2112, allocations: 0 / 0.787 GB, free: 10.21 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000124/0.2113, allocations: 35.97 kB / 0.787 GB, free: 10.17 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005392/0.2119, allocations: 312.7 kB / 0.7873 GB, free: 9.816 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001117/0.212, allocations: 50.56 kB / 0.7874 GB, free: 9.758 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.239e-05/0.2121, allocations: 36.95 kB / 0.7874 GB, free: 9.719 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 1.562e-05/0.2121, allocations: 0 / 0.7874 GB, free: 9.719 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001791/0.2123, allocations: 75.28 kB / 0.7875 GB, free: 9.633 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=7): time 3.727e-06/0.2123, allocations: 0 / 0.7875 GB, free: 9.633 MB / 0.6075 GB Notification: Performance of matching and sorting (n=7): time 0.0003723/0.2127, allocations: 145.6 kB / 0.7876 GB, free: 9.484 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.623e-05/0.2127, allocations: 55.41 kB / 0.7877 GB, free: 9.418 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.964e-05/0.2128, allocations: 125.7 kB / 0.7878 GB, free: 9.285 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 2.416e-05/0.2128, allocations: 33.7 kB / 0.7878 GB, free: 9.246 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 4.386e-05/0.2129, allocations: 84.14 kB / 0.7879 GB, free: 9.16 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 2.1e-05/0.2129, allocations: 23.69 kB / 0.7879 GB, free: 9.137 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.028e-05/0.213, allocations: 33.64 kB / 0.7879 GB, free: 9.098 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001342/0.2131, allocations: 326.8 kB / 0.7883 GB, free: 8.77 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.086e-05/0.2132, allocations: 23.98 kB / 0.7883 GB, free: 8.746 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.711e-05/0.2133, allocations: 46.56 kB / 0.7883 GB, free: 8.691 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001473/0.2134, allocations: 74.48 kB / 0.7884 GB, free: 8.609 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.056e-06/0.2135, allocations: 4 kB / 0.7884 GB, free: 8.605 MB / 0.6075 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002327/0.2137, allocations: 117.5 kB / 0.7885 GB, free: 8.484 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.31e-05/0.2137, allocations: 8 kB / 0.7885 GB, free: 8.477 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.928e-06/0.2137, allocations: 0 / 0.7885 GB, free: 8.477 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.161e-05/0.2137, allocations: 0 / 0.7885 GB, free: 8.477 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.387e-05/0.2138, allocations: 15.92 kB / 0.7885 GB, free: 8.461 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.384e-06/0.2139, allocations: 4 kB / 0.7885 GB, free: 8.457 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.553e-05/0.2139, allocations: 4.062 kB / 0.7885 GB, free: 8.453 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.286e-05/0.2139, allocations: 8 kB / 0.7885 GB, free: 8.445 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.407e-05/0.214, allocations: 129.8 kB / 0.7887 GB, free: 8.309 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.57e-05/0.2141, allocations: 3.906 kB / 0.7887 GB, free: 8.305 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.456e-05/0.2141, allocations: 12.38 kB / 0.7887 GB, free: 8.293 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.613e-06/0.2141, allocations: 0 / 0.7887 GB, free: 8.293 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.326e-06/0.2141, allocations: 0 / 0.7887 GB, free: 8.293 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.525e-06/0.2141, allocations: 0 / 0.7887 GB, free: 8.293 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004125/0.2145, allocations: 386.3 kB / 0.7891 GB, free: 7.859 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.463e-06/0.2145, allocations: 4 kB / 0.7891 GB, free: 7.855 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.976e-05/0.2146, allocations: 3.984 kB / 0.7891 GB, free: 7.852 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.258e-06/0.2146, allocations: 4 kB / 0.7891 GB, free: 7.848 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.009e-05/0.2146, allocations: 0 / 0.7891 GB, free: 7.848 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.242e-06/0.2146, allocations: 0 / 0.7891 GB, free: 7.848 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.104e-06/0.2146, allocations: 3.938 kB / 0.7891 GB, free: 7.844 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002618/0.2149, allocations: 219.8 kB / 0.7893 GB, free: 7.613 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 3.304e-05/0.2149, allocations: 84.95 kB / 0.7894 GB, free: 7.512 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.808e-05/0.215, allocations: 0 / 0.7894 GB, free: 7.512 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.985e-05/0.215, allocations: 4 kB / 0.7894 GB, free: 7.508 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.126e-05/0.2151, allocations: 15.92 kB / 0.7894 GB, free: 7.492 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.186e-06/0.2151, allocations: 0 / 0.7894 GB, free: 7.492 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 4.461e-05/0.2152, allocations: 95.27 kB / 0.7895 GB, free: 7.398 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.5e-07/0.2152, allocations: 0 / 0.7895 GB, free: 7.398 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.000291/0.2155, allocations: 43.98 kB / 0.7895 GB, free: 7.355 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.0003388/0.2158, allocations: 160.6 kB / 0.7897 GB, free: 7.207 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0002343/0.2161, allocations: 67.91 kB / 0.7897 GB, free: 7.141 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 1.823e-06/0.2161, allocations: 0 / 0.7897 GB, free: 7.141 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 9.635e-05/0.2162, allocations: 44.09 kB / 0.7898 GB, free: 7.098 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002484/0.2164, allocations: 8 kB / 0.7898 GB, free: 7.09 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003953/0.2168, allocations: 229.9 kB / 0.79 GB, free: 6.832 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002511/0.2171, allocations: 0.6885 MB / 0.7907 GB, free: 6.117 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.302e-05/0.2171, allocations: 19.42 kB / 0.7907 GB, free: 6.102 MB / 0.6075 GB Notification: Performance of SimCode: time 3.01e-07/0.2171, allocations: 0 / 0.7907 GB, free: 6.102 MB / 0.6075 GB Notification: Performance of Templates: time 0.003051/0.2202, allocations: 1.606 MB / 0.7923 GB, free: 4.496 MB / 0.6075 GB make -j1 -f Buildings_8_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsWest.makefile (rm -f Buildings_8_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsWest.pipe ; mkfifo Buildings_8_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsWest.pipe ; head -c 1048576 < Buildings_8_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsWest.pipe >> ../files/Buildings_8_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsWest.sim & ./Buildings_8_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsWest -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsWest.pipe 2>&1)