Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTIn.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.Blinds.Validation.Haldi2008BlindsTIn,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTIn") translateModel(Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTIn,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTIn") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001136/0.001136, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001693/0.001693, allocations: 188.2 kB / 16.25 MB, free: 6.625 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.418/1.418, allocations: 205.1 MB / 222.1 MB, free: 4.715 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.605/1.605, allocations: 251.6 MB / 0.5089 GB, free: 3.297 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.001317/0.001317, allocations: 63.91 kB / 0.6217 GB, free: 1.875 MB / 0.5137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.512/0.5133, allocations: 104.7 MB / 0.724 GB, free: 13.11 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTIn): time 0.002628/0.516, allocations: 1.554 MB / 0.7255 GB, free: 11.54 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.001186/0.5172, allocations: 0.7718 MB / 0.7262 GB, free: 10.75 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.379e-05/0.5173, allocations: 0 / 0.7262 GB, free: 10.75 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 3.365e-05/0.5173, allocations: 0 / 0.7262 GB, free: 10.75 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 6.788e-05/0.5174, allocations: 15.84 kB / 0.7263 GB, free: 10.74 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.0005307/0.5179, allocations: 107.8 kB / 0.7264 GB, free: 10.63 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 9.805e-05/0.5181, allocations: 67.78 kB / 0.7264 GB, free: 10.57 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 9.365e-05/0.5182, allocations: 15.98 kB / 0.7264 GB, free: 10.55 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 9.068e-05/0.5183, allocations: 31.86 kB / 0.7265 GB, free: 10.52 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 5.682e-05/0.5183, allocations: 35.83 kB / 0.7265 GB, free: 10.48 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 1.652e-05/0.5183, allocations: 8 kB / 0.7265 GB, free: 10.48 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001779/0.5185, allocations: 91.91 kB / 0.7266 GB, free: 10.39 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 2.231e-05/0.5186, allocations: 15.92 kB / 0.7266 GB, free: 10.37 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 4.671e-05/0.5186, allocations: 35.86 kB / 0.7267 GB, free: 10.34 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0002138/0.5188, allocations: 133.6 kB / 0.7268 GB, free: 10.21 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 4.228e-06/0.5188, allocations: 0 / 0.7268 GB, free: 10.21 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.633e-06/0.5188, allocations: 0 / 0.7268 GB, free: 10.21 MB / 0.545 GB Notification: Performance of Transformations before backend: time 5.079e-06/0.5189, allocations: 0 / 0.7268 GB, free: 10.21 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.0005691/0.5194, allocations: 454.5 kB / 0.7272 GB, free: 9.703 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.835e-05/0.5195, allocations: 8.031 kB / 0.7272 GB, free: 9.695 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.966e-05/0.5195, allocations: 8.844 kB / 0.7272 GB, free: 9.688 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001193/0.5196, allocations: 172.3 kB / 0.7274 GB, free: 9.48 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.553e-05/0.5197, allocations: 8.359 kB / 0.7274 GB, free: 9.473 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.528e-05/0.5197, allocations: 12.31 kB / 0.7274 GB, free: 9.461 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001896/0.5199, allocations: 69.97 kB / 0.7275 GB, free: 9.387 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.164e-06/0.5199, allocations: 0 / 0.7275 GB, free: 9.387 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.217e-05/0.5199, allocations: 0 / 0.7275 GB, free: 9.387 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.997e-06/0.5199, allocations: 0 / 0.7275 GB, free: 9.387 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001309/0.5201, allocations: 43.91 kB / 0.7275 GB, free: 9.344 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004826/0.5206, allocations: 296.7 kB / 0.7278 GB, free: 9.004 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001227/0.5207, allocations: 50.55 kB / 0.7279 GB, free: 8.945 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.325e-05/0.5208, allocations: 32.97 kB / 0.7279 GB, free: 8.91 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 1.853e-05/0.5208, allocations: 0 / 0.7279 GB, free: 8.91 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001637/0.521, allocations: 87.3 kB / 0.728 GB, free: 8.812 MB / 0.545 GB Notification: Performance of pre-optimization done (n=7): time 1.643e-06/0.521, allocations: 3.938 kB / 0.728 GB, free: 8.809 MB / 0.545 GB Notification: Performance of matching and sorting (n=7): time 0.0004022/0.5214, allocations: 137.6 kB / 0.7281 GB, free: 8.668 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.425e-05/0.5215, allocations: 59.39 kB / 0.7282 GB, free: 8.598 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.634e-05/0.5216, allocations: 117.8 kB / 0.7283 GB, free: 8.473 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 2.849e-05/0.5216, allocations: 29.7 kB / 0.7283 GB, free: 8.438 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 4.953e-05/0.5217, allocations: 96.12 kB / 0.7284 GB, free: 8.34 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 1.927e-05/0.5217, allocations: 15.75 kB / 0.7284 GB, free: 8.324 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.366e-05/0.5217, allocations: 29.7 kB / 0.7284 GB, free: 8.289 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001132/0.5218, allocations: 318.8 kB / 0.7287 GB, free: 7.969 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.956e-05/0.5219, allocations: 27.92 kB / 0.7288 GB, free: 7.941 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.477e-05/0.522, allocations: 61.12 kB / 0.7288 GB, free: 7.863 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001477/0.5222, allocations: 89.08 kB / 0.7289 GB, free: 7.758 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.964e-06/0.5222, allocations: 0 / 0.7289 GB, free: 7.758 MB / 0.545 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002131/0.5224, allocations: 117.4 kB / 0.729 GB, free: 7.637 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.231e-05/0.5224, allocations: 4 kB / 0.729 GB, free: 7.633 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.009e-06/0.5224, allocations: 0 / 0.729 GB, free: 7.633 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.642e-05/0.5224, allocations: 7.984 kB / 0.729 GB, free: 7.625 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.537e-05/0.5225, allocations: 15.94 kB / 0.7291 GB, free: 7.609 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.104e-06/0.5226, allocations: 4 kB / 0.7291 GB, free: 7.605 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.1e-05/0.5226, allocations: 11.89 kB / 0.7291 GB, free: 7.594 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.308e-05/0.5226, allocations: 12.16 kB / 0.7291 GB, free: 7.582 MB / 0.545 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 9 (bli.curSeed,$PRE.bli.curSeed,bli.blindState,$PRE.bli.blindState,bli.pDown,$PRE.bli.pDown,occ.y,bli.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.956e-05/0.5227, allocations: 117.8 kB / 0.7292 GB, free: 7.457 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.553e-05/0.5228, allocations: 4 kB / 0.7292 GB, free: 7.453 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.569e-05/0.5228, allocations: 8.375 kB / 0.7292 GB, free: 7.445 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.007e-06/0.5228, allocations: 8.031 kB / 0.7292 GB, free: 7.438 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.18e-06/0.5228, allocations: 0 / 0.7292 GB, free: 7.438 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.098e-06/0.5228, allocations: 7.922 kB / 0.7292 GB, free: 7.43 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004457/0.5233, allocations: 386.3 kB / 0.7296 GB, free: 6.996 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.533e-06/0.5233, allocations: 0 / 0.7296 GB, free: 6.996 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.976e-05/0.5233, allocations: 4 kB / 0.7296 GB, free: 6.992 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.653e-06/0.5233, allocations: 0 / 0.7296 GB, free: 6.992 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.052e-05/0.5233, allocations: 3.938 kB / 0.7296 GB, free: 6.988 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.665e-06/0.5234, allocations: 3.984 kB / 0.7296 GB, free: 6.984 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.234e-06/0.5234, allocations: 3.938 kB / 0.7296 GB, free: 6.98 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002721/0.5236, allocations: 211.5 kB / 0.7298 GB, free: 6.758 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 3.976e-05/0.5237, allocations: 84.95 kB / 0.7299 GB, free: 6.656 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.021e-05/0.5237, allocations: 3.984 kB / 0.7299 GB, free: 6.652 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.923e-05/0.5238, allocations: 4 kB / 0.7299 GB, free: 6.648 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.995e-05/0.5239, allocations: 7.938 kB / 0.7299 GB, free: 6.641 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.026e-05/0.5239, allocations: 3.984 kB / 0.7299 GB, free: 6.637 MB / 0.545 GB Notification: Performance of sorting global known variables: time 5.765e-05/0.5239, allocations: 99.27 kB / 0.73 GB, free: 6.539 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.1e-07/0.5239, allocations: 0 / 0.73 GB, free: 6.539 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0002932/0.5242, allocations: 32 kB / 0.73 GB, free: 6.508 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 (bli.sampleTrigger,$whenCondition1,occ.y,bli.blindState,bli.pDown,bli.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.0002883/0.5245, allocations: 158.7 kB / 0.7302 GB, free: 6.359 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0002365/0.5248, allocations: 79.81 kB / 0.7303 GB, free: 6.281 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 2.124e-06/0.5248, allocations: 320 / 0.7303 GB, free: 6.281 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 9.901e-05/0.5249, allocations: 36.45 kB / 0.7303 GB, free: 6.246 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002574/0.5252, allocations: 12.08 kB / 0.7303 GB, free: 6.234 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004066/0.5256, allocations: 208.8 kB / 0.7305 GB, free: 6 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000232/0.5258, allocations: 0.6962 MB / 0.7312 GB, free: 5.277 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 3.48e-05/0.5259, allocations: 4 kB / 0.7312 GB, free: 5.273 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.362e-05/0.5259, allocations: 15.38 kB / 0.7312 GB, free: 5.262 MB / 0.545 GB Notification: Performance of SimCode: time 2.21e-07/0.5259, allocations: 0 / 0.7312 GB, free: 5.262 MB / 0.545 GB Notification: Performance of Templates: time 0.003522/0.5294, allocations: 1.399 MB / 0.7326 GB, free: 3.871 MB / 0.545 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTIn.makefile (rm -f Buildings_maint.7.0.x_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTIn.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTIn.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTIn.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTIn.sim & ./Buildings_maint.7.0.x_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTIn -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTIn.pipe 2>&1)