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/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 7.0.3-maint.7.0.x/package.mo", uses=false) 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) 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.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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009293/0.0009295, allocations: 98.11 kB / 15.36 MB, free: 0.7344 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.006104/0.006104, allocations: 171.9 kB / 16.27 MB, free: 6.648 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.417/1.417, allocations: 205.4 MB / 222.4 MB, free: 5.574 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.536/1.536, allocations: 252 MB / 0.5105 GB, free: 4.641 MB / 414.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.0005535/0.0005535, allocations: 16 kB / 0.6249 GB, free: 0.6992 MB / 0.5137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5448/0.5453, allocations: 106.3 MB / 0.7287 GB, free: 11.25 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTIn): time 0.001832/0.5472, allocations: 1.223 MB / 0.7299 GB, free: 10.02 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.001357/0.5486, allocations: 0.7563 MB / 0.7307 GB, free: 9.25 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.875e-05/0.5487, allocations: 0 / 0.7307 GB, free: 9.25 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 2.297e-05/0.5487, allocations: 7.984 kB / 0.7307 GB, free: 9.242 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 6.456e-05/0.5488, allocations: 15.86 kB / 0.7307 GB, free: 9.227 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.00055/0.5493, allocations: 107.8 kB / 0.7308 GB, free: 9.121 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.0001166/0.5495, allocations: 71.78 kB / 0.7309 GB, free: 9.051 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001004/0.5496, allocations: 7.984 kB / 0.7309 GB, free: 9.043 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 9.958e-05/0.5497, allocations: 31.91 kB / 0.7309 GB, free: 9.012 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 7.564e-05/0.5498, allocations: 39.83 kB / 0.7309 GB, free: 8.973 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 1.495e-05/0.5498, allocations: 4 kB / 0.7309 GB, free: 8.969 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001974/0.55, allocations: 95.84 kB / 0.731 GB, free: 8.875 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 2.287e-05/0.55, allocations: 11.92 kB / 0.731 GB, free: 8.863 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 6.069e-05/0.5501, allocations: 57.55 kB / 0.7311 GB, free: 8.801 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0002258/0.5503, allocations: 141.6 kB / 0.7312 GB, free: 8.664 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 4.057e-06/0.5503, allocations: 0 / 0.7312 GB, free: 8.664 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.733e-06/0.5504, allocations: 0 / 0.7312 GB, free: 8.664 MB / 0.545 GB Notification: Performance of Transformations before backend: time 5.24e-06/0.5504, allocations: 0 / 0.7312 GB, free: 8.664 MB / 0.545 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.0006042/0.551, allocations: 405 kB / 0.7316 GB, free: 8.215 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 4.472e-05/0.551, allocations: 12.03 kB / 0.7316 GB, free: 8.203 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.409e-05/0.5511, allocations: 8.828 kB / 0.7316 GB, free: 8.195 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001272/0.5512, allocations: 176.2 kB / 0.7318 GB, free: 7.984 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.077e-05/0.5512, allocations: 8.375 kB / 0.7318 GB, free: 7.977 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.109e-05/0.5513, allocations: 4.375 kB / 0.7318 GB, free: 7.973 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002038/0.5515, allocations: 69.97 kB / 0.7319 GB, free: 7.898 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.814e-06/0.5515, allocations: 0 / 0.7319 GB, free: 7.898 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.372e-05/0.5515, allocations: 8 kB / 0.7319 GB, free: 7.891 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.697e-06/0.5515, allocations: 4 kB / 0.7319 GB, free: 7.887 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001429/0.5517, allocations: 39.97 kB / 0.7319 GB, free: 7.848 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006324/0.5523, allocations: 324.7 kB / 0.7322 GB, free: 7.48 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001248/0.5525, allocations: 50.55 kB / 0.7323 GB, free: 7.422 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.94e-05/0.5526, allocations: 36.97 kB / 0.7323 GB, free: 7.383 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 2.47e-05/0.5526, allocations: 0 / 0.7323 GB, free: 7.383 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001908/0.5528, allocations: 87.22 kB / 0.7324 GB, free: 7.285 MB / 0.545 GB Notification: Performance of pre-optimization done (n=7): time 1.312e-06/0.5528, allocations: 0 / 0.7324 GB, free: 7.285 MB / 0.545 GB Notification: Performance of matching and sorting (n=7): time 0.0004035/0.5532, allocations: 145.6 kB / 0.7325 GB, free: 7.137 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.078e-05/0.5533, allocations: 59.47 kB / 0.7326 GB, free: 7.066 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.14e-05/0.5534, allocations: 125.7 kB / 0.7327 GB, free: 6.934 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 2.586e-05/0.5534, allocations: 33.7 kB / 0.7328 GB, free: 6.895 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 4.838e-05/0.5535, allocations: 84.14 kB / 0.7328 GB, free: 6.809 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 4.302e-05/0.5535, allocations: 19.8 kB / 0.7329 GB, free: 6.789 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.571e-05/0.5535, allocations: 17.72 kB / 0.7329 GB, free: 6.766 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 9.29e-05/0.5536, allocations: 318.8 kB / 0.7332 GB, free: 6.445 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.199e-05/0.5537, allocations: 35.98 kB / 0.7332 GB, free: 6.41 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.589e-05/0.5538, allocations: 55.8 kB / 0.7333 GB, free: 6.344 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000173/0.554, allocations: 87.34 kB / 0.7333 GB, free: 6.246 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.984e-06/0.554, allocations: 0 / 0.7333 GB, free: 6.246 MB / 0.545 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002638/0.5543, allocations: 125.4 kB / 0.7335 GB, free: 6.117 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.561e-05/0.5543, allocations: 4 kB / 0.7335 GB, free: 6.113 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.293e-06/0.5543, allocations: 3.984 kB / 0.7335 GB, free: 6.109 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.478e-05/0.5544, allocations: 8.062 kB / 0.7335 GB, free: 6.102 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.501e-05/0.5545, allocations: 8 kB / 0.7335 GB, free: 6.094 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.382e-06/0.5545, allocations: 320 / 0.7335 GB, free: 6.094 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.536e-05/0.5546, allocations: 23.98 kB / 0.7335 GB, free: 6.07 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.458e-05/0.5546, allocations: 4.047 kB / 0.7335 GB, free: 6.066 MB / 0.545 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 9.601e-05/0.5547, allocations: 125.7 kB / 0.7336 GB, free: 5.934 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.86e-05/0.5547, allocations: 11.84 kB / 0.7336 GB, free: 5.922 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.9e-05/0.5547, allocations: 16.36 kB / 0.7337 GB, free: 5.906 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.344e-06/0.5548, allocations: 0 / 0.7337 GB, free: 5.906 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.095e-06/0.5548, allocations: 4 kB / 0.7337 GB, free: 5.902 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.386e-06/0.5548, allocations: 3.938 kB / 0.7337 GB, free: 5.898 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004459/0.5552, allocations: 382.5 kB / 0.734 GB, free: 5.469 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.983e-06/0.5552, allocations: 0 / 0.734 GB, free: 5.469 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.343e-05/0.5553, allocations: 15.94 kB / 0.734 GB, free: 5.453 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.637e-06/0.5553, allocations: 4 kB / 0.734 GB, free: 5.449 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.165e-05/0.5553, allocations: 3.984 kB / 0.7341 GB, free: 5.445 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.363e-06/0.5553, allocations: 0 / 0.7341 GB, free: 5.445 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.615e-06/0.5553, allocations: 3.938 kB / 0.7341 GB, free: 5.441 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002747/0.5556, allocations: 211.4 kB / 0.7343 GB, free: 5.219 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 3.519e-05/0.5557, allocations: 81.02 kB / 0.7343 GB, free: 5.121 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.048e-05/0.5557, allocations: 7.984 kB / 0.7343 GB, free: 5.113 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.849e-05/0.5558, allocations: 8 kB / 0.7344 GB, free: 5.105 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.406e-05/0.5558, allocations: 7.922 kB / 0.7344 GB, free: 5.098 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.506e-06/0.5558, allocations: 4 kB / 0.7344 GB, free: 5.094 MB / 0.545 GB Notification: Performance of sorting global known variables: time 6.067e-05/0.5559, allocations: 91.27 kB / 0.7345 GB, free: 5.004 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.5e-07/0.5559, allocations: 0 / 0.7345 GB, free: 5.004 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0003072/0.5562, allocations: 39.94 kB / 0.7345 GB, free: 4.965 MB / 0.545 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.0003585/0.5566, allocations: 161.9 kB / 0.7346 GB, free: 4.812 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0002291/0.5568, allocations: 72.08 kB / 0.7347 GB, free: 4.742 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 4.217e-06/0.5569, allocations: 4 kB / 0.7347 GB, free: 4.738 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0001003/0.557, allocations: 39.92 kB / 0.7348 GB, free: 4.699 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002617/0.5572, allocations: 11.98 kB / 0.7348 GB, free: 4.688 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004128/0.5577, allocations: 213.1 kB / 0.735 GB, free: 4.449 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002248/0.5579, allocations: 0.6848 MB / 0.7356 GB, free: 3.738 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 4.047e-05/0.5579, allocations: 8.078 kB / 0.7356 GB, free: 3.73 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.709e-05/0.558, allocations: 11.44 kB / 0.7357 GB, free: 3.723 MB / 0.545 GB Notification: Performance of SimCode: time 2.9e-07/0.558, allocations: 0 / 0.7357 GB, free: 3.723 MB / 0.545 GB Notification: Performance of Templates: time 0.004151/0.5621, allocations: 1.374 MB / 0.737 GB, free: 2.355 MB / 0.545 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTIn.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: