Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.And.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.Controls.OBC.CDL.Logical.Validation.And,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.And") translateModel(Buildings.Controls.OBC.CDL.Logical.Validation.And,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.And") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008748/0.0008748, allocations: 90.83 kB / 15.36 MB, free: 0.7383 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.006024/0.006024, allocations: 171.9 kB / 16.26 MB, free: 6.613 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.67/1.67, allocations: 205.4 MB / 222.4 MB, free: 5.562 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.63/1.63, allocations: 252 MB / 0.5105 GB, free: 4.742 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.0005357/0.0005358, allocations: 16 kB / 0.6249 GB, free: 0.707 MB / 0.5137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5441/0.5447, allocations: 106.3 MB / 0.7287 GB, free: 11.27 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.And): time 0.002049/0.5468, allocations: 1.104 MB / 0.7298 GB, free: 10.16 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.0004703/0.5473, allocations: 200.3 kB / 0.73 GB, free: 9.961 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.432e-05/0.5474, allocations: 0 / 0.73 GB, free: 9.961 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 2.713e-05/0.5474, allocations: 7.922 kB / 0.73 GB, free: 9.953 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 9.691e-05/0.5475, allocations: 3.938 kB / 0.73 GB, free: 9.949 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001633/0.5477, allocations: 15.98 kB / 0.73 GB, free: 9.934 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.0001055/0.5478, allocations: 51.8 kB / 0.7301 GB, free: 9.883 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001181/0.5479, allocations: 19.97 kB / 0.7301 GB, free: 9.863 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 6.089e-05/0.548, allocations: 15.94 kB / 0.7301 GB, free: 9.848 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 5.631e-05/0.5481, allocations: 27.84 kB / 0.7301 GB, free: 9.82 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 1.715e-05/0.5481, allocations: 0 / 0.7301 GB, free: 9.82 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 1.452e-05/0.5481, allocations: 4 kB / 0.7301 GB, free: 9.816 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 2.073e-05/0.5481, allocations: 0 / 0.7301 GB, free: 9.816 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 6.653e-05/0.5482, allocations: 49.56 kB / 0.7302 GB, free: 9.762 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0001039/0.5483, allocations: 49.81 kB / 0.7302 GB, free: 9.715 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 1.105e-05/0.5483, allocations: 4 kB / 0.7302 GB, free: 9.711 MB / 0.545 GB Notification: Performance of FrontEnd: time 2.374e-06/0.5483, allocations: 4 kB / 0.7303 GB, free: 9.707 MB / 0.545 GB Notification: Performance of Transformations before backend: time 5.771e-06/0.5484, allocations: 0 / 0.7303 GB, free: 9.707 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0005782/0.5489, allocations: 363.3 kB / 0.7306 GB, free: 9.301 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 4.367e-05/0.549, allocations: 12.03 kB / 0.7306 GB, free: 9.289 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.575e-05/0.549, allocations: 0.9375 kB / 0.7306 GB, free: 9.289 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001532/0.5492, allocations: 184.2 kB / 0.7308 GB, free: 9.07 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.212e-05/0.5492, allocations: 8.375 kB / 0.7308 GB, free: 9.062 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.143e-05/0.5493, allocations: 4.312 kB / 0.7308 GB, free: 9.059 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001285/0.5494, allocations: 46.25 kB / 0.7308 GB, free: 9.008 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.955e-06/0.5494, allocations: 192 / 0.7308 GB, free: 9.008 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.048e-05/0.5494, allocations: 11.92 kB / 0.7309 GB, free: 8.996 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.007e-06/0.5494, allocations: 4 kB / 0.7309 GB, free: 8.992 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.435e-05/0.5495, allocations: 16 kB / 0.7309 GB, free: 8.977 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004252/0.5499, allocations: 280.9 kB / 0.7311 GB, free: 8.652 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 9.838e-05/0.5501, allocations: 54.44 kB / 0.7312 GB, free: 8.59 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.51e-05/0.5501, allocations: 20.92 kB / 0.7312 GB, free: 8.566 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 1.248e-05/0.5501, allocations: 0 / 0.7312 GB, free: 8.566 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000182/0.5503, allocations: 79.27 kB / 0.7313 GB, free: 8.477 MB / 0.545 GB Notification: Performance of pre-optimization done (n=7): time 1.252e-06/0.5503, allocations: 4 kB / 0.7313 GB, free: 8.473 MB / 0.545 GB Notification: Performance of matching and sorting (n=7): time 0.0002339/0.5506, allocations: 81.62 kB / 0.7314 GB, free: 8.387 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.554e-05/0.5506, allocations: 55.41 kB / 0.7314 GB, free: 8.32 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.756e-05/0.5507, allocations: 113.8 kB / 0.7315 GB, free: 8.199 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 1.938e-05/0.5507, allocations: 29.7 kB / 0.7316 GB, free: 8.164 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 4.94e-05/0.5508, allocations: 92.12 kB / 0.7316 GB, free: 8.07 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 2.176e-05/0.5508, allocations: 7.969 kB / 0.7317 GB, free: 8.062 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.184e-05/0.5509, allocations: 17.72 kB / 0.7317 GB, free: 8.039 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001094/0.551, allocations: 326.8 kB / 0.732 GB, free: 7.711 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.206e-05/0.551, allocations: 12 kB / 0.732 GB, free: 7.699 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.214e-05/0.5511, allocations: 30.56 kB / 0.732 GB, free: 7.66 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.437e-05/0.5511, allocations: 50.45 kB / 0.7321 GB, free: 7.602 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.284e-06/0.5511, allocations: 0 / 0.7321 GB, free: 7.602 MB / 0.545 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0001268/0.5513, allocations: 85.53 kB / 0.7322 GB, free: 7.512 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.597e-05/0.5513, allocations: 4 kB / 0.7322 GB, free: 7.508 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.384e-06/0.5513, allocations: 3.984 kB / 0.7322 GB, free: 7.504 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.143e-05/0.5513, allocations: 0 / 0.7322 GB, free: 7.504 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.633e-05/0.5514, allocations: 7.938 kB / 0.7322 GB, free: 7.496 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.989e-06/0.5514, allocations: 4 kB / 0.7322 GB, free: 7.492 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.914e-05/0.5515, allocations: 15.92 kB / 0.7322 GB, free: 7.477 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.706e-06/0.5515, allocations: 8 kB / 0.7322 GB, free: 7.469 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 ($whenCondition2,$whenCondition1,and1.y,booPul2.pulseStart,$PRE.booPul2.pulseStart,booPul2.y,booPul1.pulseStart,$PRE.booPul1.pulseStart,booPul1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (9): * Single equations (assignments): 9 * 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.059e-05/0.5516, allocations: 121.8 kB / 0.7323 GB, free: 7.34 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.505e-05/0.5516, allocations: 7.906 kB / 0.7323 GB, free: 7.332 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.203e-05/0.5517, allocations: 8.375 kB / 0.7323 GB, free: 7.324 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.378e-06/0.5517, allocations: 3.984 kB / 0.7323 GB, free: 7.32 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.464e-06/0.5517, allocations: 11.92 kB / 0.7323 GB, free: 7.309 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.865e-06/0.5517, allocations: 0 / 0.7323 GB, free: 7.309 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001397/0.5518, allocations: 173.6 kB / 0.7325 GB, free: 7.09 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.243e-06/0.5518, allocations: 0 / 0.7325 GB, free: 7.09 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.041e-05/0.5519, allocations: 7.984 kB / 0.7325 GB, free: 7.082 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.555e-06/0.5519, allocations: 0 / 0.7325 GB, free: 7.082 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.426e-06/0.5519, allocations: 4 kB / 0.7325 GB, free: 7.078 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.432e-06/0.5519, allocations: 0 / 0.7325 GB, free: 7.078 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.363e-06/0.5519, allocations: 192 / 0.7325 GB, free: 7.078 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001389/0.552, allocations: 109.6 kB / 0.7326 GB, free: 6.953 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 4.762e-05/0.5521, allocations: 89.03 kB / 0.7327 GB, free: 6.848 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.563e-05/0.5521, allocations: 0 / 0.7327 GB, free: 6.848 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.518e-05/0.5522, allocations: 19.98 kB / 0.7327 GB, free: 6.828 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.812e-05/0.5523, allocations: 7.984 kB / 0.7327 GB, free: 6.82 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.441e-06/0.5523, allocations: 0 / 0.7327 GB, free: 6.82 MB / 0.545 GB Notification: Performance of sorting global known variables: time 5.066e-05/0.5523, allocations: 91.36 kB / 0.7328 GB, free: 6.73 MB / 0.545 GB Notification: Performance of sort global known variables: time 3.1e-07/0.5523, allocations: 0 / 0.7328 GB, free: 6.73 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0001966/0.5525, allocations: 19.89 kB / 0.7328 GB, free: 6.711 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: 7 ($whenCondition2,$whenCondition1,booPul1.y,booPul1.pulseStart,booPul2.y,booPul2.pulseStart,and1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (7): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.0001369/0.5527, allocations: 97.08 kB / 0.7329 GB, free: 6.609 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0001266/0.5528, allocations: 56.14 kB / 0.733 GB, free: 6.555 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 1.954e-06/0.5528, allocations: 0 / 0.733 GB, free: 6.555 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 4.804e-05/0.5529, allocations: 23.94 kB / 0.733 GB, free: 6.531 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002307/0.5531, allocations: 23.53 kB / 0.733 GB, free: 6.512 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003458/0.5535, allocations: 178.5 kB / 0.7332 GB, free: 6.309 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000221/0.5537, allocations: 0.6809 MB / 0.7339 GB, free: 5.602 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 3.23e-05/0.5537, allocations: 11.8 kB / 0.7339 GB, free: 5.59 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.763e-05/0.5538, allocations: 11.44 kB / 0.7339 GB, free: 5.578 MB / 0.545 GB Notification: Performance of SimCode: time 4.3e-07/0.5538, allocations: 0 / 0.7339 GB, free: 5.578 MB / 0.545 GB Notification: Performance of Templates: time 0.0028/0.5566, allocations: 0.7682 MB / 0.7346 GB, free: 4.82 MB / 0.545 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.And.makefile Environment - environmentSimulation: (rm -f Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.And.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.And.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.And.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.And.sim & ./Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.And -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.And.pipe 2>&1) Environment - environmentSimulation: