Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTOut.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: translateModel(Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTOut,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTOut") translateModel(Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTOut,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTOut") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.448/1.448, allocations: 251.5 MB / 267.4 MB, free: 11.1 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001285/0.001285, allocations: 175 kB / 326.5 MB, free: 2.734 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.848/1.848, allocations: 205 MB / 0.5766 GB, free: 21.05 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008308/0.0008309, allocations: 97.64 kB / 0.6804 GB, free: 14.74 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003353/0.0003358, allocations: 12.03 kB / 0.7938 GB, free: 136.6 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2122/0.2125, allocations: 105.4 MB / 0.8967 GB, free: 68.25 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTOut): time 0.001543/0.2141, allocations: 1.227 MB / 0.8979 GB, free: 67.01 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.001135/0.2153, allocations: 0.789 MB / 0.8987 GB, free: 66.21 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.743e-05/0.2153, allocations: 7.938 kB / 0.8987 GB, free: 66.2 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 3.126e-05/0.2154, allocations: 0 / 0.8987 GB, free: 66.2 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 6.251e-05/0.2154, allocations: 11.91 kB / 0.8987 GB, free: 66.19 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004497/0.2159, allocations: 99.77 kB / 0.8988 GB, free: 66.09 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 8.511e-05/0.216, allocations: 75.72 kB / 0.8989 GB, free: 66.02 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 8.196e-05/0.2161, allocations: 12 kB / 0.8989 GB, free: 66.01 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 8.049e-05/0.2162, allocations: 35.89 kB / 0.8989 GB, free: 65.97 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 5.617e-05/0.2162, allocations: 31.84 kB / 0.899 GB, free: 65.94 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 1.579e-05/0.2163, allocations: 0 / 0.899 GB, free: 65.94 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001555/0.2164, allocations: 95.84 kB / 0.8991 GB, free: 65.85 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 2.064e-05/0.2165, allocations: 7.984 kB / 0.8991 GB, free: 65.84 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 3.867e-05/0.2165, allocations: 35.78 kB / 0.8991 GB, free: 65.8 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0001412/0.2166, allocations: 95.83 kB / 0.8992 GB, free: 65.71 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 4.488e-06/0.2167, allocations: 0 / 0.8992 GB, free: 65.71 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.673e-06/0.2167, allocations: 0 / 0.8992 GB, free: 65.71 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 8.977e-06/0.2167, allocations: 4 kB / 0.8992 GB, free: 65.71 MB / 0.6042 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.0005118/0.2172, allocations: 409 kB / 0.8996 GB, free: 65.25 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 3.397e-05/0.2172, allocations: 12.03 kB / 0.8996 GB, free: 65.24 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.987e-05/0.2173, allocations: 4.844 kB / 0.8996 GB, free: 65.24 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.933e-05/0.2174, allocations: 176.3 kB / 0.8998 GB, free: 65.03 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.093e-05/0.2174, allocations: 4.375 kB / 0.8998 GB, free: 65.02 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.65e-05/0.2174, allocations: 4.375 kB / 0.8998 GB, free: 65.02 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001672/0.2176, allocations: 81.91 kB / 0.8999 GB, free: 64.93 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.594e-06/0.2176, allocations: 0 / 0.8999 GB, free: 64.93 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.072e-05/0.2176, allocations: 0 / 0.8999 GB, free: 64.93 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.459e-06/0.2177, allocations: 4 kB / 0.8999 GB, free: 64.93 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001161/0.2178, allocations: 39.97 kB / 0.8999 GB, free: 64.89 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005257/0.2183, allocations: 324.7 kB / 0.9002 GB, free: 64.52 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001109/0.2184, allocations: 54.44 kB / 0.9003 GB, free: 64.46 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.435e-05/0.2185, allocations: 36.97 kB / 0.9003 GB, free: 64.42 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 2.32e-05/0.2185, allocations: 0 / 0.9003 GB, free: 64.42 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001713/0.2187, allocations: 91.34 kB / 0.9004 GB, free: 64.32 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=7): time 1.172e-06/0.2187, allocations: 0 / 0.9004 GB, free: 64.32 MB / 0.6042 GB Notification: Performance of matching and sorting (n=7): time 0.0003447/0.2191, allocations: 141.6 kB / 0.9005 GB, free: 64.18 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.769e-05/0.2191, allocations: 59.34 kB / 0.9006 GB, free: 64.11 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.34e-05/0.2192, allocations: 129.7 kB / 0.9007 GB, free: 63.97 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 1.118e-05/0.2192, allocations: 25.7 kB / 0.9007 GB, free: 63.94 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 3.372e-05/0.2193, allocations: 92.12 kB / 0.9008 GB, free: 63.84 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 1.421e-05/0.2193, allocations: 11.81 kB / 0.9008 GB, free: 63.83 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.609e-05/0.2193, allocations: 21.7 kB / 0.9008 GB, free: 63.8 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 5.406e-05/0.2194, allocations: 326.8 kB / 0.9012 GB, free: 63.48 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.075e-05/0.2195, allocations: 23.98 kB / 0.9012 GB, free: 63.45 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.453e-05/0.2195, allocations: 50.55 kB / 0.9012 GB, free: 63.39 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001352/0.2197, allocations: 94.47 kB / 0.9013 GB, free: 63.29 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.764e-06/0.2197, allocations: 0 / 0.9013 GB, free: 63.29 MB / 0.6042 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001909/0.2199, allocations: 109.9 kB / 0.9014 GB, free: 63.18 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.712e-05/0.2199, allocations: 14.8 kB / 0.9014 GB, free: 63.17 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.731e-06/0.2199, allocations: 4 kB / 0.9014 GB, free: 63.16 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.288e-05/0.2199, allocations: 0 / 0.9014 GB, free: 63.16 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.397e-05/0.22, allocations: 8 kB / 0.9014 GB, free: 63.16 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.622e-06/0.22, allocations: 8.062 kB / 0.9015 GB, free: 63.15 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.071e-05/0.2201, allocations: 15.92 kB / 0.9015 GB, free: 63.13 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.25e-05/0.2201, allocations: 4 kB / 0.9015 GB, free: 63.13 MB / 0.6042 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 6.755e-05/0.2202, allocations: 127.5 kB / 0.9016 GB, free: 63 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.489e-05/0.2202, allocations: 11.84 kB / 0.9016 GB, free: 62.98 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.578e-05/0.2203, allocations: 12.36 kB / 0.9016 GB, free: 62.97 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.763e-06/0.2203, allocations: 0 / 0.9016 GB, free: 62.97 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.917e-06/0.2203, allocations: 0 / 0.9016 GB, free: 62.97 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.867e-06/0.2203, allocations: 4 kB / 0.9016 GB, free: 62.97 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003397/0.2206, allocations: 386.5 kB / 0.902 GB, free: 62.54 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.372e-06/0.2206, allocations: 0 / 0.902 GB, free: 62.54 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.797e-05/0.2207, allocations: 11.94 kB / 0.902 GB, free: 62.52 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.773e-06/0.2207, allocations: 0 / 0.902 GB, free: 62.52 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.213e-05/0.2207, allocations: 11.98 kB / 0.902 GB, free: 62.51 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.342e-06/0.2207, allocations: 0 / 0.902 GB, free: 62.51 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.643e-06/0.2207, allocations: 3.938 kB / 0.902 GB, free: 62.51 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002187/0.2209, allocations: 211.4 kB / 0.9022 GB, free: 62.29 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 1.973e-05/0.221, allocations: 81.02 kB / 0.9023 GB, free: 62.19 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.988e-05/0.221, allocations: 11.98 kB / 0.9023 GB, free: 62.18 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.989e-05/0.2211, allocations: 4 kB / 0.9023 GB, free: 62.17 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.954e-05/0.2211, allocations: 7.922 kB / 0.9023 GB, free: 62.16 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.795e-06/0.2211, allocations: 4 kB / 0.9023 GB, free: 62.16 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 3.157e-05/0.2212, allocations: 91.27 kB / 0.9024 GB, free: 62.07 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.31e-07/0.2212, allocations: 4 kB / 0.9024 GB, free: 62.07 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0002509/0.2214, allocations: 36 kB / 0.9024 GB, free: 62.03 MB / 0.6042 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.0002938/0.2217, allocations: 161 kB / 0.9026 GB, free: 61.88 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0002091/0.222, allocations: 75.95 kB / 0.9027 GB, free: 61.8 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 1.663e-06/0.222, allocations: 0 / 0.9027 GB, free: 61.8 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 8.792e-05/0.2221, allocations: 43.91 kB / 0.9027 GB, free: 61.76 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000243/0.2223, allocations: 20.98 kB / 0.9027 GB, free: 61.74 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003594/0.2227, allocations: 212.9 kB / 0.9029 GB, free: 61.5 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001151/0.2228, allocations: 0.6887 MB / 0.9036 GB, free: 60.79 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.526e-05/0.2228, allocations: 15.44 kB / 0.9036 GB, free: 60.77 MB / 0.6042 GB Notification: Performance of SimCode: time 2.11e-07/0.2228, allocations: 0 / 0.9036 GB, free: 60.77 MB / 0.6042 GB Notification: Performance of Templates: time 0.002748/0.2256, allocations: 1.616 MB / 0.9052 GB, free: 59.16 MB / 0.6042 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTOut.makefile (rm -f Buildings_maint.7.0.x_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTOut.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTOut.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTOut.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTOut.sim & ./Buildings_maint.7.0.x_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTOut -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTOut.pipe 2>&1)