Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsTiltedOpen.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.Herkel2008WindowsTiltedOpen,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsTiltedOpen") translateModel(Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsTiltedOpen,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsTiltedOpen") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001446/0.001446, 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.001782/0.001782, allocations: 191.8 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.478/1.478, allocations: 205.1 MB / 222.1 MB, free: 4.715 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.717/1.717, allocations: 292.2 MB / 0.5485 GB, free: 13.68 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.001553/0.001552, allocations: 67.22 kB / 0.671 GB, free: 26.5 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3254/0.3269, allocations: 114.5 MB / 0.7829 GB, free: 13.94 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsTiltedOpen): time 0.00442/0.3315, allocations: 1.55 MB / 0.7844 GB, free: 12.37 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.001994/0.3335, allocations: 0.7722 MB / 0.7851 GB, free: 11.59 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.122e-05/0.3336, allocations: 3.938 kB / 0.7851 GB, free: 11.59 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 4.799e-05/0.3336, allocations: 0 / 0.7851 GB, free: 11.59 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 8.39e-05/0.3338, allocations: 3.938 kB / 0.7851 GB, free: 11.58 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.0007566/0.3345, allocations: 119.8 kB / 0.7852 GB, free: 11.46 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0001881/0.3347, allocations: 71.78 kB / 0.7853 GB, free: 11.39 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001363/0.3349, allocations: 11.94 kB / 0.7853 GB, free: 11.38 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001381/0.335, allocations: 39.89 kB / 0.7854 GB, free: 11.34 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 7.254e-05/0.3351, allocations: 31.91 kB / 0.7854 GB, free: 11.31 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 1.908e-05/0.3351, allocations: 4 kB / 0.7854 GB, free: 11.31 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002251/0.3354, allocations: 99.84 kB / 0.7855 GB, free: 11.21 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 4.616e-05/0.3354, allocations: 23.91 kB / 0.7855 GB, free: 11.19 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 8.226e-05/0.3355, allocations: 31.86 kB / 0.7855 GB, free: 11.16 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0002754/0.3358, allocations: 135.9 kB / 0.7857 GB, free: 11.02 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 9.137e-06/0.3358, allocations: 0 / 0.7857 GB, free: 11.02 MB / 0.6075 GB Notification: Performance of FrontEnd: time 2.615e-06/0.3358, allocations: 0 / 0.7857 GB, free: 11.02 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 8.636e-06/0.3358, allocations: 0 / 0.7857 GB, free: 11.02 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.0008647/0.3367, allocations: 421 kB / 0.7861 GB, free: 10.56 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 5.951e-05/0.3368, allocations: 8.031 kB / 0.7861 GB, free: 10.55 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.86e-05/0.3368, allocations: 8.844 kB / 0.7861 GB, free: 10.54 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001956/0.337, allocations: 176.2 kB / 0.7863 GB, free: 10.33 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.546e-05/0.3371, allocations: 16.36 kB / 0.7863 GB, free: 10.32 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.715e-05/0.3371, allocations: 12.31 kB / 0.7863 GB, free: 10.3 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002161/0.3373, allocations: 69.95 kB / 0.7864 GB, free: 10.23 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.037e-05/0.3374, allocations: 4 kB / 0.7864 GB, free: 10.23 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.487e-05/0.3374, allocations: 0 / 0.7864 GB, free: 10.23 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.951e-06/0.3374, allocations: 0 / 0.7864 GB, free: 10.23 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001271/0.3375, allocations: 35.97 kB / 0.7864 GB, free: 10.19 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007185/0.3382, allocations: 312.8 kB / 0.7867 GB, free: 9.836 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001361/0.3384, allocations: 50.5 kB / 0.7867 GB, free: 9.777 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001164/0.3385, allocations: 32.97 kB / 0.7868 GB, free: 9.742 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 2.962e-05/0.3386, allocations: 0 / 0.7868 GB, free: 9.742 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002603/0.3388, allocations: 83.28 kB / 0.7868 GB, free: 9.648 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=7): time 1.453e-06/0.3388, allocations: 3.938 kB / 0.7869 GB, free: 9.645 MB / 0.6075 GB Notification: Performance of matching and sorting (n=7): time 0.0004401/0.3393, allocations: 141.6 kB / 0.787 GB, free: 9.5 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.844e-05/0.3393, allocations: 59.41 kB / 0.787 GB, free: 9.43 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001097/0.3395, allocations: 121.7 kB / 0.7872 GB, free: 9.301 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 2.311e-05/0.3395, allocations: 29.7 kB / 0.7872 GB, free: 9.266 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 6.053e-05/0.3396, allocations: 92.12 kB / 0.7873 GB, free: 9.172 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 2.21e-05/0.3396, allocations: 19.75 kB / 0.7873 GB, free: 9.152 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.956e-05/0.3396, allocations: 29.7 kB / 0.7873 GB, free: 9.117 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001509/0.3398, allocations: 326.8 kB / 0.7876 GB, free: 8.789 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.37e-05/0.3399, allocations: 19.98 kB / 0.7877 GB, free: 8.77 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.714e-05/0.34, allocations: 50.5 kB / 0.7877 GB, free: 8.711 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001524/0.3401, allocations: 74.48 kB / 0.7878 GB, free: 8.629 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.653e-06/0.3401, allocations: 4 kB / 0.7878 GB, free: 8.625 MB / 0.6075 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002369/0.3404, allocations: 113.5 kB / 0.7879 GB, free: 8.508 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.728e-05/0.3404, allocations: 8 kB / 0.7879 GB, free: 8.5 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.159e-06/0.3404, allocations: 4.062 kB / 0.7879 GB, free: 8.496 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.496e-05/0.3404, allocations: 0 / 0.7879 GB, free: 8.496 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.687e-05/0.3405, allocations: 11.98 kB / 0.7879 GB, free: 8.484 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.472e-06/0.3406, allocations: 4 kB / 0.7879 GB, free: 8.48 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.168e-05/0.3406, allocations: 8 kB / 0.7879 GB, free: 8.473 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.541e-05/0.3407, allocations: 4 kB / 0.7879 GB, free: 8.469 MB / 0.6075 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 9 (win.occ,win.curSeed,$PRE.win.curSeed,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 0.0001222/0.3408, allocations: 125.7 kB / 0.788 GB, free: 8.336 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.71e-05/0.3408, allocations: 7.906 kB / 0.7881 GB, free: 8.328 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.214e-05/0.3408, allocations: 12.38 kB / 0.7881 GB, free: 8.316 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.823e-06/0.3409, allocations: 0 / 0.7881 GB, free: 8.316 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.32e-06/0.3409, allocations: 0 / 0.7881 GB, free: 8.316 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.086e-06/0.3409, allocations: 0 / 0.7881 GB, free: 8.316 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004799/0.3414, allocations: 382.8 kB / 0.7884 GB, free: 7.887 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.373e-06/0.3414, allocations: 0 / 0.7884 GB, free: 7.887 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.631e-05/0.3414, allocations: 4 kB / 0.7884 GB, free: 7.883 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.016e-06/0.3414, allocations: 3.984 kB / 0.7884 GB, free: 7.879 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.249e-05/0.3414, allocations: 8 kB / 0.7884 GB, free: 7.871 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.232e-06/0.3414, allocations: 0 / 0.7884 GB, free: 7.871 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.354e-06/0.3415, allocations: 3.938 kB / 0.7884 GB, free: 7.867 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002912/0.3417, allocations: 215.5 kB / 0.7887 GB, free: 7.641 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 4.667e-05/0.3418, allocations: 85 kB / 0.7887 GB, free: 7.539 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.141e-05/0.3418, allocations: 0 / 0.7887 GB, free: 7.539 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.181e-05/0.3419, allocations: 8 kB / 0.7887 GB, free: 7.531 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.762e-05/0.342, allocations: 19.91 kB / 0.7888 GB, free: 7.512 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.405e-06/0.342, allocations: 0 / 0.7888 GB, free: 7.512 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 6.896e-05/0.3421, allocations: 95.27 kB / 0.7889 GB, free: 7.418 MB / 0.6075 GB Notification: Performance of sort global known variables: time 3.607e-06/0.3421, allocations: 0 / 0.7889 GB, free: 7.418 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002975/0.3424, allocations: 47.81 kB / 0.7889 GB, free: 7.371 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: 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.0004284/0.3428, allocations: 161.3 kB / 0.789 GB, free: 7.223 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0002657/0.3431, allocations: 75.89 kB / 0.7891 GB, free: 7.148 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.795e-06/0.3431, allocations: 0 / 0.7891 GB, free: 7.148 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 9.743e-05/0.3432, allocations: 31.98 kB / 0.7892 GB, free: 7.117 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002764/0.3435, allocations: 7.984 kB / 0.7892 GB, free: 7.109 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005343/0.344, allocations: 208.4 kB / 0.7894 GB, free: 6.879 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005193/0.3446, allocations: 0.6885 MB / 0.79 GB, free: 6.164 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 4.39e-05/0.3446, allocations: 4 kB / 0.79 GB, free: 6.16 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.055e-05/0.3447, allocations: 15.42 kB / 0.79 GB, free: 6.148 MB / 0.6075 GB Notification: Performance of SimCode: time 2e-07/0.3447, allocations: 0 / 0.79 GB, free: 6.148 MB / 0.6075 GB Notification: Performance of Templates: time 0.004651/0.3493, allocations: 1.415 MB / 0.7914 GB, free: 4.738 MB / 0.6075 GB make -j1 -f Buildings_8_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsTiltedOpen.makefile (rm -f Buildings_8_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsTiltedOpen.pipe ; mkfifo Buildings_8_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsTiltedOpen.pipe ; head -c 1048576 < Buildings_8_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsTiltedOpen.pipe >> ../files/Buildings_8_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsTiltedOpen.sim & ./Buildings_8_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsTiltedOpen -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsTiltedOpen.pipe 2>&1)