Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTIn.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.Haldi2008WindowsTIn,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTIn") translateModel(Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTIn,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTIn") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.577/1.577, allocations: 251.5 MB / 267.4 MB, free: 11.05 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.000993/0.0009932, allocations: 173.2 kB / 326.5 MB, free: 2.691 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.827/1.827, allocations: 205 MB / 0.5766 GB, free: 21.01 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.0008914/0.0008915, allocations: 82.36 kB / 0.6803 GB, free: 14.71 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0004307/0.0004307, allocations: 12.59 kB / 0.7938 GB, free: 136.5 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2178/0.2183, allocations: 105.4 MB / 0.8967 GB, free: 68.17 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTIn): time 0.001727/0.2201, allocations: 1.227 MB / 0.8979 GB, free: 66.93 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.001128/0.2212, allocations: 0.7891 MB / 0.8987 GB, free: 66.13 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.117e-05/0.2213, allocations: 3.938 kB / 0.8987 GB, free: 66.12 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 3.381e-05/0.2213, allocations: 0 / 0.8987 GB, free: 66.12 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 5.825e-05/0.2214, allocations: 15.91 kB / 0.8987 GB, free: 66.11 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004391/0.2218, allocations: 99.77 kB / 0.8988 GB, free: 66.01 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 8.046e-05/0.2219, allocations: 75.72 kB / 0.8989 GB, free: 65.94 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 7.957e-05/0.222, allocations: 11.98 kB / 0.8989 GB, free: 65.93 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 7.65e-05/0.2221, allocations: 31.91 kB / 0.8989 GB, free: 65.89 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 5.903e-05/0.2221, allocations: 35.84 kB / 0.899 GB, free: 65.86 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 1.544e-05/0.2222, allocations: 4 kB / 0.899 GB, free: 65.86 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001495/0.2223, allocations: 87.84 kB / 0.8991 GB, free: 65.77 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 4.2e-05/0.2224, allocations: 11.98 kB / 0.8991 GB, free: 65.76 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 3.851e-05/0.2224, allocations: 35.78 kB / 0.8991 GB, free: 65.72 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0001346/0.2226, allocations: 95.83 kB / 0.8992 GB, free: 65.63 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 4.388e-06/0.2226, allocations: 7.938 kB / 0.8992 GB, free: 65.62 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.242e-06/0.2226, allocations: 0 / 0.8992 GB, free: 65.62 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 4.979e-06/0.2226, allocations: 0 / 0.8992 GB, free: 65.62 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.0004971/0.2231, allocations: 409 kB / 0.8996 GB, free: 65.17 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 3.659e-05/0.2231, allocations: 8.031 kB / 0.8996 GB, free: 65.16 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.012e-05/0.2232, allocations: 8.844 kB / 0.8996 GB, free: 65.15 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.251e-05/0.2233, allocations: 176.3 kB / 0.8998 GB, free: 64.94 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.91e-05/0.2233, allocations: 4.375 kB / 0.8998 GB, free: 64.94 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.874e-05/0.2233, allocations: 8.375 kB / 0.8998 GB, free: 64.93 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001621/0.2235, allocations: 77.91 kB / 0.8999 GB, free: 64.85 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.744e-06/0.2235, allocations: 0 / 0.8999 GB, free: 64.85 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.033e-05/0.2235, allocations: 0 / 0.8999 GB, free: 64.85 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.628e-06/0.2235, allocations: 4 kB / 0.8999 GB, free: 64.84 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001156/0.2237, allocations: 39.97 kB / 0.8999 GB, free: 64.8 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000519/0.2242, allocations: 324.7 kB / 0.9002 GB, free: 64.44 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001136/0.2243, allocations: 46.56 kB / 0.9003 GB, free: 64.38 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.456e-05/0.2244, allocations: 44.89 kB / 0.9003 GB, free: 64.34 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 2.255e-05/0.2244, allocations: 11.98 kB / 0.9003 GB, free: 64.32 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001689/0.2246, allocations: 83.27 kB / 0.9004 GB, free: 64.23 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=7): time 1.423e-06/0.2246, allocations: 0 / 0.9004 GB, free: 64.23 MB / 0.6042 GB Notification: Performance of matching and sorting (n=7): time 0.0003423/0.225, allocations: 149.7 kB / 0.9005 GB, free: 64.08 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.884e-05/0.225, allocations: 51.41 kB / 0.9006 GB, free: 64.02 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.125e-05/0.2251, allocations: 129.7 kB / 0.9007 GB, free: 63.88 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 1.093e-05/0.2251, allocations: 25.7 kB / 0.9007 GB, free: 63.85 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 3.444e-05/0.2251, allocations: 92.14 kB / 0.9008 GB, free: 63.75 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 1.559e-05/0.2251, allocations: 11.81 kB / 0.9008 GB, free: 63.74 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.648e-05/0.2252, allocations: 21.7 kB / 0.9009 GB, free: 63.71 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 4.912e-05/0.2252, allocations: 322.8 kB / 0.9012 GB, free: 63.39 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.466e-05/0.2253, allocations: 35.97 kB / 0.9012 GB, free: 63.36 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.653e-05/0.2254, allocations: 51.42 kB / 0.9012 GB, free: 63.29 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001396/0.2255, allocations: 87.34 kB / 0.9013 GB, free: 63.2 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.943e-06/0.2256, allocations: 0 / 0.9013 GB, free: 63.2 MB / 0.6042 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002071/0.2258, allocations: 117.6 kB / 0.9014 GB, free: 63.07 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.236e-05/0.2258, allocations: 12 kB / 0.9014 GB, free: 63.06 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.46e-06/0.2258, allocations: 4 kB / 0.9015 GB, free: 63.06 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.3e-05/0.2258, allocations: 4 kB / 0.9015 GB, free: 63.05 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.782e-05/0.2259, allocations: 15.92 kB / 0.9015 GB, free: 63.04 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.6e-06/0.2259, allocations: 0 / 0.9015 GB, free: 63.04 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.576e-05/0.226, allocations: 15.92 kB / 0.9015 GB, free: 63.02 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.243e-05/0.226, allocations: 8 kB / 0.9015 GB, free: 63.02 MB / 0.6042 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 9 (win.curSeed,$PRE.win.curSeed,occ.y,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.41e-05/0.2261, allocations: 124.9 kB / 0.9016 GB, free: 62.89 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.425e-05/0.2261, allocations: 11.84 kB / 0.9016 GB, free: 62.88 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.34e-05/0.2261, allocations: 12.31 kB / 0.9016 GB, free: 62.86 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.783e-06/0.2261, allocations: 0 / 0.9016 GB, free: 62.86 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.908e-06/0.2261, allocations: 3.984 kB / 0.9016 GB, free: 62.86 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.046e-06/0.2262, allocations: 0 / 0.9016 GB, free: 62.86 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003464/0.2265, allocations: 390.4 kB / 0.902 GB, free: 62.42 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.613e-06/0.2265, allocations: 0 / 0.902 GB, free: 62.42 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.721e-05/0.2266, allocations: 4 kB / 0.902 GB, free: 62.42 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.823e-06/0.2266, allocations: 0 / 0.902 GB, free: 62.42 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.083e-05/0.2266, allocations: 4 kB / 0.902 GB, free: 62.41 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.213e-06/0.2266, allocations: 0 / 0.902 GB, free: 62.41 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.282e-06/0.2266, allocations: 3.938 kB / 0.902 GB, free: 62.41 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002185/0.2268, allocations: 227.3 kB / 0.9022 GB, free: 62.17 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 1.941e-05/0.2268, allocations: 81.02 kB / 0.9023 GB, free: 62.07 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.77e-05/0.2269, allocations: 4 kB / 0.9023 GB, free: 62.07 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.308e-05/0.227, allocations: 7.984 kB / 0.9023 GB, free: 62.06 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.009e-05/0.227, allocations: 7.938 kB / 0.9023 GB, free: 62.05 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.197e-06/0.227, allocations: 7.984 kB / 0.9023 GB, free: 62.05 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 3.061e-05/0.2271, allocations: 91.88 kB / 0.9024 GB, free: 61.96 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.2e-07/0.2271, allocations: 4 kB / 0.9024 GB, free: 61.95 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0002559/0.2273, allocations: 39.98 kB / 0.9025 GB, free: 61.91 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,occ.y,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.0003057/0.2276, allocations: 153.3 kB / 0.9026 GB, free: 61.77 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0002085/0.2279, allocations: 92.34 kB / 0.9027 GB, free: 61.68 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 1.704e-06/0.2279, allocations: 0 / 0.9027 GB, free: 61.68 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 8.847e-05/0.228, allocations: 35.98 kB / 0.9027 GB, free: 61.64 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002297/0.2282, allocations: 15.88 kB / 0.9028 GB, free: 61.63 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003422/0.2285, allocations: 216.2 kB / 0.903 GB, free: 61.38 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001115/0.2287, allocations: 0.6887 MB / 0.9036 GB, free: 60.67 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.658e-05/0.2287, allocations: 11.44 kB / 0.9036 GB, free: 60.66 MB / 0.6042 GB Notification: Performance of SimCode: time 3.1e-07/0.2287, allocations: 0 / 0.9036 GB, free: 60.66 MB / 0.6042 GB Notification: Performance of Templates: time 0.002781/0.2315, allocations: 1.61 MB / 0.9052 GB, free: 59.05 MB / 0.6042 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTIn.makefile (rm -f Buildings_maint.7.0.x_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTIn.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTIn.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTIn.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTIn.sim & ./Buildings_maint.7.0.x_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTIn -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTIn.pipe 2>&1)