Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsSmall.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.Herkel2008WindowsSmall,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsSmall") translateModel(Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsSmall,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsSmall") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001061/0.001062, allocations: 105.6 kB / 15.99 MB, free: 5.891 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.001055/0.001055, allocations: 193 kB / 16.91 MB, free: 5.746 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.371/1.371, 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.663/1.663, 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.001316/0.001316, allocations: 61.48 kB / 0.6716 GB, free: 26.3 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2303/0.2317, allocations: 114.6 MB / 0.7835 GB, free: 13.87 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsSmall): time 0.003091/0.2348, allocations: 1.569 MB / 0.785 GB, free: 12.28 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.001435/0.2363, allocations: 0.7644 MB / 0.7858 GB, free: 11.51 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.528e-05/0.2363, allocations: 0 / 0.7858 GB, free: 11.51 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 3.474e-05/0.2364, allocations: 0 / 0.7858 GB, free: 11.51 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 6.243e-05/0.2365, allocations: 15.88 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.0005593/0.237, allocations: 103.8 kB / 0.7859 GB, free: 11.39 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0001149/0.2371, allocations: 75.83 kB / 0.786 GB, free: 11.32 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001052/0.2373, allocations: 11.98 kB / 0.786 GB, free: 11.3 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 8.887e-05/0.2374, allocations: 31.86 kB / 0.786 GB, free: 11.27 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 6.658e-05/0.2374, allocations: 43.88 kB / 0.7861 GB, free: 11.23 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 1.821e-05/0.2375, allocations: 8 kB / 0.7861 GB, free: 11.22 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001762/0.2376, allocations: 95.84 kB / 0.7862 GB, free: 11.13 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 2.775e-05/0.2377, allocations: 19.92 kB / 0.7862 GB, free: 11.11 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 5.784e-05/0.2377, allocations: 31.86 kB / 0.7862 GB, free: 11.08 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0001664/0.2379, allocations: 100 kB / 0.7863 GB, free: 10.98 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 3.637e-06/0.2379, allocations: 0 / 0.7863 GB, free: 10.98 MB / 0.6075 GB Notification: Performance of FrontEnd: time 3.487e-06/0.2379, allocations: 0 / 0.7863 GB, free: 10.98 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 8.506e-06/0.2379, allocations: 3.938 kB / 0.7863 GB, free: 10.98 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.000668/0.2386, allocations: 421 kB / 0.7867 GB, free: 10.51 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.516e-05/0.2387, allocations: 12.03 kB / 0.7867 GB, free: 10.5 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.638e-05/0.2387, allocations: 8.844 kB / 0.7867 GB, free: 10.49 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001365/0.2388, allocations: 172.2 kB / 0.7869 GB, free: 10.29 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.709e-05/0.2389, allocations: 4.359 kB / 0.7869 GB, free: 10.28 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.691e-05/0.2389, allocations: 8.312 kB / 0.7869 GB, free: 10.27 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001828/0.2391, allocations: 73.97 kB / 0.787 GB, free: 10.2 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.316e-06/0.2391, allocations: 0 / 0.787 GB, free: 10.2 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.257e-05/0.2391, allocations: 3.938 kB / 0.787 GB, free: 10.19 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.428e-06/0.2391, allocations: 0 / 0.787 GB, free: 10.19 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001324/0.2393, allocations: 43.97 kB / 0.787 GB, free: 10.15 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006163/0.2399, allocations: 312.8 kB / 0.7873 GB, free: 9.793 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001377/0.24, allocations: 46.5 kB / 0.7874 GB, free: 9.738 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.044e-05/0.2401, allocations: 36.97 kB / 0.7874 GB, free: 9.699 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 2.137e-05/0.2402, allocations: 3.984 kB / 0.7874 GB, free: 9.695 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002391/0.2404, allocations: 83.28 kB / 0.7875 GB, free: 9.602 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=7): time 1.472e-06/0.2404, allocations: 0 / 0.7875 GB, free: 9.602 MB / 0.6075 GB Notification: Performance of matching and sorting (n=7): time 0.0003997/0.2408, allocations: 141.6 kB / 0.7876 GB, free: 9.457 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.999e-05/0.2409, allocations: 55.41 kB / 0.7877 GB, free: 9.391 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.403e-05/0.241, allocations: 125.8 kB / 0.7878 GB, free: 9.258 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 1.873e-05/0.241, allocations: 25.7 kB / 0.7878 GB, free: 9.227 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 6.946e-05/0.2411, allocations: 92.12 kB / 0.7879 GB, free: 9.133 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 1.936e-05/0.2411, allocations: 19.69 kB / 0.7879 GB, free: 9.113 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.952e-05/0.2412, allocations: 33.7 kB / 0.7879 GB, free: 9.074 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001168/0.2413, allocations: 322.8 kB / 0.7883 GB, free: 8.75 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.747e-05/0.2414, allocations: 23.98 kB / 0.7883 GB, free: 8.727 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.853e-05/0.2415, allocations: 46.56 kB / 0.7883 GB, free: 8.672 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001469/0.2416, allocations: 78.78 kB / 0.7884 GB, free: 8.586 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.974e-06/0.2416, allocations: 0 / 0.7884 GB, free: 8.586 MB / 0.6075 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002308/0.2419, allocations: 117.5 kB / 0.7885 GB, free: 8.465 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.644e-05/0.2419, allocations: 4 kB / 0.7885 GB, free: 8.461 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.12e-06/0.2419, allocations: 0 / 0.7885 GB, free: 8.461 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.293e-05/0.2419, allocations: 4 kB / 0.7885 GB, free: 8.457 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.605e-05/0.242, allocations: 11.98 kB / 0.7885 GB, free: 8.445 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.931e-06/0.242, allocations: 0 / 0.7885 GB, free: 8.445 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.556e-05/0.2421, allocations: 8 kB / 0.7885 GB, free: 8.438 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.361e-05/0.2421, allocations: 4 kB / 0.7885 GB, free: 8.434 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 9.491e-05/0.2422, allocations: 130.4 kB / 0.7887 GB, free: 8.297 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.888e-05/0.2423, allocations: 11.91 kB / 0.7887 GB, free: 8.285 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.598e-05/0.2423, allocations: 8.375 kB / 0.7887 GB, free: 8.277 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.965e-06/0.2423, allocations: 4 kB / 0.7887 GB, free: 8.273 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.519e-06/0.2423, allocations: 0 / 0.7887 GB, free: 8.273 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.005e-06/0.2423, allocations: 0 / 0.7887 GB, free: 8.273 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000442/0.2428, allocations: 382.3 kB / 0.7891 GB, free: 7.844 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.543e-06/0.2428, allocations: 0 / 0.7891 GB, free: 7.844 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.99e-05/0.2428, allocations: 11.98 kB / 0.7891 GB, free: 7.832 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.673e-06/0.2428, allocations: 0 / 0.7891 GB, free: 7.832 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.269e-05/0.2428, allocations: 4 kB / 0.7891 GB, free: 7.828 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.795e-06/0.2429, allocations: 4 kB / 0.7891 GB, free: 7.824 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.176e-05/0.2429, allocations: 3.938 kB / 0.7891 GB, free: 7.82 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002644/0.2431, allocations: 215.3 kB / 0.7893 GB, free: 7.594 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 4.697e-05/0.2432, allocations: 85.02 kB / 0.7894 GB, free: 7.492 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.932e-05/0.2432, allocations: 4 kB / 0.7894 GB, free: 7.488 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.968e-05/0.2433, allocations: 8 kB / 0.7894 GB, free: 7.48 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.7e-05/0.2434, allocations: 7.922 kB / 0.7894 GB, free: 7.473 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.047e-06/0.2434, allocations: 4 kB / 0.7894 GB, free: 7.469 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 5.262e-05/0.2434, allocations: 95.86 kB / 0.7895 GB, free: 7.375 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.3e-07/0.2434, allocations: 3.938 kB / 0.7895 GB, free: 7.371 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002966/0.2437, allocations: 36 kB / 0.7895 GB, free: 7.336 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.0003347/0.2441, allocations: 162.8 kB / 0.7897 GB, free: 7.184 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0002287/0.2443, allocations: 68.14 kB / 0.7897 GB, free: 7.117 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 1.924e-06/0.2443, allocations: 0 / 0.7897 GB, free: 7.117 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0001037/0.2444, allocations: 40.12 kB / 0.7898 GB, free: 7.078 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002512/0.2447, allocations: 8.141 kB / 0.7898 GB, free: 7.07 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004243/0.2451, allocations: 230.1 kB / 0.79 GB, free: 6.812 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002843/0.2454, allocations: 0.6846 MB / 0.7907 GB, free: 6.102 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.081e-05/0.2455, allocations: 15.38 kB / 0.7907 GB, free: 6.09 MB / 0.6075 GB Notification: Performance of SimCode: time 2.4e-07/0.2455, allocations: 4 kB / 0.7907 GB, free: 6.086 MB / 0.6075 GB Notification: Performance of Templates: time 0.003336/0.2488, allocations: 1.613 MB / 0.7923 GB, free: 4.473 MB / 0.6075 GB make -j1 -f Buildings_8_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsSmall.makefile (rm -f Buildings_8_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsSmall.pipe ; mkfifo Buildings_8_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsSmall.pipe ; head -c 1048576 < Buildings_8_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsSmall.pipe >> ../files/Buildings_8_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsSmall.sim & ./Buildings_8_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsSmall -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsSmall.pipe 2>&1)