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.001489/0.001489, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001092/0.001092, allocations: 192 kB / 16.25 MB, free: 6.625 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.49/1.49, allocations: 205.1 MB / 222.1 MB, free: 4.695 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.735/1.735, allocations: 292.3 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.001331/0.001331, allocations: 65.72 kB / 0.671 GB, free: 26.43 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2529/0.2542, allocations: 114.5 MB / 0.7829 GB, free: 13.89 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Windows.Validation.Rijal2007WindowsTInTOutTComf): time 0.003005/0.2573, allocations: 1.697 MB / 0.7845 GB, free: 12.18 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.00136/0.2587, allocations: 0.8229 MB / 0.7853 GB, free: 11.35 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.382e-05/0.2587, allocations: 0 / 0.7853 GB, free: 11.35 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 4.215e-05/0.2588, allocations: 3.938 kB / 0.7853 GB, free: 11.34 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 7.703e-05/0.2589, allocations: 23.78 kB / 0.7853 GB, free: 11.32 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.00059/0.2595, allocations: 127.7 kB / 0.7855 GB, free: 11.2 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0001741/0.2596, allocations: 159.5 kB / 0.7856 GB, free: 11.04 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001091/0.2598, allocations: 29.05 kB / 0.7856 GB, free: 11.01 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001184/0.2599, allocations: 63.83 kB / 0.7857 GB, free: 10.95 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001001/0.26, allocations: 71.78 kB / 0.7858 GB, free: 10.88 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 2.538e-05/0.26, allocations: 15.94 kB / 0.7858 GB, free: 10.86 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001785/0.2602, allocations: 103.8 kB / 0.7859 GB, free: 10.76 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 4.477e-05/0.2603, allocations: 39.89 kB / 0.7859 GB, free: 10.72 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 6.899e-05/0.2603, allocations: 63.77 kB / 0.786 GB, free: 10.66 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0002619/0.2606, allocations: 203.7 kB / 0.7862 GB, free: 10.46 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 6.112e-06/0.2606, allocations: 4 kB / 0.7862 GB, free: 10.46 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.733e-06/0.2606, allocations: 3.938 kB / 0.7862 GB, free: 10.45 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 6.522e-06/0.2606, allocations: 0 / 0.7862 GB, free: 10.45 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.0008211/0.2615, allocations: 0.533 MB / 0.7867 GB, free: 9.848 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.812e-05/0.2615, allocations: 8.031 kB / 0.7867 GB, free: 9.84 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.287e-05/0.2616, allocations: 16.75 kB / 0.7867 GB, free: 9.824 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001283/0.2617, allocations: 195.2 kB / 0.7869 GB, free: 9.598 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.682e-05/0.2617, allocations: 4.375 kB / 0.7869 GB, free: 9.594 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.494e-05/0.2618, allocations: 8.375 kB / 0.7869 GB, free: 9.586 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004472/0.2622, allocations: 141.9 kB / 0.7871 GB, free: 9.441 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.357e-06/0.2622, allocations: 0 / 0.7871 GB, free: 9.441 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.823e-05/0.2623, allocations: 0 / 0.7871 GB, free: 9.441 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.294e-06/0.2623, allocations: 8 kB / 0.7871 GB, free: 9.434 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003866/0.2627, allocations: 99.84 kB / 0.7872 GB, free: 9.336 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007931/0.2635, allocations: 388.5 kB / 0.7875 GB, free: 8.906 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003424/0.2638, allocations: 98.5 kB / 0.7876 GB, free: 8.801 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002837/0.2641, allocations: 88.78 kB / 0.7877 GB, free: 8.711 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 2.402e-05/0.2641, allocations: 4 kB / 0.7877 GB, free: 8.707 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004182/0.2646, allocations: 139.2 kB / 0.7879 GB, free: 8.559 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=9): time 1.583e-06/0.2646, allocations: 0 / 0.7879 GB, free: 8.559 MB / 0.6075 GB Notification: Performance of matching and sorting (n=9): time 0.001059/0.2656, allocations: 309.2 kB / 0.7881 GB, free: 8.25 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.659e-05/0.2657, allocations: 55.39 kB / 0.7882 GB, free: 8.184 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001102/0.2658, allocations: 142.5 kB / 0.7883 GB, free: 8.035 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 2.083e-05/0.2658, allocations: 25.7 kB / 0.7884 GB, free: 8.004 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 6.547e-05/0.2659, allocations: 108.5 kB / 0.7885 GB, free: 7.895 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 2.607e-05/0.2659, allocations: 27.64 kB / 0.7885 GB, free: 7.867 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.446e-05/0.266, allocations: 33.7 kB / 0.7885 GB, free: 7.828 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001247/0.2661, allocations: 326.8 kB / 0.7888 GB, free: 7.5 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001338/0.2663, allocations: 39.97 kB / 0.7889 GB, free: 7.461 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001549/0.2664, allocations: 81.5 kB / 0.789 GB, free: 7.363 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002763/0.2667, allocations: 121 kB / 0.7891 GB, free: 7.227 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.228e-06/0.2667, allocations: 4 kB / 0.7891 GB, free: 7.223 MB / 0.6075 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0003444/0.2671, allocations: 165.2 kB / 0.7892 GB, free: 7.055 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.594e-05/0.2671, allocations: 7.938 kB / 0.7892 GB, free: 7.047 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.414e-06/0.2671, allocations: 4 kB / 0.7892 GB, free: 7.043 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.977e-05/0.2672, allocations: 0 / 0.7892 GB, free: 7.043 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001504/0.2673, allocations: 19.98 kB / 0.7893 GB, free: 7.023 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.705e-06/0.2673, allocations: 8.109 kB / 0.7893 GB, free: 7.016 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001053/0.2674, allocations: 12 kB / 0.7893 GB, free: 7.004 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.748e-05/0.2675, allocations: 7.984 kB / 0.7893 GB, free: 6.996 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.0001008/0.2676, allocations: 130.4 kB / 0.7894 GB, free: 6.859 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.48e-05/0.2676, allocations: 7.906 kB / 0.7894 GB, free: 6.852 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.592e-05/0.2676, allocations: 12.72 kB / 0.7894 GB, free: 6.832 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.975e-06/0.2677, allocations: 112 / 0.7894 GB, free: 6.832 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.687e-06/0.2677, allocations: 7.938 kB / 0.7894 GB, free: 6.824 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.947e-06/0.2677, allocations: 3.984 kB / 0.7894 GB, free: 6.82 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000935/0.2686, allocations: 0.5255 MB / 0.79 GB, free: 6.238 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.523e-06/0.2686, allocations: 0 / 0.79 GB, free: 6.238 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.107e-05/0.2687, allocations: 11.98 kB / 0.79 GB, free: 6.227 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.689e-06/0.2687, allocations: 4 kB / 0.79 GB, free: 6.223 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.871e-05/0.2687, allocations: 3.984 kB / 0.79 GB, free: 6.219 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.705e-06/0.2688, allocations: 3.938 kB / 0.79 GB, free: 6.215 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.264e-06/0.2688, allocations: 3.984 kB / 0.79 GB, free: 6.211 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007058/0.2695, allocations: 327.2 kB / 0.7903 GB, free: 5.875 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 4.553e-05/0.2695, allocations: 85.02 kB / 0.7904 GB, free: 5.773 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.244e-05/0.2696, allocations: 4 kB / 0.7904 GB, free: 5.77 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002086/0.2698, allocations: 27.91 kB / 0.7904 GB, free: 5.742 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.331e-05/0.2698, allocations: 11.98 kB / 0.7904 GB, free: 5.73 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.673e-05/0.2699, allocations: 7.984 kB / 0.7904 GB, free: 5.723 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 7.067e-05/0.2699, allocations: 109.4 kB / 0.7905 GB, free: 5.617 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1e-07/0.2699, allocations: 0 / 0.7905 GB, free: 5.617 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0003317/0.2703, allocations: 52.08 kB / 0.7906 GB, free: 5.566 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.0003719/0.2707, allocations: 167.1 kB / 0.7907 GB, free: 5.406 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0005431/0.2712, allocations: 136 kB / 0.7909 GB, free: 5.273 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 3.296e-06/0.2712, allocations: 8 kB / 0.7909 GB, free: 5.266 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0003125/0.2715, allocations: 87.92 kB / 0.791 GB, free: 5.18 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003247/0.2719, allocations: 22.8 kB / 0.791 GB, free: 5.16 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008065/0.2727, allocations: 292.2 kB / 0.7913 GB, free: 4.848 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003904/0.2731, allocations: 0.7041 MB / 0.7919 GB, free: 4.117 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 6.403e-05/0.2732, allocations: 11.64 kB / 0.792 GB, free: 4.105 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.587e-05/0.2732, allocations: 15.61 kB / 0.792 GB, free: 4.094 MB / 0.6075 GB Notification: Performance of SimCode: time 5.43e-06/0.2732, allocations: 0 / 0.792 GB, free: 4.094 MB / 0.6075 GB Notification: Performance of Templates: time 0.005273/0.2785, allocations: 1.928 MB / 0.7939 GB, free: 2.172 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)