Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTOut.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.Yun2008WindowsTOut,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTOut") translateModel(Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTOut,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTOut") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001045/0.001045, allocations: 107.2 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.0009949/0.000995, 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.425/1.425, 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.655/1.655, 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.001344/0.001344, allocations: 65.05 kB / 0.6716 GB, free: 26.24 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2191/0.2205, allocations: 114.6 MB / 0.7835 GB, free: 13.89 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTOut): time 0.002749/0.2233, allocations: 1.568 MB / 0.785 GB, free: 12.3 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.001257/0.2245, allocations: 0.7917 MB / 0.7858 GB, free: 11.5 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.799e-05/0.2246, allocations: 0 / 0.7858 GB, free: 11.5 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 3.583e-05/0.2246, allocations: 3.938 kB / 0.7858 GB, free: 11.5 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 6.372e-05/0.2247, allocations: 11.92 kB / 0.7858 GB, free: 11.48 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.0005436/0.2253, allocations: 119.8 kB / 0.7859 GB, free: 11.37 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0001267/0.2254, allocations: 103.7 kB / 0.786 GB, free: 11.27 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 9.319e-05/0.2255, allocations: 15.98 kB / 0.7861 GB, free: 11.25 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 9.085e-05/0.2256, allocations: 39.91 kB / 0.7861 GB, free: 11.21 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 7.229e-05/0.2257, allocations: 55.8 kB / 0.7862 GB, free: 11.16 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 2.024e-05/0.2257, allocations: 8 kB / 0.7862 GB, free: 11.15 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001739/0.2259, allocations: 99.84 kB / 0.7863 GB, free: 11.05 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 2.786e-05/0.2259, allocations: 27.92 kB / 0.7863 GB, free: 11.02 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 5.468e-05/0.226, allocations: 43.83 kB / 0.7863 GB, free: 10.98 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0001745/0.2262, allocations: 120 kB / 0.7864 GB, free: 10.86 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 4.829e-06/0.2262, allocations: 4 kB / 0.7864 GB, free: 10.86 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.292e-06/0.2262, allocations: 0 / 0.7864 GB, free: 10.86 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 5.3e-06/0.2262, allocations: 0 / 0.7864 GB, free: 10.86 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0006534/0.2268, allocations: 458.5 kB / 0.7869 GB, free: 10.35 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.548e-05/0.2269, allocations: 8.031 kB / 0.7869 GB, free: 10.34 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.681e-05/0.2269, allocations: 12.84 kB / 0.7869 GB, free: 10.33 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001214/0.2271, allocations: 168.3 kB / 0.7871 GB, free: 10.13 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.409e-05/0.2271, allocations: 12.31 kB / 0.7871 GB, free: 10.12 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.462e-05/0.2271, allocations: 12.3 kB / 0.7871 GB, free: 10.11 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002263/0.2274, allocations: 89.94 kB / 0.7872 GB, free: 10.01 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.323e-06/0.2274, allocations: 0 / 0.7872 GB, free: 10.01 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.418e-05/0.2274, allocations: 0 / 0.7872 GB, free: 10.01 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.368e-06/0.2274, allocations: 4 kB / 0.7872 GB, free: 10.01 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001595/0.2276, allocations: 51.95 kB / 0.7872 GB, free: 9.957 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007259/0.2283, allocations: 340.6 kB / 0.7875 GB, free: 9.574 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001515/0.2285, allocations: 62.53 kB / 0.7876 GB, free: 9.504 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001205/0.2286, allocations: 48.83 kB / 0.7877 GB, free: 9.453 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 1.903e-05/0.2286, allocations: 0 / 0.7877 GB, free: 9.453 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002242/0.2289, allocations: 91.45 kB / 0.7877 GB, free: 9.352 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=8): time 1.613e-06/0.2289, allocations: 3.938 kB / 0.7877 GB, free: 9.348 MB / 0.6075 GB Notification: Performance of matching and sorting (n=8): time 0.0005166/0.2294, allocations: 181.5 kB / 0.7879 GB, free: 9.164 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.267e-05/0.2294, allocations: 59.39 kB / 0.788 GB, free: 9.094 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001013/0.2295, allocations: 126.5 kB / 0.7881 GB, free: 8.961 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 2.181e-05/0.2296, allocations: 33.69 kB / 0.7881 GB, free: 8.922 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 5.094e-05/0.2296, allocations: 92.3 kB / 0.7882 GB, free: 8.828 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 1.997e-05/0.2297, allocations: 15.8 kB / 0.7882 GB, free: 8.812 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.83e-05/0.2297, allocations: 29.7 kB / 0.7883 GB, free: 8.777 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001255/0.2298, allocations: 330.8 kB / 0.7886 GB, free: 8.445 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.067e-05/0.2299, allocations: 27.98 kB / 0.7886 GB, free: 8.418 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.832e-05/0.23, allocations: 70.95 kB / 0.7887 GB, free: 8.336 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001682/0.2302, allocations: 96.2 kB / 0.7888 GB, free: 8.227 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.053e-06/0.2302, allocations: 0 / 0.7888 GB, free: 8.227 MB / 0.6075 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002331/0.2305, allocations: 125.5 kB / 0.7889 GB, free: 8.098 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.579e-05/0.2305, allocations: 4 kB / 0.7889 GB, free: 8.094 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.38e-06/0.2305, allocations: 7.938 kB / 0.7889 GB, free: 8.086 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.081e-05/0.2305, allocations: 0 / 0.7889 GB, free: 8.086 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001075/0.2306, allocations: 20.02 kB / 0.7889 GB, free: 8.066 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.251e-06/0.2306, allocations: 4 kB / 0.7889 GB, free: 8.062 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.495e-05/0.2307, allocations: 11.92 kB / 0.7889 GB, free: 8.051 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.54e-05/0.2307, allocations: 8 kB / 0.7889 GB, free: 8.043 MB / 0.6075 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 11 (win.curSeed,$PRE.win.curSeed,win.on,$PRE.win.on,occ.y,win.pClose,$PRE.win.pClose,win.pOpen,$PRE.win.pOpen,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 9.214e-05/0.2308, allocations: 122.4 kB / 0.7891 GB, free: 7.914 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.082e-05/0.2309, allocations: 11.84 kB / 0.7891 GB, free: 7.902 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.636e-05/0.2309, allocations: 12.36 kB / 0.7891 GB, free: 7.891 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.956e-06/0.2309, allocations: 7.938 kB / 0.7891 GB, free: 7.883 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.739e-06/0.2309, allocations: 4 kB / 0.7891 GB, free: 7.879 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.935e-06/0.2309, allocations: 0 / 0.7891 GB, free: 7.879 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005342/0.2315, allocations: 422.3 kB / 0.7895 GB, free: 7.41 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.482e-06/0.2315, allocations: 4 kB / 0.7895 GB, free: 7.406 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.567e-05/0.2315, allocations: 0 / 0.7895 GB, free: 7.406 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.506e-06/0.2315, allocations: 7.984 kB / 0.7895 GB, free: 7.398 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.369e-05/0.2315, allocations: 64 / 0.7895 GB, free: 7.398 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.927e-06/0.2316, allocations: 7.938 kB / 0.7895 GB, free: 7.391 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.304e-06/0.2316, allocations: 7.938 kB / 0.7895 GB, free: 7.383 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003631/0.2319, allocations: 239.4 kB / 0.7897 GB, free: 7.133 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 4.968e-05/0.232, allocations: 85 kB / 0.7898 GB, free: 7.031 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.822e-05/0.232, allocations: 15.97 kB / 0.7898 GB, free: 7.016 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001081/0.2321, allocations: 4 kB / 0.7898 GB, free: 7.012 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.22e-05/0.2322, allocations: 11.92 kB / 0.7899 GB, free: 7 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.165e-05/0.2322, allocations: 4 kB / 0.7899 GB, free: 6.996 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 5.216e-05/0.2323, allocations: 99.27 kB / 0.79 GB, free: 6.898 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.21e-07/0.2323, allocations: 0 / 0.79 GB, free: 6.898 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0003076/0.2326, allocations: 43.98 kB / 0.79 GB, free: 6.855 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: 7 (win.sampleTrigger,$whenCondition1,occ.y,win.on,win.pOpen,win.pClose,win.curSeed) * Number of discrete states: 1 (win.on) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 4 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.0003299/0.2329, allocations: 162.8 kB / 0.7902 GB, free: 6.703 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0002952/0.2332, allocations: 91.83 kB / 0.7902 GB, free: 6.613 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.425e-06/0.2332, allocations: 3.938 kB / 0.7902 GB, free: 6.609 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.000132/0.2334, allocations: 47.97 kB / 0.7903 GB, free: 6.562 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002579/0.2336, allocations: 7.984 kB / 0.7903 GB, free: 6.555 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004492/0.2341, allocations: 253.9 kB / 0.7905 GB, free: 6.273 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002572/0.2344, allocations: 0.6912 MB / 0.7912 GB, free: 5.559 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.261e-05/0.2344, allocations: 11.44 kB / 0.7912 GB, free: 5.551 MB / 0.6075 GB Notification: Performance of SimCode: time 2.2e-07/0.2344, allocations: 4 kB / 0.7912 GB, free: 5.547 MB / 0.6075 GB Notification: Performance of Templates: time 0.003489/0.2379, allocations: 1.804 MB / 0.793 GB, free: 3.746 MB / 0.6075 GB make -j1 -f Buildings_8_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTOut.makefile (rm -f Buildings_8_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTOut.pipe ; mkfifo Buildings_8_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTOut.pipe ; head -c 1048576 < Buildings_8_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTOut.pipe >> ../files/Buildings_8_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTOut.sim & ./Buildings_8_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTOut -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTOut.pipe 2>&1)