Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_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 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.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_8_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_8_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.0008079/0.000808, allocations: 91.84 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.000935/0.0009351, 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.415/1.415, allocations: 205.4 MB / 222.1 MB, free: 5.52 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.638/1.638, allocations: 292.7 MB / 0.5499 GB, free: 14.57 MB / 462.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.0005468/0.0005468, allocations: 16.94 kB / 0.6737 GB, free: 26.05 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2423/0.2429, allocations: 116.3 MB / 0.7873 GB, free: 11.91 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.And3): time 0.0008327/0.2437, allocations: 434.3 kB / 0.7877 GB, free: 11.49 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.001355/0.2451, allocations: 1.243 MB / 0.7889 GB, free: 10.23 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.363e-05/0.2452, allocations: 0 / 0.7889 GB, free: 10.23 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 1.785e-05/0.2452, allocations: 7.938 kB / 0.7889 GB, free: 10.22 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 7.952e-05/0.2453, allocations: 23.84 kB / 0.789 GB, free: 10.2 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006944/0.246, allocations: 265.5 kB / 0.7892 GB, free: 9.949 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0002027/0.2462, allocations: 203.5 kB / 0.7894 GB, free: 9.75 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 8.438e-05/0.2463, allocations: 20.17 kB / 0.7894 GB, free: 9.727 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001/0.2464, allocations: 83.86 kB / 0.7895 GB, free: 9.645 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 9.82e-05/0.2465, allocations: 71.77 kB / 0.7896 GB, free: 9.574 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 3.201e-05/0.2465, allocations: 16 kB / 0.7896 GB, free: 9.559 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 7.029e-05/0.2466, allocations: 23.98 kB / 0.7896 GB, free: 9.535 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 2.158e-05/0.2466, allocations: 11.98 kB / 0.7896 GB, free: 9.523 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 5.263e-05/0.2467, allocations: 45.64 kB / 0.7897 GB, free: 9.473 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0001591/0.2469, allocations: 151.9 kB / 0.7898 GB, free: 9.324 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 4.007e-06/0.2469, allocations: 0 / 0.7898 GB, free: 9.324 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.292e-06/0.2469, allocations: 4 kB / 0.7898 GB, free: 9.32 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 3.236e-06/0.2469, allocations: 0 / 0.7898 GB, free: 9.32 MB / 0.6075 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.0004261/0.2473, allocations: 456.2 kB / 0.7902 GB, free: 8.809 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.326e-05/0.2474, allocations: 19.95 kB / 0.7903 GB, free: 8.789 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.842e-05/0.2474, allocations: 11.91 kB / 0.7903 GB, free: 8.777 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000113/0.2475, allocations: 173.8 kB / 0.7904 GB, free: 8.57 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.223e-05/0.2476, allocations: 8 kB / 0.7904 GB, free: 8.562 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.281e-05/0.2476, allocations: 15.94 kB / 0.7905 GB, free: 8.547 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001195/0.2477, allocations: 61.59 kB / 0.7905 GB, free: 8.48 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.502e-06/0.2477, allocations: 8 kB / 0.7905 GB, free: 8.473 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.202e-05/0.2478, allocations: 3.984 kB / 0.7905 GB, free: 8.469 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.118e-06/0.2478, allocations: 0 / 0.7905 GB, free: 8.469 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.377e-05/0.2478, allocations: 20 kB / 0.7906 GB, free: 8.449 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004902/0.2483, allocations: 416.4 kB / 0.7909 GB, free: 7.992 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 5.944e-05/0.2484, allocations: 38.5 kB / 0.791 GB, free: 7.945 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.05e-05/0.2484, allocations: 24.86 kB / 0.791 GB, free: 7.918 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 9.638e-06/0.2484, allocations: 0 / 0.791 GB, free: 7.918 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001482/0.2486, allocations: 95.52 kB / 0.7911 GB, free: 7.812 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=10): time 1.203e-06/0.2486, allocations: 0 / 0.7911 GB, free: 7.812 MB / 0.6075 GB Notification: Performance of matching and sorting (n=10): time 0.0002566/0.2489, allocations: 137.5 kB / 0.7912 GB, free: 7.672 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.752e-05/0.2489, allocations: 59.33 kB / 0.7913 GB, free: 7.602 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001018/0.249, allocations: 141.7 kB / 0.7914 GB, free: 7.453 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 3.4e-05/0.2491, allocations: 37.7 kB / 0.7915 GB, free: 7.41 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 7.495e-05/0.2491, allocations: 96.03 kB / 0.7915 GB, free: 7.312 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 1.859e-05/0.2492, allocations: 15.81 kB / 0.7916 GB, free: 7.297 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.632e-05/0.2492, allocations: 12 kB / 0.7916 GB, free: 7.285 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 9.592e-05/0.2493, allocations: 318.8 kB / 0.7919 GB, free: 6.965 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000163/0.2495, allocations: 87.95 kB / 0.792 GB, free: 6.879 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001878/0.2497, allocations: 134 kB / 0.7921 GB, free: 6.727 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001868/0.2498, allocations: 168.6 kB / 0.7923 GB, free: 6.547 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.094e-06/0.2499, allocations: 0 / 0.7923 GB, free: 6.547 MB / 0.6075 GB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0005225/0.2504, allocations: 378.4 kB / 0.7926 GB, free: 6.152 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 6.611e-05/0.2505, allocations: 101.1 kB / 0.7927 GB, free: 6.035 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.661e-06/0.2505, allocations: 0 / 0.7927 GB, free: 6.035 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.344e-05/0.2505, allocations: 4 kB / 0.7927 GB, free: 6.031 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.167e-05/0.2505, allocations: 8.359 kB / 0.7927 GB, free: 6.023 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.025e-06/0.2505, allocations: 3.953 kB / 0.7927 GB, free: 6.02 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004746/0.251, allocations: 123.8 kB / 0.7928 GB, free: 5.898 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.178e-05/0.2511, allocations: 23.98 kB / 0.7929 GB, free: 5.875 MB / 0.6075 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 13 ($whenCondition5,$whenCondition6,$whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2,$PRE.booPul1.y,booPul1.y,$PRE.booPul2.y,booPul2.y,and1.y,$PRE.booPul3.y,booPul3.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): 10 * Array equations: 0 * Algorithm blocks: 3 * 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.0001179/0.2512, allocations: 138.4 kB / 0.793 GB, free: 5.73 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.355e-05/0.2512, allocations: 7.906 kB / 0.793 GB, free: 5.723 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.545e-05/0.2512, allocations: 8.375 kB / 0.793 GB, free: 5.715 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.206e-06/0.2512, allocations: 4 kB / 0.793 GB, free: 5.711 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.762e-06/0.2512, allocations: 0 / 0.793 GB, free: 5.711 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.27e-06/0.2513, allocations: 3.953 kB / 0.793 GB, free: 5.707 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001436/0.2514, allocations: 193.6 kB / 0.7932 GB, free: 5.469 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.92e-07/0.2514, allocations: 0 / 0.7932 GB, free: 5.469 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.819e-06/0.2514, allocations: 0 / 0.7932 GB, free: 5.469 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.627e-06/0.2514, allocations: 4 kB / 0.7932 GB, free: 5.465 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.192e-05/0.2515, allocations: 4 kB / 0.7932 GB, free: 5.461 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.282e-06/0.2515, allocations: 3.938 kB / 0.7932 GB, free: 5.457 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.11e-07/0.2515, allocations: 0 / 0.7932 GB, free: 5.457 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000168/0.2516, allocations: 140.9 kB / 0.7934 GB, free: 5.301 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 4.215e-05/0.2517, allocations: 85.02 kB / 0.7934 GB, free: 5.199 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.568e-05/0.2517, allocations: 0 / 0.7934 GB, free: 5.199 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.195e-05/0.2517, allocations: 7.984 kB / 0.7934 GB, free: 5.191 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.779e-05/0.2518, allocations: 11.98 kB / 0.7935 GB, free: 5.18 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.484e-06/0.2518, allocations: 4 kB / 0.7935 GB, free: 5.176 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 5.746e-05/0.2519, allocations: 102.2 kB / 0.7936 GB, free: 5.078 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.4e-07/0.2519, allocations: 0 / 0.7936 GB, free: 5.078 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002393/0.2521, allocations: 40 kB / 0.7936 GB, free: 5.039 MB / 0.6075 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 ($whenCondition5,$whenCondition6,$whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2,booPul1.y,booPul2.y,and1.y,booPul3.y) * 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 (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.0001344/0.2523, allocations: 111.2 kB / 0.7937 GB, free: 4.922 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0004254/0.2527, allocations: 366 kB / 0.794 GB, free: 4.527 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 4.258e-06/0.2527, allocations: 8 kB / 0.7941 GB, free: 4.52 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 5.461e-05/0.2528, allocations: 28 kB / 0.7941 GB, free: 4.492 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000238/0.253, allocations: 28.58 kB / 0.7941 GB, free: 4.465 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003236/0.2533, allocations: 215.3 kB / 0.7943 GB, free: 4.223 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002153/0.2536, allocations: 0.6965 MB / 0.795 GB, free: 3.5 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 3.154e-05/0.2536, allocations: 12.42 kB / 0.795 GB, free: 3.484 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.911e-05/0.2536, allocations: 11.44 kB / 0.795 GB, free: 3.477 MB / 0.6075 GB Notification: Performance of SimCode: time 2.3e-07/0.2536, allocations: 4 kB / 0.795 GB, free: 3.473 MB / 0.6075 GB Notification: Performance of Templates: time 0.004472/0.2581, allocations: 2.379 MB / 0.7973 GB, free: 1.129 MB / 0.6075 GB make -j1 -f Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.And3.makefile Environment - environmentSimulation: (rm -f Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.And3.pipe ; mkfifo Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.And3.pipe ; head -c 1048576 < Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.And3.pipe >> ../files/Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.And3.sim & ./Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.And3 -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.And3.pipe 2>&1) Environment - environmentSimulation: