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.001179/0.001179, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001365/0.001366, allocations: 197.5 kB / 16.53 MB, free: 6.391 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.801/1.801, allocations: 205.1 MB / 222.4 MB, free: 4.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.72/1.72, allocations: 251.7 MB / 0.5092 GB, free: 3.109 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.001555/0.001555, allocations: 68.38 kB / 0.6223 GB, free: 1.461 MB / 0.5137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6781/0.6797, allocations: 104.7 MB / 0.7245 GB, free: 12.93 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.And): time 0.003023/0.6828, allocations: 1.375 MB / 0.7259 GB, free: 11.54 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.0004982/0.6833, allocations: 215.2 kB / 0.7261 GB, free: 11.33 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.33e-05/0.6834, allocations: 0 / 0.7261 GB, free: 11.33 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 3.899e-05/0.6834, allocations: 7.922 kB / 0.7261 GB, free: 11.32 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 8.667e-05/0.6835, allocations: 7.875 kB / 0.7261 GB, free: 11.31 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001551/0.6837, allocations: 15.98 kB / 0.7261 GB, free: 11.3 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.0001082/0.6838, allocations: 59.78 kB / 0.7262 GB, free: 11.24 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001268/0.6839, allocations: 8 kB / 0.7262 GB, free: 11.23 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 5.988e-05/0.684, allocations: 27.91 kB / 0.7262 GB, free: 11.2 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 6.964e-05/0.6841, allocations: 23.86 kB / 0.7262 GB, free: 11.18 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 2.33e-05/0.6841, allocations: 4 kB / 0.7262 GB, free: 11.18 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 1.624e-05/0.6841, allocations: 4 kB / 0.7262 GB, free: 11.17 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 2.865e-05/0.6841, allocations: 11.98 kB / 0.7262 GB, free: 11.16 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 4.923e-05/0.6842, allocations: 23.86 kB / 0.7263 GB, free: 11.14 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0001055/0.6843, allocations: 53.83 kB / 0.7263 GB, free: 11.09 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 3.357e-06/0.6843, allocations: 0 / 0.7263 GB, free: 11.09 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.352e-06/0.6843, allocations: 0 / 0.7263 GB, free: 11.09 MB / 0.545 GB Notification: Performance of Transformations before backend: time 6.051e-06/0.6843, allocations: 0 / 0.7263 GB, free: 11.09 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.0006868/0.685, allocations: 371.3 kB / 0.7267 GB, free: 10.67 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 4.827e-05/0.6851, allocations: 12.03 kB / 0.7267 GB, free: 10.66 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.697e-05/0.6851, allocations: 4.844 kB / 0.7267 GB, free: 10.66 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000188/0.6853, allocations: 168.3 kB / 0.7268 GB, free: 10.45 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.864e-05/0.6854, allocations: 8.312 kB / 0.7269 GB, free: 10.45 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.489e-05/0.6854, allocations: 8.312 kB / 0.7269 GB, free: 10.44 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001541/0.6855, allocations: 50.23 kB / 0.7269 GB, free: 10.38 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.01e-05/0.6856, allocations: 192 / 0.7269 GB, free: 10.38 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.723e-05/0.6856, allocations: 11.94 kB / 0.7269 GB, free: 10.37 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.563e-06/0.6856, allocations: 0 / 0.7269 GB, free: 10.37 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.672e-05/0.6857, allocations: 23.98 kB / 0.7269 GB, free: 10.35 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005414/0.6862, allocations: 276.8 kB / 0.7272 GB, free: 10.03 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001164/0.6864, allocations: 46.45 kB / 0.7273 GB, free: 9.973 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.3e-05/0.6864, allocations: 24.97 kB / 0.7273 GB, free: 9.945 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 9.719e-06/0.6864, allocations: 4 kB / 0.7273 GB, free: 9.941 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002084/0.6866, allocations: 71.45 kB / 0.7273 GB, free: 9.859 MB / 0.545 GB Notification: Performance of pre-optimization done (n=7): time 3.346e-06/0.6866, allocations: 3.984 kB / 0.7274 GB, free: 9.855 MB / 0.545 GB Notification: Performance of matching and sorting (n=7): time 0.0002732/0.6869, allocations: 93.5 kB / 0.7274 GB, free: 9.758 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.64e-05/0.687, allocations: 51.41 kB / 0.7275 GB, free: 9.695 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001306/0.6871, allocations: 117.8 kB / 0.7276 GB, free: 9.57 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 2.186e-05/0.6872, allocations: 29.7 kB / 0.7276 GB, free: 9.535 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 5.405e-05/0.6872, allocations: 88.14 kB / 0.7277 GB, free: 9.445 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 2.295e-05/0.6872, allocations: 15.8 kB / 0.7277 GB, free: 9.43 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.793e-05/0.6873, allocations: 25.7 kB / 0.7278 GB, free: 9.398 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001712/0.6875, allocations: 318.8 kB / 0.7281 GB, free: 9.078 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.551e-05/0.6875, allocations: 15.98 kB / 0.7281 GB, free: 9.062 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.971e-05/0.6876, allocations: 34.56 kB / 0.7281 GB, free: 9.02 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.922e-05/0.6877, allocations: 50.45 kB / 0.7282 GB, free: 8.961 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.954e-06/0.6877, allocations: 0 / 0.7282 GB, free: 8.961 MB / 0.545 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0001309/0.6878, allocations: 73.62 kB / 0.7282 GB, free: 8.883 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.762e-05/0.6878, allocations: 8 kB / 0.7282 GB, free: 8.875 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.043e-06/0.6878, allocations: 0 / 0.7282 GB, free: 8.875 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.177e-05/0.6879, allocations: 0 / 0.7282 GB, free: 8.875 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.184e-05/0.6879, allocations: 7.938 kB / 0.7282 GB, free: 8.867 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.148e-05/0.688, allocations: 4 kB / 0.7282 GB, free: 8.863 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.052e-05/0.6881, allocations: 23.89 kB / 0.7283 GB, free: 8.84 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.837e-06/0.6881, allocations: 4 kB / 0.7283 GB, free: 8.836 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 0.0001259/0.6882, allocations: 125 kB / 0.7284 GB, free: 8.707 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.265e-05/0.6882, allocations: 4 kB / 0.7284 GB, free: 8.703 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.22e-05/0.6883, allocations: 8.375 kB / 0.7284 GB, free: 8.695 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.326e-06/0.6883, allocations: 0 / 0.7284 GB, free: 8.695 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.362e-06/0.6883, allocations: 3.938 kB / 0.7284 GB, free: 8.691 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.739e-06/0.6883, allocations: 4 kB / 0.7284 GB, free: 8.688 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000187/0.6885, allocations: 185.5 kB / 0.7286 GB, free: 8.457 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.175e-06/0.6885, allocations: 4 kB / 0.7286 GB, free: 8.453 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.698e-06/0.6885, allocations: 4 kB / 0.7286 GB, free: 8.449 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.242e-06/0.6886, allocations: 0 / 0.7286 GB, free: 8.449 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.142e-05/0.6886, allocations: 4 kB / 0.7286 GB, free: 8.445 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.92e-07/0.6886, allocations: 0 / 0.7286 GB, free: 8.445 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.91e-07/0.6886, allocations: 0 / 0.7286 GB, free: 8.445 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001467/0.6887, allocations: 105 kB / 0.7287 GB, free: 8.324 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 5.754e-05/0.6888, allocations: 85.02 kB / 0.7288 GB, free: 8.223 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.769e-05/0.6888, allocations: 0 / 0.7288 GB, free: 8.223 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.056e-05/0.6889, allocations: 11.98 kB / 0.7288 GB, free: 8.211 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.334e-05/0.689, allocations: 11.98 kB / 0.7288 GB, free: 8.199 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.579e-06/0.689, allocations: 192 / 0.7288 GB, free: 8.199 MB / 0.545 GB Notification: Performance of sorting global known variables: time 5.429e-05/0.6891, allocations: 92.05 kB / 0.7289 GB, free: 8.109 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.2e-07/0.6891, allocations: 3.938 kB / 0.7289 GB, free: 8.105 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0002143/0.6893, allocations: 16 kB / 0.7289 GB, free: 8.09 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.0001755/0.6895, allocations: 99.25 kB / 0.729 GB, free: 7.984 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0001725/0.6896, allocations: 48.16 kB / 0.729 GB, free: 7.938 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 2.695e-06/0.6897, allocations: 0 / 0.729 GB, free: 7.938 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 5.872e-05/0.6897, allocations: 28.08 kB / 0.7291 GB, free: 7.91 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002615/0.69, allocations: 29.88 kB / 0.7291 GB, free: 7.883 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004439/0.6904, allocations: 169.8 kB / 0.7293 GB, free: 7.688 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002524/0.6907, allocations: 0.6845 MB / 0.7299 GB, free: 6.977 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 3.183e-05/0.6907, allocations: 11.84 kB / 0.7299 GB, free: 6.965 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.028e-05/0.6908, allocations: 11.44 kB / 0.73 GB, free: 6.953 MB / 0.545 GB Notification: Performance of SimCode: time 2.01e-07/0.6908, allocations: 0 / 0.73 GB, free: 6.953 MB / 0.545 GB Notification: Performance of Templates: time 0.003401/0.6942, allocations: 0.8846 MB / 0.7308 GB, free: 6.078 MB / 0.545 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.And.makefile (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)