Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTIn.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.Yun2008WindowsTIn,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTIn") translateModel(Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTIn,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTIn") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001379/0.001379, allocations: 102.7 kB / 15.98 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.0015/0.0015, allocations: 194.7 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.437/1.437, allocations: 205.1 MB / 222.8 MB, free: 4.676 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.65/1.65, allocations: 292.3 MB / 0.5492 GB, free: 13.63 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.001565/0.001565, allocations: 68.66 kB / 0.6717 GB, free: 26.24 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2204/0.2219, allocations: 114.5 MB / 0.7835 GB, free: 13.89 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTIn): time 0.002581/0.2245, allocations: 1.57 MB / 0.7851 GB, free: 12.3 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.001234/0.2258, allocations: 0.7917 MB / 0.7858 GB, free: 11.5 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.029e-05/0.2259, allocations: 4 kB / 0.7858 GB, free: 11.5 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 3.524e-05/0.2259, allocations: 3.938 kB / 0.7858 GB, free: 11.49 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 4.691e-05/0.226, allocations: 3.938 kB / 0.7858 GB, free: 11.49 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.0005319/0.2265, allocations: 123.7 kB / 0.786 GB, free: 11.37 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0001142/0.2266, allocations: 107.8 kB / 0.7861 GB, free: 11.26 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 8.427e-05/0.2267, allocations: 11.92 kB / 0.7861 GB, free: 11.25 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 8.381e-05/0.2268, allocations: 43.86 kB / 0.7861 GB, free: 11.21 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 7.974e-05/0.2269, allocations: 55.8 kB / 0.7862 GB, free: 11.15 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 2.278e-05/0.2269, allocations: 12 kB / 0.7862 GB, free: 11.14 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001675/0.2271, allocations: 99.84 kB / 0.7863 GB, free: 11.04 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 3.143e-05/0.2271, allocations: 27.95 kB / 0.7863 GB, free: 11.02 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 5.051e-05/0.2272, allocations: 43.8 kB / 0.7863 GB, free: 10.97 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0001693/0.2274, allocations: 120 kB / 0.7865 GB, free: 10.86 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 4.629e-06/0.2274, allocations: 0 / 0.7865 GB, free: 10.86 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.212e-06/0.2274, allocations: 0 / 0.7865 GB, free: 10.86 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 5.711e-06/0.2274, allocations: 4 kB / 0.7865 GB, free: 10.85 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.0006492/0.2281, allocations: 458.5 kB / 0.7869 GB, free: 10.34 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.186e-05/0.2281, allocations: 8.031 kB / 0.7869 GB, free: 10.34 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.892e-05/0.2282, allocations: 12.83 kB / 0.7869 GB, free: 10.32 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001085/0.2283, allocations: 172.2 kB / 0.7871 GB, free: 10.12 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.502e-05/0.2283, allocations: 12.38 kB / 0.7871 GB, free: 10.11 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.858e-05/0.2283, allocations: 4.375 kB / 0.7871 GB, free: 10.1 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002309/0.2286, allocations: 89.94 kB / 0.7872 GB, free: 10.01 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.076e-06/0.2286, allocations: 0 / 0.7872 GB, free: 10.01 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.672e-05/0.2286, allocations: 4 kB / 0.7872 GB, free: 10 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.657e-06/0.2286, allocations: 0 / 0.7872 GB, free: 10 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001659/0.2288, allocations: 47.95 kB / 0.7872 GB, free: 9.957 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007136/0.2295, allocations: 356.6 kB / 0.7876 GB, free: 9.559 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001705/0.2297, allocations: 58.55 kB / 0.7876 GB, free: 9.492 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001223/0.2298, allocations: 44.84 kB / 0.7877 GB, free: 9.445 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 2.231e-05/0.2298, allocations: 7.984 kB / 0.7877 GB, free: 9.438 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000258/0.2301, allocations: 91.39 kB / 0.7878 GB, free: 9.336 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=8): time 1.483e-06/0.2301, allocations: 0 / 0.7878 GB, free: 9.336 MB / 0.6075 GB Notification: Performance of matching and sorting (n=8): time 0.0005839/0.2307, allocations: 193.6 kB / 0.7879 GB, free: 9.141 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.332e-05/0.2308, allocations: 55.41 kB / 0.788 GB, free: 9.074 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001077/0.2309, allocations: 133.7 kB / 0.7881 GB, free: 8.934 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 1.785e-05/0.2309, allocations: 25.7 kB / 0.7882 GB, free: 8.902 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 5.272e-05/0.231, allocations: 92.14 kB / 0.7882 GB, free: 8.809 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 2.463e-05/0.231, allocations: 19.8 kB / 0.7883 GB, free: 8.789 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.845e-05/0.231, allocations: 29.7 kB / 0.7883 GB, free: 8.754 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001151/0.2312, allocations: 322.8 kB / 0.7886 GB, free: 8.43 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.239e-05/0.2312, allocations: 35.97 kB / 0.7886 GB, free: 8.395 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001119/0.2314, allocations: 64.16 kB / 0.7887 GB, free: 8.316 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001723/0.2315, allocations: 96.2 kB / 0.7888 GB, free: 8.207 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.255e-06/0.2316, allocations: 0 / 0.7888 GB, free: 8.207 MB / 0.6075 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002378/0.2318, allocations: 129.5 kB / 0.7889 GB, free: 8.074 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.44e-05/0.2318, allocations: 4 kB / 0.7889 GB, free: 8.07 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.931e-06/0.2318, allocations: 7.938 kB / 0.7889 GB, free: 8.062 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.189e-05/0.2318, allocations: 0 / 0.7889 GB, free: 8.062 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001056/0.232, allocations: 19.92 kB / 0.7889 GB, free: 8.043 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.561e-06/0.232, allocations: 4.094 kB / 0.7889 GB, free: 8.039 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.705e-05/0.2321, allocations: 12 kB / 0.789 GB, free: 8.027 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.384e-05/0.2321, allocations: 8 kB / 0.789 GB, free: 8.02 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.89e-05/0.2322, allocations: 130.4 kB / 0.7891 GB, free: 7.883 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.997e-05/0.2322, allocations: 7.906 kB / 0.7891 GB, free: 7.875 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.466e-05/0.2322, allocations: 8.375 kB / 0.7891 GB, free: 7.867 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.856e-06/0.2322, allocations: 4 kB / 0.7891 GB, free: 7.863 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.226e-06/0.2322, allocations: 0 / 0.7891 GB, free: 7.863 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.996e-06/0.2323, allocations: 4 kB / 0.7891 GB, free: 7.859 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005982/0.2329, allocations: 430.3 kB / 0.7895 GB, free: 7.383 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.493e-06/0.2329, allocations: 0 / 0.7895 GB, free: 7.383 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.88e-05/0.2329, allocations: 7.938 kB / 0.7895 GB, free: 7.375 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.924e-06/0.2329, allocations: 0 / 0.7895 GB, free: 7.375 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.575e-05/0.2329, allocations: 3.984 kB / 0.7895 GB, free: 7.371 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.322e-06/0.233, allocations: 4 kB / 0.7895 GB, free: 7.367 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.924e-06/0.233, allocations: 7.938 kB / 0.7895 GB, free: 7.359 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003721/0.2333, allocations: 239.8 kB / 0.7898 GB, free: 7.109 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 3.817e-05/0.2334, allocations: 84.95 kB / 0.7898 GB, free: 7.008 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.808e-05/0.2334, allocations: 11.98 kB / 0.7899 GB, free: 6.996 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001121/0.2335, allocations: 4 kB / 0.7899 GB, free: 6.992 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.014e-05/0.2336, allocations: 15.92 kB / 0.7899 GB, free: 6.977 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.011e-05/0.2336, allocations: 0 / 0.7899 GB, free: 6.977 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 8.899e-05/0.2337, allocations: 103 kB / 0.79 GB, free: 6.879 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1e-07/0.2337, allocations: 0 / 0.79 GB, free: 6.879 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002977/0.234, allocations: 43.98 kB / 0.79 GB, free: 6.836 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.0003511/0.2344, allocations: 170.8 kB / 0.7902 GB, free: 6.676 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0002933/0.2347, allocations: 99.86 kB / 0.7903 GB, free: 6.578 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 1.793e-06/0.2347, allocations: 3.938 kB / 0.7903 GB, free: 6.574 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0001403/0.2348, allocations: 43.98 kB / 0.7903 GB, free: 6.531 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002592/0.2351, allocations: 11.98 kB / 0.7903 GB, free: 6.52 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005227/0.2356, allocations: 246 kB / 0.7906 GB, free: 6.246 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002998/0.2359, allocations: 0.6912 MB / 0.7912 GB, free: 5.531 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.528e-05/0.236, allocations: 15.42 kB / 0.7913 GB, free: 5.52 MB / 0.6075 GB Notification: Performance of SimCode: time 4.41e-07/0.236, allocations: 4 kB / 0.7913 GB, free: 5.516 MB / 0.6075 GB Notification: Performance of Templates: time 0.00353/0.2395, allocations: 1.81 MB / 0.793 GB, free: 3.711 MB / 0.6075 GB make -j1 -f Buildings_8_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTIn.makefile (rm -f Buildings_8_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTIn.pipe ; mkfifo Buildings_8_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTIn.pipe ; head -c 1048576 < Buildings_8_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTIn.pipe >> ../files/Buildings_8_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTIn.sim & ./Buildings_8_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTIn -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTIn.pipe 2>&1)