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.And3.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.And3,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.And3") translateModel(Buildings.Controls.OBC.CDL.Logical.Validation.And3,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.And3") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001341/0.001341, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.00181/0.00181, allocations: 195.1 kB / 16.14 MB, free: 6.703 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.838/1.838, allocations: 205.1 MB / 222 MB, free: 4.762 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.5088 GB, free: 3.32 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.001467/0.001467, allocations: 63.92 kB / 0.6216 GB, free: 1.973 MB / 0.5137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8106/0.8121, allocations: 104.7 MB / 0.7238 GB, free: 13.16 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.And3): time 0.003294/0.8154, allocations: 1.497 MB / 0.7253 GB, free: 11.64 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.0004658/0.8159, allocations: 224.1 kB / 0.7255 GB, free: 11.42 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.542e-05/0.816, allocations: 4 kB / 0.7255 GB, free: 11.42 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 3.533e-05/0.816, allocations: 0 / 0.7255 GB, free: 11.42 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 8.852e-05/0.8161, allocations: 19.84 kB / 0.7255 GB, free: 11.4 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001392/0.8163, allocations: 19.98 kB / 0.7255 GB, free: 11.38 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.0001281/0.8164, allocations: 79.72 kB / 0.7256 GB, free: 11.3 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001203/0.8165, allocations: 16.16 kB / 0.7256 GB, free: 11.28 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 5.844e-05/0.8166, allocations: 31.86 kB / 0.7257 GB, free: 11.25 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 5.643e-05/0.8167, allocations: 27.91 kB / 0.7257 GB, free: 11.22 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 2.298e-05/0.8167, allocations: 7.938 kB / 0.7257 GB, free: 11.21 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 1.474e-05/0.8167, allocations: 0 / 0.7257 GB, free: 11.21 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 2.536e-05/0.8168, allocations: 19.92 kB / 0.7257 GB, free: 11.2 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 5.333e-05/0.8168, allocations: 39.78 kB / 0.7257 GB, free: 11.16 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0001178/0.8169, allocations: 69.73 kB / 0.7258 GB, free: 11.09 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 4.278e-06/0.8169, allocations: 3.938 kB / 0.7258 GB, free: 11.09 MB / 0.545 GB Notification: Performance of FrontEnd: time 9.82e-07/0.817, allocations: 0 / 0.7258 GB, free: 11.09 MB / 0.545 GB Notification: Performance of Transformations before backend: time 4.568e-06/0.817, allocations: 0 / 0.7258 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: 10 * Number of variables: 10 Notification: Performance of Generate backend data structure: time 0.0006127/0.8176, allocations: 403.1 kB / 0.7262 GB, free: 10.64 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 4.035e-05/0.8176, allocations: 16.03 kB / 0.7262 GB, free: 10.63 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.827e-05/0.8177, allocations: 8.844 kB / 0.7262 GB, free: 10.62 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001454/0.8178, allocations: 176.2 kB / 0.7264 GB, free: 10.41 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.662e-05/0.8179, allocations: 4.375 kB / 0.7264 GB, free: 10.41 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.402e-05/0.8179, allocations: 4.375 kB / 0.7264 GB, free: 10.4 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000136/0.818, allocations: 66.17 kB / 0.7265 GB, free: 10.33 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.747e-06/0.818, allocations: 3.938 kB / 0.7265 GB, free: 10.33 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.05e-05/0.8181, allocations: 0 / 0.7265 GB, free: 10.33 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.721e-06/0.8181, allocations: 3.984 kB / 0.7265 GB, free: 10.32 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.312e-05/0.8181, allocations: 27.98 kB / 0.7265 GB, free: 10.3 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004678/0.8186, allocations: 316.7 kB / 0.7268 GB, free: 9.938 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 9.962e-05/0.8187, allocations: 46.56 kB / 0.7268 GB, free: 9.883 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.721e-05/0.8188, allocations: 24.86 kB / 0.7269 GB, free: 9.855 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 1.223e-05/0.8188, allocations: 0 / 0.7269 GB, free: 9.855 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002276/0.819, allocations: 91.31 kB / 0.727 GB, free: 9.754 MB / 0.545 GB Notification: Performance of pre-optimization done (n=10): time 1.533e-06/0.819, allocations: 0 / 0.727 GB, free: 9.754 MB / 0.545 GB Notification: Performance of matching and sorting (n=10): time 0.0003098/0.8194, allocations: 109.5 kB / 0.7271 GB, free: 9.641 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.694e-05/0.8194, allocations: 59.39 kB / 0.7271 GB, free: 9.57 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001269/0.8196, allocations: 126.2 kB / 0.7272 GB, free: 9.438 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 2.322e-05/0.8196, allocations: 33.7 kB / 0.7273 GB, free: 9.398 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 5.954e-05/0.8197, allocations: 88.12 kB / 0.7274 GB, free: 9.309 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 2.907e-05/0.8197, allocations: 23.66 kB / 0.7274 GB, free: 9.285 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.98e-05/0.8197, allocations: 41.64 kB / 0.7274 GB, free: 9.238 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001361/0.8199, allocations: 322.8 kB / 0.7277 GB, free: 8.914 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.37e-05/0.8199, allocations: 23.94 kB / 0.7277 GB, free: 8.891 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.358e-05/0.82, allocations: 47.42 kB / 0.7278 GB, free: 8.832 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.231e-05/0.8201, allocations: 67.52 kB / 0.7279 GB, free: 8.754 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.723e-06/0.8201, allocations: 0 / 0.7279 GB, free: 8.754 MB / 0.545 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001533/0.8203, allocations: 101.5 kB / 0.728 GB, free: 8.648 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.47e-05/0.8203, allocations: 5.875 kB / 0.728 GB, free: 8.645 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.653e-06/0.8203, allocations: 4 kB / 0.728 GB, free: 8.641 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.325e-05/0.8203, allocations: 0 / 0.728 GB, free: 8.641 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.586e-05/0.8204, allocations: 8 kB / 0.728 GB, free: 8.633 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.295e-06/0.8204, allocations: 8.016 kB / 0.728 GB, free: 8.625 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001104/0.8205, allocations: 19.98 kB / 0.728 GB, free: 8.605 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.195e-06/0.8205, allocations: 4 kB / 0.728 GB, free: 8.602 MB / 0.545 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 13 ($whenCondition3,$whenCondition2,$whenCondition1,booPul3.pulseStart,$PRE.booPul3.pulseStart,booPul3.y,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 (13): * Single equations (assignments): 13 * 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.0001018/0.8207, allocations: 127.2 kB / 0.7281 GB, free: 8.469 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.519e-05/0.8207, allocations: 7.906 kB / 0.7281 GB, free: 8.461 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.126e-05/0.8207, allocations: 16.36 kB / 0.7281 GB, free: 8.445 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.807e-06/0.8207, allocations: 4 kB / 0.7281 GB, free: 8.441 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.957e-06/0.8207, allocations: 0 / 0.7281 GB, free: 8.441 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.817e-06/0.8207, allocations: 8 kB / 0.7282 GB, free: 8.434 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001745/0.8209, allocations: 189.5 kB / 0.7283 GB, free: 8.199 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.392e-06/0.8209, allocations: 4 kB / 0.7283 GB, free: 8.195 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.117e-05/0.821, allocations: 0 / 0.7283 GB, free: 8.195 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.894e-06/0.821, allocations: 3.938 kB / 0.7283 GB, free: 8.191 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.588e-06/0.821, allocations: 0 / 0.7283 GB, free: 8.191 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.242e-06/0.821, allocations: 4 kB / 0.7283 GB, free: 8.188 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.81e-07/0.821, allocations: 96 / 0.7283 GB, free: 8.188 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001658/0.8212, allocations: 136.8 kB / 0.7285 GB, free: 8.035 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 4.169e-05/0.8212, allocations: 88.95 kB / 0.7286 GB, free: 7.93 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.845e-05/0.8212, allocations: 3.984 kB / 0.7286 GB, free: 7.926 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.676e-05/0.8213, allocations: 11.98 kB / 0.7286 GB, free: 7.914 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.802e-05/0.8214, allocations: 19.97 kB / 0.7286 GB, free: 7.895 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.281e-06/0.8214, allocations: 0 / 0.7286 GB, free: 7.895 MB / 0.545 GB Notification: Performance of sorting global known variables: time 6.968e-05/0.8215, allocations: 99.27 kB / 0.7287 GB, free: 7.797 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.202e-06/0.8215, allocations: 0 / 0.7287 GB, free: 7.797 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0001905/0.8217, allocations: 19.94 kB / 0.7287 GB, free: 7.777 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: 10 ($whenCondition3,$whenCondition2,$whenCondition1,booPul1.y,booPul1.pulseStart,booPul2.y,booPul2.pulseStart,and1.y,booPul3.y,booPul3.pulseStart) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (10): * Single equations (assignments): 7 * 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.0001436/0.8218, allocations: 110.2 kB / 0.7288 GB, free: 7.664 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0001435/0.822, allocations: 67.84 kB / 0.7289 GB, free: 7.598 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 1.713e-06/0.822, allocations: 0 / 0.7289 GB, free: 7.598 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 7.389e-05/0.8221, allocations: 35.94 kB / 0.7289 GB, free: 7.562 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002548/0.8223, allocations: 24.16 kB / 0.7289 GB, free: 7.539 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003657/0.8227, allocations: 200.2 kB / 0.7291 GB, free: 7.312 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002731/0.823, allocations: 0.6887 MB / 0.7298 GB, free: 6.598 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 3.84e-05/0.823, allocations: 16.55 kB / 0.7298 GB, free: 6.582 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.411e-05/0.8231, allocations: 11.44 kB / 0.7298 GB, free: 6.574 MB / 0.545 GB Notification: Performance of SimCode: time 3.11e-07/0.8231, allocations: 480 / 0.7298 GB, free: 6.574 MB / 0.545 GB Notification: Performance of Templates: time 0.003305/0.8264, allocations: 1.09 MB / 0.7309 GB, free: 5.5 MB / 0.545 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.And3.makefile (rm -f Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.And3.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.And3.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.And3.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.And3.sim & ./Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.And3 -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.And3.pipe 2>&1)