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.001007/0.001007, allocations: 90.75 kB / 15.06 MB, free: 1.098 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.001087/0.001087, allocations: 172.7 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.794/1.794, allocations: 205.4 MB / 222.1 MB, free: 5.492 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.629/1.629, allocations: 252 MB / 0.5102 GB, free: 4.75 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.0005973/0.0005977, allocations: 20 kB / 0.6243 GB, free: 1.039 MB / 0.5137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6478/0.6484, allocations: 106.3 MB / 0.7281 GB, free: 11.38 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.And): time 0.001826/0.6503, allocations: 1.092 MB / 0.7292 GB, free: 10.27 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.0004776/0.6508, allocations: 200.4 kB / 0.7294 GB, free: 10.07 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.242e-05/0.6508, allocations: 4 kB / 0.7294 GB, free: 10.07 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 1.704e-05/0.6508, allocations: 0 / 0.7294 GB, free: 10.07 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 9.877e-05/0.651, allocations: 7.922 kB / 0.7294 GB, free: 10.06 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001615/0.6511, allocations: 19.91 kB / 0.7294 GB, free: 10.04 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 9.293e-05/0.6512, allocations: 47.86 kB / 0.7295 GB, free: 9.996 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001073/0.6513, allocations: 7.984 kB / 0.7295 GB, free: 9.988 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 4.98e-05/0.6514, allocations: 15.94 kB / 0.7295 GB, free: 9.973 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 6.382e-05/0.6515, allocations: 23.92 kB / 0.7295 GB, free: 9.949 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 2.305e-05/0.6515, allocations: 7.875 kB / 0.7295 GB, free: 9.941 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 1.522e-05/0.6515, allocations: 4 kB / 0.7295 GB, free: 9.938 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 1.857e-05/0.6515, allocations: 7.984 kB / 0.7295 GB, free: 9.93 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 4.431e-05/0.6516, allocations: 29.7 kB / 0.7296 GB, free: 9.895 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 8.299e-05/0.6517, allocations: 37.88 kB / 0.7296 GB, free: 9.859 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 5.911e-06/0.6517, allocations: 0 / 0.7296 GB, free: 9.859 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.944e-06/0.6517, allocations: 0 / 0.7296 GB, free: 9.859 MB / 0.545 GB Notification: Performance of Transformations before backend: time 4.99e-06/0.6517, allocations: 0 / 0.7296 GB, free: 9.859 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.0006201/0.6523, allocations: 375.1 kB / 0.73 GB, free: 9.445 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 4.316e-05/0.6524, allocations: 11.97 kB / 0.73 GB, free: 9.434 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.822e-05/0.6524, allocations: 4 kB / 0.73 GB, free: 9.43 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001509/0.6526, allocations: 182.9 kB / 0.7301 GB, free: 9.211 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.665e-05/0.6526, allocations: 0 / 0.7301 GB, free: 9.211 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.155e-05/0.6526, allocations: 4 kB / 0.7302 GB, free: 9.207 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000116/0.6527, allocations: 53.69 kB / 0.7302 GB, free: 9.148 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.825e-06/0.6528, allocations: 0 / 0.7302 GB, free: 9.148 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.043e-05/0.6528, allocations: 0 / 0.7302 GB, free: 9.148 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.03e-06/0.6528, allocations: 0 / 0.7302 GB, free: 9.148 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.186e-05/0.6529, allocations: 23.98 kB / 0.7302 GB, free: 9.125 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004556/0.6533, allocations: 284.8 kB / 0.7305 GB, free: 8.797 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001519/0.6535, allocations: 46.56 kB / 0.7305 GB, free: 8.742 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.382e-05/0.6535, allocations: 16.98 kB / 0.7306 GB, free: 8.723 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 1.1e-05/0.6535, allocations: 0 / 0.7306 GB, free: 8.723 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000194/0.6537, allocations: 71.33 kB / 0.7306 GB, free: 8.641 MB / 0.545 GB Notification: Performance of pre-optimization done (n=7): time 1.362e-06/0.6537, allocations: 0 / 0.7306 GB, free: 8.641 MB / 0.545 GB Notification: Performance of matching and sorting (n=7): time 0.0002361/0.654, allocations: 93.75 kB / 0.7307 GB, free: 8.543 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.76e-05/0.6541, allocations: 51.41 kB / 0.7308 GB, free: 8.48 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.89e-05/0.6542, allocations: 125.9 kB / 0.7309 GB, free: 8.348 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 2.056e-05/0.6542, allocations: 29.7 kB / 0.7309 GB, free: 8.312 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 7.79e-05/0.6543, allocations: 88.12 kB / 0.731 GB, free: 8.223 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 2.542e-05/0.6543, allocations: 19.88 kB / 0.731 GB, free: 8.203 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.747e-06/0.6543, allocations: 0 / 0.731 GB, free: 8.203 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001894/0.6545, allocations: 314.8 kB / 0.7313 GB, free: 7.887 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.185e-05/0.6546, allocations: 15.98 kB / 0.7313 GB, free: 7.871 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.995e-05/0.6546, allocations: 38.5 kB / 0.7314 GB, free: 7.824 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.121e-05/0.6547, allocations: 19.94 kB / 0.7314 GB, free: 7.805 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.154e-06/0.6547, allocations: 0 / 0.7314 GB, free: 7.805 MB / 0.545 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.000119/0.6548, allocations: 77.53 kB / 0.7315 GB, free: 7.723 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.729e-05/0.6548, allocations: 5.719 kB / 0.7315 GB, free: 7.719 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.071e-06/0.6549, allocations: 0 / 0.7315 GB, free: 7.719 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.603e-05/0.6549, allocations: 8 kB / 0.7315 GB, free: 7.711 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.902e-05/0.6549, allocations: 8 kB / 0.7315 GB, free: 7.703 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.304e-06/0.655, allocations: 0 / 0.7315 GB, free: 7.703 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.717e-05/0.655, allocations: 27.94 kB / 0.7315 GB, free: 7.676 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.931e-06/0.6551, allocations: 0 / 0.7315 GB, free: 7.676 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,booPul1.y,$PRE.booPul1.pulseStart,booPul1.pulseStart,booPul2.y,$PRE.booPul2.pulseStart,booPul2.pulseStart,and1.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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001002/0.6552, allocations: 121.8 kB / 0.7316 GB, free: 7.547 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.257e-05/0.6552, allocations: 7.906 kB / 0.7316 GB, free: 7.539 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.297e-05/0.6552, allocations: 12.36 kB / 0.7316 GB, free: 7.527 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.687e-06/0.6552, allocations: 4 kB / 0.7316 GB, free: 7.523 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.699e-06/0.6552, allocations: 0 / 0.7316 GB, free: 7.523 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.677e-06/0.6553, allocations: 4 kB / 0.7317 GB, free: 7.52 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000163/0.6554, allocations: 181.6 kB / 0.7318 GB, free: 7.293 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.162e-06/0.6554, allocations: 0 / 0.7318 GB, free: 7.293 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.003e-05/0.6554, allocations: 4 kB / 0.7318 GB, free: 7.289 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.634e-06/0.6555, allocations: 0 / 0.7318 GB, free: 7.289 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.837e-06/0.6555, allocations: 0 / 0.7318 GB, free: 7.289 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.176e-06/0.6555, allocations: 4 kB / 0.7318 GB, free: 7.285 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.01e-07/0.6555, allocations: 0 / 0.7318 GB, free: 7.285 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001342/0.6556, allocations: 108.9 kB / 0.7319 GB, free: 7.16 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 4.371e-05/0.6557, allocations: 77.11 kB / 0.732 GB, free: 7.066 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.732e-05/0.6557, allocations: 4 kB / 0.732 GB, free: 7.062 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.235e-05/0.6558, allocations: 12.17 kB / 0.732 GB, free: 7.051 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.262e-05/0.6558, allocations: 11.98 kB / 0.732 GB, free: 7.039 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.121e-06/0.6558, allocations: 7.938 kB / 0.732 GB, free: 7.031 MB / 0.545 GB Notification: Performance of sorting global known variables: time 5.219e-05/0.6559, allocations: 87.27 kB / 0.7321 GB, free: 6.945 MB / 0.545 GB Notification: Performance of sort global known variables: time 1e-07/0.6559, allocations: 0 / 0.7321 GB, free: 6.945 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0001976/0.6561, allocations: 16 kB / 0.7321 GB, free: 6.93 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.000153/0.6563, allocations: 99.25 kB / 0.7322 GB, free: 6.824 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0001312/0.6564, allocations: 43.92 kB / 0.7323 GB, free: 6.781 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 1.914e-06/0.6564, allocations: 0 / 0.7323 GB, free: 6.781 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 6.245e-05/0.6565, allocations: 28.84 kB / 0.7323 GB, free: 6.754 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002325/0.6567, allocations: 31.27 kB / 0.7323 GB, free: 6.727 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000411/0.6571, allocations: 170.4 kB / 0.7325 GB, free: 6.527 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003987/0.6576, allocations: 0.6809 MB / 0.7332 GB, free: 5.82 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 3.614e-05/0.6576, allocations: 11.84 kB / 0.7332 GB, free: 5.809 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.025e-05/0.6576, allocations: 11.44 kB / 0.7332 GB, free: 5.797 MB / 0.545 GB Notification: Performance of SimCode: time 2.4e-07/0.6576, allocations: 4 kB / 0.7332 GB, free: 5.793 MB / 0.545 GB Notification: Performance of Templates: time 0.003024/0.6607, allocations: 0.741 MB / 0.7339 GB, free: 5.059 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: