Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsTiltedOpen.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.Herkel2008WindowsTiltedOpen,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsTiltedOpen") translateModel(Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsTiltedOpen,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsTiltedOpen") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001324/0.001328, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.001105/0.001105, allocations: 193.2 kB / 16.25 MB, free: 6.617 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.523/1.523, allocations: 205.1 MB / 222.1 MB, free: 4.684 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.582/1.582, allocations: 251.6 MB / 0.5089 GB, free: 3.301 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.001344/0.001344, allocations: 67.88 kB / 0.6217 GB, free: 1.875 MB / 0.5137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5073/0.5087, allocations: 104.7 MB / 0.724 GB, free: 13.12 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsTiltedOpen): time 0.00306/0.5118, allocations: 1.554 MB / 0.7255 GB, free: 11.55 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.00119/0.513, allocations: 0.7757 MB / 0.7263 GB, free: 10.76 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.8e-05/0.513, allocations: 4 kB / 0.7263 GB, free: 10.76 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 3.109e-05/0.5131, allocations: 3.938 kB / 0.7263 GB, free: 10.75 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 4.972e-05/0.5131, allocations: 7.922 kB / 0.7263 GB, free: 10.75 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.0005034/0.5136, allocations: 119.8 kB / 0.7264 GB, free: 10.63 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.0001011/0.5137, allocations: 71.78 kB / 0.7265 GB, free: 10.56 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001044/0.5139, allocations: 12 kB / 0.7265 GB, free: 10.55 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 8.029e-05/0.5139, allocations: 35.89 kB / 0.7265 GB, free: 10.51 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 6.378e-05/0.514, allocations: 35.84 kB / 0.7265 GB, free: 10.48 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 1.683e-05/0.514, allocations: 8 kB / 0.7265 GB, free: 10.47 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001576/0.5142, allocations: 95.84 kB / 0.7266 GB, free: 10.38 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 2.313e-05/0.5142, allocations: 15.98 kB / 0.7267 GB, free: 10.36 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 4.189e-05/0.5143, allocations: 35.78 kB / 0.7267 GB, free: 10.32 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0002118/0.5145, allocations: 141.6 kB / 0.7268 GB, free: 10.19 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 5.551e-06/0.5145, allocations: 4 kB / 0.7268 GB, free: 10.18 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.553e-06/0.5145, allocations: 0 / 0.7268 GB, free: 10.18 MB / 0.545 GB Notification: Performance of Transformations before backend: time 7.564e-06/0.5145, allocations: 0 / 0.7268 GB, free: 10.18 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.0005699/0.5151, allocations: 428.8 kB / 0.7272 GB, free: 9.711 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.307e-05/0.5151, allocations: 8.031 kB / 0.7272 GB, free: 9.703 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.982e-05/0.5152, allocations: 8.844 kB / 0.7273 GB, free: 9.695 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001084/0.5153, allocations: 168.3 kB / 0.7274 GB, free: 9.492 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.211e-05/0.5153, allocations: 12.36 kB / 0.7274 GB, free: 9.48 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.69e-05/0.5154, allocations: 8.375 kB / 0.7274 GB, free: 9.473 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001617/0.5155, allocations: 65.97 kB / 0.7275 GB, free: 9.402 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.881e-06/0.5155, allocations: 4 kB / 0.7275 GB, free: 9.398 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.129e-05/0.5156, allocations: 0 / 0.7275 GB, free: 9.398 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.212e-06/0.5156, allocations: 4 kB / 0.7275 GB, free: 9.395 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001158/0.5157, allocations: 39.91 kB / 0.7275 GB, free: 9.355 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005615/0.5163, allocations: 316.7 kB / 0.7278 GB, free: 8.996 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001158/0.5164, allocations: 50.56 kB / 0.7279 GB, free: 8.938 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.422e-05/0.5165, allocations: 28.97 kB / 0.7279 GB, free: 8.906 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 1.754e-05/0.5165, allocations: 0 / 0.7279 GB, free: 8.906 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001625/0.5167, allocations: 83.31 kB / 0.728 GB, free: 8.812 MB / 0.545 GB Notification: Performance of pre-optimization done (n=7): time 1.182e-06/0.5167, allocations: 0 / 0.728 GB, free: 8.812 MB / 0.545 GB Notification: Performance of matching and sorting (n=7): time 0.0003978/0.5171, allocations: 149.5 kB / 0.7281 GB, free: 8.66 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.245e-05/0.5171, allocations: 55.34 kB / 0.7282 GB, free: 8.594 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001091/0.5172, allocations: 121.8 kB / 0.7283 GB, free: 8.465 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 2.012e-05/0.5173, allocations: 25.7 kB / 0.7283 GB, free: 8.434 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 6.86e-05/0.5173, allocations: 100.2 kB / 0.7284 GB, free: 8.332 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 1.957e-05/0.5174, allocations: 11.81 kB / 0.7284 GB, free: 8.32 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.045e-05/0.5174, allocations: 29.7 kB / 0.7285 GB, free: 8.285 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001384/0.5176, allocations: 330.7 kB / 0.7288 GB, free: 7.953 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.399e-05/0.5177, allocations: 23.98 kB / 0.7288 GB, free: 7.93 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.223e-05/0.5178, allocations: 50.5 kB / 0.7289 GB, free: 7.871 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001368/0.5179, allocations: 74.55 kB / 0.7289 GB, free: 7.789 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.623e-06/0.5179, allocations: 0 / 0.7289 GB, free: 7.789 MB / 0.545 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002094/0.5181, allocations: 109.5 kB / 0.729 GB, free: 7.676 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.091e-05/0.5181, allocations: 4 kB / 0.729 GB, free: 7.672 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.21e-06/0.5181, allocations: 4 kB / 0.729 GB, free: 7.668 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.586e-06/0.5182, allocations: 0 / 0.729 GB, free: 7.668 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.626e-05/0.5183, allocations: 15.92 kB / 0.7291 GB, free: 7.652 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.591e-06/0.5183, allocations: 0 / 0.7291 GB, free: 7.652 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.658e-05/0.5183, allocations: 19.91 kB / 0.7291 GB, free: 7.633 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.496e-05/0.5184, allocations: 4 kB / 0.7291 GB, free: 7.629 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 8.226e-05/0.5184, allocations: 121.8 kB / 0.7292 GB, free: 7.5 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.471e-05/0.5185, allocations: 4 kB / 0.7292 GB, free: 7.496 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.577e-05/0.5185, allocations: 12.38 kB / 0.7292 GB, free: 7.484 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.493e-06/0.5185, allocations: 0 / 0.7292 GB, free: 7.484 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.975e-06/0.5185, allocations: 0 / 0.7292 GB, free: 7.484 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.539e-06/0.5185, allocations: 0 / 0.7292 GB, free: 7.484 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004074/0.5189, allocations: 394.2 kB / 0.7296 GB, free: 7.043 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.373e-06/0.5189, allocations: 0 / 0.7296 GB, free: 7.043 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.722e-05/0.519, allocations: 7.984 kB / 0.7296 GB, free: 7.035 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.573e-06/0.519, allocations: 0 / 0.7296 GB, free: 7.035 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.059e-05/0.519, allocations: 4 kB / 0.7296 GB, free: 7.031 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.443e-06/0.519, allocations: 0 / 0.7296 GB, free: 7.031 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.335e-06/0.519, allocations: 3.938 kB / 0.7296 GB, free: 7.027 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002479/0.5193, allocations: 207.4 kB / 0.7298 GB, free: 6.809 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 5.783e-05/0.5193, allocations: 93 kB / 0.7299 GB, free: 6.699 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.173e-05/0.5194, allocations: 4 kB / 0.7299 GB, free: 6.695 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.448e-05/0.5195, allocations: 4 kB / 0.7299 GB, free: 6.691 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.264e-05/0.5195, allocations: 11.92 kB / 0.7299 GB, free: 6.68 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.204e-06/0.5195, allocations: 0 / 0.7299 GB, free: 6.68 MB / 0.545 GB Notification: Performance of sorting global known variables: time 5.184e-05/0.5196, allocations: 91.27 kB / 0.73 GB, free: 6.59 MB / 0.545 GB Notification: Performance of sort global known variables: time 1e-07/0.5196, allocations: 0 / 0.73 GB, free: 6.59 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.000265/0.5198, allocations: 43.94 kB / 0.73 GB, free: 6.547 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.0003065/0.5201, allocations: 167.4 kB / 0.7302 GB, free: 6.391 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0002062/0.5204, allocations: 75.88 kB / 0.7303 GB, free: 6.316 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 1.483e-06/0.5204, allocations: 128 / 0.7303 GB, free: 6.316 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 9.687e-05/0.5205, allocations: 39.92 kB / 0.7303 GB, free: 6.277 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002309/0.5207, allocations: 7.984 kB / 0.7303 GB, free: 6.27 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003418/0.5211, allocations: 200.3 kB / 0.7305 GB, free: 6.043 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002319/0.5213, allocations: 0.6885 MB / 0.7312 GB, free: 5.328 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 3.122e-05/0.5213, allocations: 4 kB / 0.7312 GB, free: 5.324 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.282e-05/0.5214, allocations: 15.42 kB / 0.7312 GB, free: 5.312 MB / 0.545 GB Notification: Performance of SimCode: time 2.5e-07/0.5214, allocations: 3.938 kB / 0.7312 GB, free: 5.309 MB / 0.545 GB Notification: Performance of Templates: time 0.003288/0.5247, allocations: 1.419 MB / 0.7326 GB, free: 3.906 MB / 0.545 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsTiltedOpen.makefile (rm -f Buildings_maint.7.0.x_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsTiltedOpen.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsTiltedOpen.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsTiltedOpen.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsTiltedOpen.sim & ./Buildings_maint.7.0.x_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsTiltedOpen -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsTiltedOpen.pipe 2>&1)