Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTIn.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.Haldi2008WindowsTIn,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTIn") translateModel(Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTIn,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTIn") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001619/0.001619, allocations: 99.36 kB / 15.33 MB, free: 0.5078 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.002941/0.002942, allocations: 193.1 kB / 16.25 MB, free: 6.629 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.612/1.612, allocations: 205.1 MB / 222.1 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.777/1.777, allocations: 292.2 MB / 0.5485 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.001341/0.001341, allocations: 64.52 kB / 0.671 GB, free: 26.52 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.248/0.2493, allocations: 114.6 MB / 0.7829 GB, free: 13.9 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTIn): time 0.004165/0.2535, allocations: 1.554 MB / 0.7844 GB, free: 12.32 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.001837/0.2554, allocations: 0.7722 MB / 0.7851 GB, free: 11.54 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001018/0.2555, allocations: 0 / 0.7851 GB, free: 11.54 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 5.732e-05/0.2556, allocations: 0 / 0.7851 GB, free: 11.54 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.0001152/0.2558, allocations: 11.86 kB / 0.7851 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.001201/0.257, allocations: 107.8 kB / 0.7852 GB, free: 11.43 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0002005/0.2572, allocations: 75.83 kB / 0.7853 GB, free: 11.35 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001905/0.2574, allocations: 8 kB / 0.7853 GB, free: 11.34 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001342/0.2576, allocations: 43.83 kB / 0.7854 GB, free: 11.3 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 8.419e-05/0.2577, allocations: 39.84 kB / 0.7854 GB, free: 11.26 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 2.545e-05/0.2577, allocations: 8 kB / 0.7854 GB, free: 11.25 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002648/0.258, allocations: 91.84 kB / 0.7855 GB, free: 11.16 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 3.823e-05/0.258, allocations: 19.92 kB / 0.7855 GB, free: 11.14 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 7.492e-05/0.2581, allocations: 35.84 kB / 0.7855 GB, free: 11.11 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0003217/0.2584, allocations: 139.9 kB / 0.7857 GB, free: 10.97 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 8.095e-06/0.2584, allocations: 4 kB / 0.7857 GB, free: 10.97 MB / 0.6075 GB Notification: Performance of FrontEnd: time 3.386e-06/0.2585, allocations: 0 / 0.7857 GB, free: 10.97 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 8.776e-06/0.2585, allocations: 4 kB / 0.7857 GB, free: 10.96 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.0007833/0.2593, allocations: 409 kB / 0.7861 GB, free: 10.51 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 5.77e-05/0.2593, allocations: 12.03 kB / 0.7861 GB, free: 10.5 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.199e-05/0.2594, allocations: 8.844 kB / 0.7861 GB, free: 10.49 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001746/0.2596, allocations: 184.1 kB / 0.7863 GB, free: 10.27 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.749e-05/0.2596, allocations: 4.375 kB / 0.7863 GB, free: 10.27 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.635e-05/0.2596, allocations: 4.375 kB / 0.7863 GB, free: 10.27 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002337/0.2599, allocations: 77.97 kB / 0.7864 GB, free: 10.18 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.241e-05/0.2599, allocations: 0 / 0.7864 GB, free: 10.18 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.507e-05/0.2599, allocations: 0 / 0.7864 GB, free: 10.18 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.715e-06/0.2599, allocations: 3.984 kB / 0.7864 GB, free: 10.18 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001291/0.2601, allocations: 35.97 kB / 0.7864 GB, free: 10.14 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007709/0.2608, allocations: 316.7 kB / 0.7867 GB, free: 9.785 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001236/0.261, allocations: 54.56 kB / 0.7868 GB, free: 9.723 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.908e-05/0.2611, allocations: 36.95 kB / 0.7868 GB, free: 9.684 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 2.306e-05/0.2611, allocations: 0 / 0.7868 GB, free: 9.684 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002884/0.2614, allocations: 75.28 kB / 0.7869 GB, free: 9.598 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=7): time 1.333e-06/0.2614, allocations: 0 / 0.7869 GB, free: 9.598 MB / 0.6075 GB Notification: Performance of matching and sorting (n=7): time 0.0004351/0.2618, allocations: 141.6 kB / 0.787 GB, free: 9.453 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.523e-05/0.2619, allocations: 55.41 kB / 0.787 GB, free: 9.387 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002572/0.2622, allocations: 125.7 kB / 0.7872 GB, free: 9.254 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 2.709e-05/0.2622, allocations: 33.7 kB / 0.7872 GB, free: 9.215 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001373/0.2624, allocations: 88.2 kB / 0.7873 GB, free: 9.125 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 2.18e-05/0.2624, allocations: 19.75 kB / 0.7873 GB, free: 9.105 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.557e-05/0.2624, allocations: 29.7 kB / 0.7873 GB, free: 9.07 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0002499/0.2627, allocations: 326.8 kB / 0.7876 GB, free: 8.742 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.123e-05/0.2628, allocations: 23.98 kB / 0.7877 GB, free: 8.719 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.999e-05/0.2629, allocations: 55.41 kB / 0.7877 GB, free: 8.652 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001569/0.2631, allocations: 79.36 kB / 0.7878 GB, free: 8.562 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.124e-06/0.2631, allocations: 3.938 kB / 0.7878 GB, free: 8.559 MB / 0.6075 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003518/0.2634, allocations: 121.4 kB / 0.7879 GB, free: 8.434 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 2.46e-05/0.2635, allocations: 4 kB / 0.7879 GB, free: 8.43 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.057e-06/0.2635, allocations: 0 / 0.7879 GB, free: 8.43 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.487e-05/0.2635, allocations: 4 kB / 0.7879 GB, free: 8.426 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001202/0.2636, allocations: 15.92 kB / 0.7879 GB, free: 8.41 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.843e-06/0.2636, allocations: 4.062 kB / 0.7879 GB, free: 8.406 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.263e-05/0.2637, allocations: 8 kB / 0.7879 GB, free: 8.398 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.398e-05/0.2638, allocations: 4 kB / 0.788 GB, free: 8.395 MB / 0.6075 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 9 (win.curSeed,$PRE.win.curSeed,occ.y,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 9.123e-05/0.2638, allocations: 121.7 kB / 0.7881 GB, free: 8.266 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.708e-05/0.2639, allocations: 11.89 kB / 0.7881 GB, free: 8.254 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.807e-05/0.2639, allocations: 12.38 kB / 0.7881 GB, free: 8.242 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.643e-06/0.2639, allocations: 0 / 0.7881 GB, free: 8.242 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.438e-06/0.2639, allocations: 0 / 0.7881 GB, free: 8.242 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.737e-06/0.2639, allocations: 4 kB / 0.7881 GB, free: 8.238 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004572/0.2644, allocations: 378.4 kB / 0.7885 GB, free: 7.812 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.463e-06/0.2644, allocations: 0 / 0.7885 GB, free: 7.812 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.938e-05/0.2644, allocations: 7.938 kB / 0.7885 GB, free: 7.805 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.114e-06/0.2645, allocations: 0 / 0.7885 GB, free: 7.805 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.623e-05/0.2645, allocations: 11.98 kB / 0.7885 GB, free: 7.793 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.026e-06/0.2645, allocations: 4.062 kB / 0.7885 GB, free: 7.789 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.395e-06/0.2645, allocations: 3.938 kB / 0.7885 GB, free: 7.785 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000284/0.2648, allocations: 203.8 kB / 0.7887 GB, free: 7.57 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 4.393e-05/0.2648, allocations: 89 kB / 0.7888 GB, free: 7.465 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.028e-05/0.2649, allocations: 0 / 0.7888 GB, free: 7.465 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.854e-05/0.265, allocations: 8 kB / 0.7888 GB, free: 7.457 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.737e-05/0.265, allocations: 11.92 kB / 0.7888 GB, free: 7.445 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.995e-06/0.265, allocations: 0 / 0.7888 GB, free: 7.445 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 4.733e-05/0.2651, allocations: 91.27 kB / 0.7889 GB, free: 7.355 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.1e-07/0.2651, allocations: 4 kB / 0.7889 GB, free: 7.352 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.000303/0.2654, allocations: 40 kB / 0.7889 GB, free: 7.312 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,occ.y,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.0003573/0.2658, allocations: 175.1 kB / 0.7891 GB, free: 7.148 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0002414/0.266, allocations: 71.95 kB / 0.7891 GB, free: 7.078 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.164e-06/0.266, allocations: 0 / 0.7891 GB, free: 7.078 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 9.641e-05/0.2661, allocations: 35.98 kB / 0.7892 GB, free: 7.043 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002757/0.2664, allocations: 7.984 kB / 0.7892 GB, free: 7.035 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004827/0.2669, allocations: 204.4 kB / 0.7894 GB, free: 6.809 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000379/0.2673, allocations: 0.6923 MB / 0.7901 GB, free: 6.09 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 3.804e-05/0.2673, allocations: 4 kB / 0.7901 GB, free: 6.086 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.926e-05/0.2674, allocations: 15.42 kB / 0.7901 GB, free: 6.074 MB / 0.6075 GB Notification: Performance of SimCode: time 2.31e-07/0.2674, allocations: 0 / 0.7901 GB, free: 6.074 MB / 0.6075 GB Notification: Performance of Templates: time 0.004096/0.2715, allocations: 1.402 MB / 0.7914 GB, free: 4.68 MB / 0.6075 GB make -j1 -f Buildings_8_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTIn.makefile (rm -f Buildings_8_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTIn.pipe ; mkfifo Buildings_8_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTIn.pipe ; head -c 1048576 < Buildings_8_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTIn.pipe >> ../files/Buildings_8_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTIn.sim & ./Buildings_8_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTIn -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTIn.pipe 2>&1)