Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsEast.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.Zhang2012WindowsEast,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsEast") translateModel(Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsEast,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsEast") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001078/0.001078, allocations: 111.3 kB / 15.34 MB, free: 0.5117 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.00136/0.00136, allocations: 193.6 kB / 16.25 MB, free: 6.629 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.483/1.483, allocations: 205.1 MB / 222.1 MB, free: 4.73 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.522/1.522, allocations: 251.6 MB / 0.5089 GB, free: 3.223 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.001721/0.00172, allocations: 63.91 kB / 0.6218 GB, free: 1.879 MB / 0.5137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.523/0.5248, allocations: 104.7 MB / 0.724 GB, free: 13.09 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsEast): time 0.002703/0.5275, allocations: 1.554 MB / 0.7255 GB, free: 11.52 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.001255/0.5288, allocations: 0.768 MB / 0.7263 GB, free: 10.75 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.622e-05/0.5289, allocations: 4 kB / 0.7263 GB, free: 10.74 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 3.954e-05/0.5289, allocations: 3.984 kB / 0.7263 GB, free: 10.74 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 5.721e-05/0.529, allocations: 7.875 kB / 0.7263 GB, free: 10.73 MB / 0.545 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.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.0005503/0.5295, allocations: 115.8 kB / 0.7264 GB, free: 10.62 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.0001083/0.5296, allocations: 79.72 kB / 0.7265 GB, free: 10.54 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001012/0.5298, allocations: 7.984 kB / 0.7265 GB, free: 10.53 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 8.845e-05/0.5298, allocations: 35.91 kB / 0.7265 GB, free: 10.5 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 6.329e-05/0.5299, allocations: 39.83 kB / 0.7265 GB, free: 10.46 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 1.813e-05/0.5299, allocations: 8 kB / 0.7265 GB, free: 10.45 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001952/0.5301, allocations: 95.84 kB / 0.7266 GB, free: 10.36 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 2.547e-05/0.5302, allocations: 15.97 kB / 0.7267 GB, free: 10.34 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 4.58e-05/0.5302, allocations: 39.8 kB / 0.7267 GB, free: 10.3 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0002384/0.5305, allocations: 141.6 kB / 0.7268 GB, free: 10.16 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 4.338e-06/0.5305, allocations: 0 / 0.7268 GB, free: 10.16 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.542e-06/0.5305, allocations: 0 / 0.7268 GB, free: 10.16 MB / 0.545 GB Notification: Performance of Transformations before backend: time 5.41e-06/0.5305, allocations: 0 / 0.7268 GB, free: 10.16 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.0006494/0.5312, allocations: 416.8 kB / 0.7272 GB, free: 9.703 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.899e-05/0.5312, allocations: 8.031 kB / 0.7272 GB, free: 9.695 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.609e-05/0.5313, allocations: 12.84 kB / 0.7272 GB, free: 9.684 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000123/0.5314, allocations: 184.2 kB / 0.7274 GB, free: 9.465 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.662e-05/0.5314, allocations: 4.375 kB / 0.7274 GB, free: 9.461 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.136e-05/0.5314, allocations: 8.375 kB / 0.7274 GB, free: 9.453 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001813/0.5316, allocations: 69.97 kB / 0.7275 GB, free: 9.379 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.286e-06/0.5316, allocations: 0 / 0.7275 GB, free: 9.379 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.324e-05/0.5317, allocations: 0 / 0.7275 GB, free: 9.379 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.532e-06/0.5317, allocations: 4 kB / 0.7275 GB, free: 9.375 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001206/0.5318, allocations: 35.97 kB / 0.7275 GB, free: 9.34 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000617/0.5324, allocations: 320.6 kB / 0.7278 GB, free: 8.977 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001279/0.5326, allocations: 50.55 kB / 0.7279 GB, free: 8.918 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.756e-05/0.5327, allocations: 28.97 kB / 0.7279 GB, free: 8.887 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 2.206e-05/0.5327, allocations: 4 kB / 0.7279 GB, free: 8.883 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002071/0.5329, allocations: 79.38 kB / 0.728 GB, free: 8.793 MB / 0.545 GB Notification: Performance of pre-optimization done (n=7): time 2.965e-06/0.5329, allocations: 0 / 0.728 GB, free: 8.793 MB / 0.545 GB Notification: Performance of matching and sorting (n=7): time 0.0003937/0.5333, allocations: 145.5 kB / 0.7281 GB, free: 8.645 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.248e-05/0.5334, allocations: 51.41 kB / 0.7282 GB, free: 8.582 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001154/0.5335, allocations: 129.7 kB / 0.7283 GB, free: 8.445 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 2.366e-05/0.5335, allocations: 33.7 kB / 0.7283 GB, free: 8.406 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 7.204e-05/0.5336, allocations: 88.14 kB / 0.7284 GB, free: 8.316 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 2.488e-05/0.5336, allocations: 19.8 kB / 0.7284 GB, free: 8.297 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.092e-05/0.5337, allocations: 25.72 kB / 0.7285 GB, free: 8.266 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001391/0.5338, allocations: 318.8 kB / 0.7288 GB, free: 7.945 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.939e-05/0.5339, allocations: 27.98 kB / 0.7288 GB, free: 7.918 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.322e-05/0.534, allocations: 50.55 kB / 0.7289 GB, free: 7.859 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001705/0.5342, allocations: 70.5 kB / 0.7289 GB, free: 7.781 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.014e-06/0.5342, allocations: 0 / 0.7289 GB, free: 7.781 MB / 0.545 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002432/0.5344, allocations: 117.5 kB / 0.729 GB, free: 7.66 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.77e-05/0.5345, allocations: 7.938 kB / 0.729 GB, free: 7.652 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.16e-06/0.5345, allocations: 8.062 kB / 0.729 GB, free: 7.645 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.794e-05/0.5345, allocations: 3.984 kB / 0.729 GB, free: 7.641 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001158/0.5346, allocations: 15.92 kB / 0.7291 GB, free: 7.625 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.665e-06/0.5346, allocations: 0 / 0.7291 GB, free: 7.625 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.901e-05/0.5347, allocations: 15.83 kB / 0.7291 GB, free: 7.609 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.47e-05/0.5347, allocations: 8 kB / 0.7291 GB, free: 7.602 MB / 0.545 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.0001035/0.5349, allocations: 117.8 kB / 0.7292 GB, free: 7.477 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.545e-05/0.5349, allocations: 4 kB / 0.7292 GB, free: 7.473 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.542e-05/0.5349, allocations: 16.38 kB / 0.7292 GB, free: 7.457 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.405e-06/0.5349, allocations: 0 / 0.7292 GB, free: 7.457 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.699e-06/0.5349, allocations: 0 / 0.7292 GB, free: 7.457 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.943e-06/0.5349, allocations: 3.984 kB / 0.7292 GB, free: 7.453 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004657/0.5354, allocations: 382.3 kB / 0.7296 GB, free: 7.023 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.533e-06/0.5354, allocations: 3.938 kB / 0.7296 GB, free: 7.02 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.629e-05/0.5355, allocations: 4 kB / 0.7296 GB, free: 7.016 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.014e-06/0.5355, allocations: 0 / 0.7296 GB, free: 7.016 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.247e-05/0.5355, allocations: 8 kB / 0.7296 GB, free: 7.008 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.203e-06/0.5355, allocations: 0 / 0.7296 GB, free: 7.008 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.154e-06/0.5355, allocations: 3.938 kB / 0.7296 GB, free: 7.004 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002927/0.5358, allocations: 207.4 kB / 0.7298 GB, free: 6.785 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 4.143e-05/0.5359, allocations: 85.02 kB / 0.7299 GB, free: 6.684 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.003e-05/0.5359, allocations: 4 kB / 0.7299 GB, free: 6.68 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.943e-05/0.536, allocations: 7.984 kB / 0.7299 GB, free: 6.672 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.055e-05/0.536, allocations: 15.94 kB / 0.7299 GB, free: 6.656 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.012e-05/0.5361, allocations: 3.984 kB / 0.7299 GB, free: 6.652 MB / 0.545 GB Notification: Performance of sorting global known variables: time 4.936e-05/0.5361, allocations: 87.28 kB / 0.73 GB, free: 6.566 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.1e-07/0.5361, allocations: 0 / 0.73 GB, free: 6.566 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0003216/0.5364, allocations: 43.92 kB / 0.73 GB, free: 6.523 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,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.000396/0.5368, allocations: 163.3 kB / 0.7302 GB, free: 6.371 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0002398/0.5371, allocations: 75.88 kB / 0.7303 GB, free: 6.297 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 1.964e-06/0.5371, allocations: 0 / 0.7303 GB, free: 6.297 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 9.331e-05/0.5372, allocations: 31.98 kB / 0.7303 GB, free: 6.266 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002731/0.5375, allocations: 8 kB / 0.7303 GB, free: 6.258 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004492/0.5379, allocations: 208.3 kB / 0.7305 GB, free: 6.023 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002952/0.5383, allocations: 0.6885 MB / 0.7312 GB, free: 5.309 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 3.96e-05/0.5383, allocations: 7.984 kB / 0.7312 GB, free: 5.301 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.791e-05/0.5383, allocations: 15.44 kB / 0.7312 GB, free: 5.289 MB / 0.545 GB Notification: Performance of SimCode: time 1.352e-06/0.5383, allocations: 4 kB / 0.7312 GB, free: 5.285 MB / 0.545 GB Notification: Performance of Templates: time 0.004042/0.5424, allocations: 1.403 MB / 0.7326 GB, free: 3.895 MB / 0.545 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsEast.makefile (rm -f Buildings_maint.7.0.x_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsEast.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsEast.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsEast.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsEast.sim & ./Buildings_maint.7.0.x_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsEast -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsEast.pipe 2>&1)