Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTOut.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.Haldi2008WindowsTOut,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTOut") translateModel(Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTOut,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTOut") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001053/0.001054, allocations: 103.9 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.001035/0.001035, allocations: 198.9 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.39/1.39, allocations: 205.1 MB / 222.8 MB, free: 4.711 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.00142/0.00142, allocations: 63.94 kB / 0.6716 GB, free: 26.29 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2266/0.228, allocations: 114.6 MB / 0.7835 GB, free: 13.88 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTOut): time 0.002802/0.2309, allocations: 1.558 MB / 0.785 GB, free: 12.3 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.001249/0.2322, allocations: 0.7605 MB / 0.7858 GB, free: 11.53 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.751e-05/0.2322, allocations: 0 / 0.7858 GB, free: 11.53 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 4.23e-05/0.2323, allocations: 7.984 kB / 0.7858 GB, free: 11.52 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 6.831e-05/0.2324, allocations: 11.88 kB / 0.7858 GB, free: 11.51 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.0006151/0.233, allocations: 103.8 kB / 0.7859 GB, free: 11.41 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0001268/0.2331, allocations: 71.78 kB / 0.786 GB, free: 11.34 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001137/0.2332, allocations: 15.97 kB / 0.786 GB, free: 11.32 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 9.871e-05/0.2333, allocations: 35.86 kB / 0.786 GB, free: 11.29 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 7.132e-05/0.2334, allocations: 39.88 kB / 0.7861 GB, free: 11.25 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 1.954e-05/0.2335, allocations: 8 kB / 0.7861 GB, free: 11.24 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002047/0.2337, allocations: 95.86 kB / 0.7862 GB, free: 11.14 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 3.273e-05/0.2337, allocations: 23.91 kB / 0.7862 GB, free: 11.12 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 5.579e-05/0.2338, allocations: 31.86 kB / 0.7862 GB, free: 11.09 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0001893/0.234, allocations: 96.05 kB / 0.7863 GB, free: 11 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 5.3e-06/0.234, allocations: 0 / 0.7863 GB, free: 11 MB / 0.6075 GB Notification: Performance of FrontEnd: time 2.064e-06/0.234, allocations: 4 kB / 0.7863 GB, free: 10.99 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 7.294e-06/0.234, allocations: 0 / 0.7863 GB, free: 10.99 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.0007019/0.2347, allocations: 424.9 kB / 0.7867 GB, free: 10.52 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.059e-05/0.2348, allocations: 12.03 kB / 0.7867 GB, free: 10.51 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.744e-05/0.2348, allocations: 8.844 kB / 0.7867 GB, free: 10.5 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001553/0.235, allocations: 172.2 kB / 0.7869 GB, free: 10.3 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.583e-05/0.235, allocations: 4.375 kB / 0.7869 GB, free: 10.29 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.156e-05/0.235, allocations: 4.375 kB / 0.7869 GB, free: 10.29 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002052/0.2352, allocations: 81.89 kB / 0.787 GB, free: 10.2 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.054e-05/0.2353, allocations: 3.984 kB / 0.787 GB, free: 10.2 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.297e-05/0.2353, allocations: 0 / 0.787 GB, free: 10.2 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.769e-06/0.2353, allocations: 0 / 0.787 GB, free: 10.2 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001242/0.2354, allocations: 35.98 kB / 0.787 GB, free: 10.16 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006586/0.2361, allocations: 320.8 kB / 0.7873 GB, free: 9.801 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001302/0.2362, allocations: 46.5 kB / 0.7874 GB, free: 9.746 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.147e-05/0.2363, allocations: 36.97 kB / 0.7874 GB, free: 9.707 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 2.316e-05/0.2363, allocations: 3.984 kB / 0.7874 GB, free: 9.703 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002185/0.2366, allocations: 79.28 kB / 0.7875 GB, free: 9.613 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=7): time 1.553e-06/0.2366, allocations: 0 / 0.7875 GB, free: 9.613 MB / 0.6075 GB Notification: Performance of matching and sorting (n=7): time 0.0004079/0.237, allocations: 133.6 kB / 0.7876 GB, free: 9.477 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.615e-05/0.2371, allocations: 67.45 kB / 0.7877 GB, free: 9.398 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001133/0.2372, allocations: 121.8 kB / 0.7878 GB, free: 9.27 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 2.38e-05/0.2372, allocations: 29.7 kB / 0.7878 GB, free: 9.234 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 6.124e-05/0.2373, allocations: 92.12 kB / 0.7879 GB, free: 9.141 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 2.062e-05/0.2373, allocations: 15.75 kB / 0.7879 GB, free: 9.125 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.962e-05/0.2374, allocations: 33.64 kB / 0.788 GB, free: 9.086 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001471/0.2375, allocations: 318.8 kB / 0.7883 GB, free: 8.766 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.487e-05/0.2376, allocations: 35.97 kB / 0.7883 GB, free: 8.73 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.662e-05/0.2377, allocations: 43 kB / 0.7883 GB, free: 8.68 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001632/0.2379, allocations: 74.48 kB / 0.7884 GB, free: 8.598 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.504e-06/0.2379, allocations: 0 / 0.7884 GB, free: 8.598 MB / 0.6075 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002333/0.2381, allocations: 117.5 kB / 0.7885 GB, free: 8.477 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.563e-05/0.2381, allocations: 4 kB / 0.7885 GB, free: 8.473 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.929e-06/0.2381, allocations: 0 / 0.7885 GB, free: 8.473 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.703e-05/0.2382, allocations: 4 kB / 0.7885 GB, free: 8.469 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.923e-05/0.2383, allocations: 11.98 kB / 0.7885 GB, free: 8.457 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.093e-06/0.2383, allocations: 0 / 0.7885 GB, free: 8.457 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.553e-05/0.2384, allocations: 4 kB / 0.7885 GB, free: 8.453 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.7e-05/0.2384, allocations: 8 kB / 0.7885 GB, free: 8.445 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.0001168/0.2385, allocations: 129.8 kB / 0.7887 GB, free: 8.309 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.721e-05/0.2385, allocations: 7.906 kB / 0.7887 GB, free: 8.301 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.085e-05/0.2386, allocations: 8.359 kB / 0.7887 GB, free: 8.293 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.583e-06/0.2386, allocations: 0 / 0.7887 GB, free: 8.293 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.17e-06/0.2386, allocations: 4 kB / 0.7887 GB, free: 8.289 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.805e-06/0.2386, allocations: 3.938 kB / 0.7887 GB, free: 8.285 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004787/0.2391, allocations: 382.4 kB / 0.7891 GB, free: 7.855 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.479e-06/0.2391, allocations: 4 kB / 0.7891 GB, free: 7.852 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.006e-05/0.2391, allocations: 7.938 kB / 0.7891 GB, free: 7.844 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.653e-06/0.2391, allocations: 0 / 0.7891 GB, free: 7.844 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.615e-05/0.2392, allocations: 3.984 kB / 0.7891 GB, free: 7.84 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.092e-06/0.2392, allocations: 0 / 0.7891 GB, free: 7.84 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.735e-06/0.2392, allocations: 3.938 kB / 0.7891 GB, free: 7.836 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002913/0.2395, allocations: 211.9 kB / 0.7893 GB, free: 7.613 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 5.291e-05/0.2395, allocations: 85.02 kB / 0.7894 GB, free: 7.512 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.187e-05/0.2396, allocations: 11.92 kB / 0.7894 GB, free: 7.5 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.637e-05/0.2397, allocations: 0 / 0.7894 GB, free: 7.5 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.369e-05/0.2397, allocations: 15.92 kB / 0.7894 GB, free: 7.484 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.036e-05/0.2398, allocations: 4 kB / 0.7894 GB, free: 7.48 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 6.425e-05/0.2398, allocations: 95.42 kB / 0.7895 GB, free: 7.387 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.1e-07/0.2398, allocations: 0 / 0.7895 GB, free: 7.387 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002884/0.2401, allocations: 36 kB / 0.7895 GB, free: 7.352 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.000349/0.2405, allocations: 159.3 kB / 0.7897 GB, free: 7.199 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0002356/0.2407, allocations: 79.83 kB / 0.7897 GB, free: 7.121 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.174e-06/0.2407, allocations: 0 / 0.7897 GB, free: 7.121 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 9.173e-05/0.2408, allocations: 31.98 kB / 0.7898 GB, free: 7.09 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002538/0.2411, allocations: 16.11 kB / 0.7898 GB, free: 7.074 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003999/0.2415, allocations: 216.8 kB / 0.79 GB, free: 6.832 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002426/0.2418, allocations: 0.6923 MB / 0.7907 GB, free: 6.113 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.337e-05/0.2418, allocations: 19.44 kB / 0.7907 GB, free: 6.098 MB / 0.6075 GB Notification: Performance of SimCode: time 2.31e-07/0.2418, allocations: 0 / 0.7907 GB, free: 6.098 MB / 0.6075 GB Notification: Performance of Templates: time 0.003486/0.2453, allocations: 1.615 MB / 0.7923 GB, free: 4.48 MB / 0.6075 GB make -j1 -f Buildings_8_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTOut.makefile (rm -f Buildings_8_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTOut.pipe ; mkfifo Buildings_8_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTOut.pipe ; head -c 1048576 < Buildings_8_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTOut.pipe >> ../files/Buildings_8_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTOut.sim & ./Buildings_8_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTOut -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTOut.pipe 2>&1)