Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Occupants.Office.Windows.Validation.Rijal2007WindowsTInTOutTComf.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.Rijal2007WindowsTInTOutTComf,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Occupants.Office.Windows.Validation.Rijal2007WindowsTInTOutTComf") translateModel(Buildings.Occupants.Office.Windows.Validation.Rijal2007WindowsTInTOutTComf,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Occupants.Office.Windows.Validation.Rijal2007WindowsTInTOutTComf") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001534/0.001534, 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.00176/0.00176, allocations: 191 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.456/1.456, allocations: 205.1 MB / 222.8 MB, free: 4.688 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.692/1.692, 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.001397/0.001397, allocations: 70.88 kB / 0.6717 GB, free: 26.43 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2137/0.2152, allocations: 114.5 MB / 0.7835 GB, free: 13.93 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Windows.Validation.Rijal2007WindowsTInTOutTComf): time 0.002747/0.2179, allocations: 1.694 MB / 0.7852 GB, free: 12.21 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.001308/0.2193, allocations: 0.8268 MB / 0.786 GB, free: 11.38 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.475e-05/0.2193, allocations: 0 / 0.786 GB, free: 11.38 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 4.282e-05/0.2194, allocations: 3.938 kB / 0.786 GB, free: 11.38 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 6.629e-05/0.2195, allocations: 23.78 kB / 0.786 GB, free: 11.35 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.0005309/0.22, allocations: 131.7 kB / 0.7861 GB, free: 11.22 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.000161/0.2202, allocations: 155.5 kB / 0.7863 GB, free: 11.07 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001002/0.2203, allocations: 25.03 kB / 0.7863 GB, free: 11.05 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001034/0.2204, allocations: 59.84 kB / 0.7864 GB, free: 10.99 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 9.562e-05/0.2205, allocations: 79.77 kB / 0.7864 GB, free: 10.91 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 2.615e-05/0.2205, allocations: 15.94 kB / 0.7864 GB, free: 10.89 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001719/0.2207, allocations: 107.8 kB / 0.7865 GB, free: 10.79 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 3.471e-05/0.2207, allocations: 35.91 kB / 0.7866 GB, free: 10.75 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 6.437e-05/0.2208, allocations: 63.75 kB / 0.7866 GB, free: 10.69 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0002009/0.221, allocations: 147.9 kB / 0.7868 GB, free: 10.55 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 3.767e-06/0.221, allocations: 0 / 0.7868 GB, free: 10.55 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.192e-06/0.221, allocations: 0 / 0.7868 GB, free: 10.55 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 4.789e-06/0.221, allocations: 0 / 0.7868 GB, free: 10.55 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: 12 * Number of variables: 12 Notification: Performance of Generate backend data structure: time 0.0007514/0.2218, allocations: 0.5408 MB / 0.7873 GB, free: 9.934 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.295e-05/0.2218, allocations: 8.031 kB / 0.7873 GB, free: 9.926 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.173e-05/0.2219, allocations: 12.75 kB / 0.7873 GB, free: 9.914 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001199/0.222, allocations: 187.2 kB / 0.7875 GB, free: 9.695 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.371e-05/0.2221, allocations: 8.312 kB / 0.7875 GB, free: 9.688 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.882e-05/0.2221, allocations: 12.31 kB / 0.7875 GB, free: 9.676 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004329/0.2225, allocations: 137.9 kB / 0.7877 GB, free: 9.535 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.554e-06/0.2225, allocations: 0 / 0.7877 GB, free: 9.535 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.626e-05/0.2226, allocations: 11.98 kB / 0.7877 GB, free: 9.523 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.128e-06/0.2226, allocations: 3.938 kB / 0.7877 GB, free: 9.52 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003773/0.223, allocations: 95.91 kB / 0.7878 GB, free: 9.426 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007567/0.2237, allocations: 388.5 kB / 0.7881 GB, free: 8.996 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003369/0.2241, allocations: 102.5 kB / 0.7882 GB, free: 8.887 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002899/0.2244, allocations: 84.78 kB / 0.7883 GB, free: 8.801 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 2.47e-05/0.2244, allocations: 0 / 0.7883 GB, free: 8.801 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004519/0.2249, allocations: 139.3 kB / 0.7884 GB, free: 8.652 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=9): time 4.097e-06/0.2249, allocations: 0 / 0.7884 GB, free: 8.652 MB / 0.6075 GB Notification: Performance of matching and sorting (n=9): time 0.001087/0.226, allocations: 309.2 kB / 0.7887 GB, free: 8.344 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.839e-05/0.226, allocations: 63.33 kB / 0.7888 GB, free: 8.27 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001203/0.2262, allocations: 142.5 kB / 0.7889 GB, free: 8.121 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 2.007e-05/0.2262, allocations: 29.7 kB / 0.789 GB, free: 8.086 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 7.324e-05/0.2263, allocations: 104.5 kB / 0.7891 GB, free: 7.98 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 3.014e-05/0.2263, allocations: 27.64 kB / 0.7891 GB, free: 7.953 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.686e-05/0.2264, allocations: 29.7 kB / 0.7891 GB, free: 7.918 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.000134/0.2265, allocations: 322.8 kB / 0.7894 GB, free: 7.594 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001413/0.2267, allocations: 43.95 kB / 0.7895 GB, free: 7.551 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001471/0.2268, allocations: 81.12 kB / 0.7896 GB, free: 7.453 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00026/0.2271, allocations: 125 kB / 0.7897 GB, free: 7.312 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.234e-06/0.2271, allocations: 0 / 0.7897 GB, free: 7.312 MB / 0.6075 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0003385/0.2275, allocations: 157.3 kB / 0.7898 GB, free: 7.152 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.908e-05/0.2275, allocations: 8 kB / 0.7898 GB, free: 7.145 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.109e-06/0.2275, allocations: 0 / 0.7898 GB, free: 7.145 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.419e-05/0.2275, allocations: 8.5 kB / 0.7898 GB, free: 7.137 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000147/0.2277, allocations: 20.02 kB / 0.7899 GB, free: 7.117 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.708e-06/0.2277, allocations: 4 kB / 0.7899 GB, free: 7.113 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001083/0.2278, allocations: 15.98 kB / 0.7899 GB, free: 7.098 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.677e-05/0.2278, allocations: 11.92 kB / 0.7899 GB, free: 7.086 MB / 0.6075 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 9 (win.curSeed,$PRE.win.curSeed,win.on,$PRE.win.on,win.occ,win.p,$PRE.win.p,win.sampleTrigger,$whenCondition1) * Number of discrete states: 0 () * Number of clocked 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001037/0.2279, allocations: 126.5 kB / 0.79 GB, free: 6.953 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.667e-05/0.228, allocations: 11.84 kB / 0.79 GB, free: 6.941 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.652e-05/0.228, allocations: 20.72 kB / 0.79 GB, free: 6.914 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.315e-06/0.228, allocations: 0 / 0.79 GB, free: 6.914 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.072e-06/0.228, allocations: 4 kB / 0.79 GB, free: 6.91 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.986e-06/0.228, allocations: 0 / 0.79 GB, free: 6.91 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009504/0.229, allocations: 0.5255 MB / 0.7906 GB, free: 6.328 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.944e-06/0.229, allocations: 0 / 0.7906 GB, free: 6.328 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.142e-05/0.2291, allocations: 11.98 kB / 0.7906 GB, free: 6.316 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.245e-06/0.2291, allocations: 0 / 0.7906 GB, free: 6.316 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.016e-05/0.2291, allocations: 7.984 kB / 0.7906 GB, free: 6.309 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.799e-06/0.2291, allocations: 7.938 kB / 0.7906 GB, free: 6.301 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.513e-06/0.2291, allocations: 0 / 0.7906 GB, free: 6.301 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007146/0.2299, allocations: 323.2 kB / 0.7909 GB, free: 5.969 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 4.75e-05/0.2299, allocations: 85.02 kB / 0.791 GB, free: 5.867 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.323e-05/0.23, allocations: 4 kB / 0.791 GB, free: 5.863 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002161/0.2302, allocations: 27.91 kB / 0.791 GB, free: 5.836 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.924e-05/0.2302, allocations: 7.984 kB / 0.791 GB, free: 5.828 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.799e-05/0.2303, allocations: 7.984 kB / 0.791 GB, free: 5.82 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 7.106e-05/0.2303, allocations: 109.5 kB / 0.7911 GB, free: 5.715 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.2e-07/0.2303, allocations: 0 / 0.7911 GB, free: 5.715 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0003309/0.2307, allocations: 51.89 kB / 0.7912 GB, free: 5.664 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: 1 (win.on) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (9): * Single equations (assignments): 6 * 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.0003832/0.2311, allocations: 173.4 kB / 0.7913 GB, free: 5.504 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0005123/0.2316, allocations: 143.8 kB / 0.7915 GB, free: 5.363 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.214e-06/0.2316, allocations: 0 / 0.7915 GB, free: 5.363 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0003216/0.2319, allocations: 91.86 kB / 0.7916 GB, free: 5.273 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000281/0.2322, allocations: 7.984 kB / 0.7916 GB, free: 5.266 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006894/0.2329, allocations: 334.1 kB / 0.7919 GB, free: 4.906 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002503/0.2332, allocations: 0.7001 MB / 0.7926 GB, free: 4.18 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.85e-05/0.2332, allocations: 15.44 kB / 0.7926 GB, free: 4.168 MB / 0.6075 GB Notification: Performance of SimCode: time 2.81e-07/0.2332, allocations: 0 / 0.7926 GB, free: 4.168 MB / 0.6075 GB Notification: Performance of Templates: time 0.003888/0.2371, allocations: 2.143 MB / 0.7947 GB, free: 2.031 MB / 0.6075 GB make -j1 -f Buildings_8_Buildings.Occupants.Office.Windows.Validation.Rijal2007WindowsTInTOutTComf.makefile (rm -f Buildings_8_Buildings.Occupants.Office.Windows.Validation.Rijal2007WindowsTInTOutTComf.pipe ; mkfifo Buildings_8_Buildings.Occupants.Office.Windows.Validation.Rijal2007WindowsTInTOutTComf.pipe ; head -c 1048576 < Buildings_8_Buildings.Occupants.Office.Windows.Validation.Rijal2007WindowsTInTOutTComf.pipe >> ../files/Buildings_8_Buildings.Occupants.Office.Windows.Validation.Rijal2007WindowsTInTOutTComf.sim & ./Buildings_8_Buildings.Occupants.Office.Windows.Validation.Rijal2007WindowsTInTOutTComf -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Occupants.Office.Windows.Validation.Rijal2007WindowsTInTOutTComf.pipe 2>&1)