Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.Xor.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.Xor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.Xor") translateModel(Buildings.Controls.OBC.CDL.Logical.Validation.Xor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.Xor") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001167/0.001167, allocations: 102.4 kB / 16.29 MB, free: 6.113 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.001265/0.001265, allocations: 183.7 kB / 17.22 MB, free: 5.73 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.66/1.66, allocations: 205.1 MB / 223.1 MB, free: 12.3 MB / 190.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.915/1.915, allocations: 292.3 MB / 0.5495 GB, free: 17.44 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.001624/0.001625, allocations: 75.89 kB / 0.6722 GB, free: 6.504 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2877/0.2893, allocations: 114.5 MB / 0.7841 GB, free: 3.844 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.Xor): time 0.002763/0.2921, allocations: 0.6623 MB / 0.7847 GB, free: 3.176 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.001953/0.2941, allocations: 1.191 MB / 0.7859 GB, free: 1.969 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.058e-05/0.2942, allocations: 0 / 0.7859 GB, free: 1.969 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 3.355e-05/0.2942, allocations: 3.938 kB / 0.7859 GB, free: 1.965 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 7.052e-05/0.2943, allocations: 7.922 kB / 0.7859 GB, free: 1.957 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007461/0.2951, allocations: 222.1 kB / 0.7861 GB, free: 1.746 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.0002491/0.2953, allocations: 183.8 kB / 0.7863 GB, free: 1.566 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001211/0.2954, allocations: 15.98 kB / 0.7863 GB, free: 1.551 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001053/0.2956, allocations: 71.83 kB / 0.7864 GB, free: 1.48 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001489/0.2957, allocations: 67.83 kB / 0.7864 GB, free: 1.414 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 3.916e-05/0.2958, allocations: 15.94 kB / 0.7865 GB, free: 1.398 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 9.527e-05/0.2959, allocations: 35.98 kB / 0.7865 GB, free: 1.363 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 2.125e-05/0.2959, allocations: 4 kB / 0.7865 GB, free: 1.359 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 9.412e-05/0.296, allocations: 59.81 kB / 0.7866 GB, free: 1.301 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.0002256/0.2962, allocations: 155.9 kB / 0.7867 GB, free: 1.148 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 4.188e-06/0.2962, allocations: 0 / 0.7867 GB, free: 1.148 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.483e-06/0.2962, allocations: 0 / 0.7867 GB, free: 1.148 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 5.45e-06/0.2962, allocations: 0 / 0.7867 GB, free: 1.148 MB / 0.6544 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.000573/0.2968, allocations: 430.8 kB / 0.7871 GB, free: 0.6641 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 3.784e-05/0.2969, allocations: 8.031 kB / 0.7871 GB, free: 0.6562 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.705e-05/0.2969, allocations: 16.83 kB / 0.7871 GB, free: 0.6406 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001284/0.2971, allocations: 176.2 kB / 0.7873 GB, free: 440 kB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.704e-05/0.2971, allocations: 4.375 kB / 0.7873 GB, free: 436 kB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.718e-05/0.2971, allocations: 8.375 kB / 0.7873 GB, free: 428 kB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001121/0.2973, allocations: 58.23 kB / 0.7874 GB, free: 364 kB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.057e-06/0.2973, allocations: 192 / 0.7874 GB, free: 364 kB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.299e-05/0.2973, allocations: 3.938 kB / 0.7874 GB, free: 360 kB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.518e-06/0.2973, allocations: 3.938 kB / 0.7874 GB, free: 356 kB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.279e-05/0.2973, allocations: 12 kB / 0.7874 GB, free: 344 kB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.6044/0.9017, allocations: 360.1 kB / 0.7877 GB, free: 48.5 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001364/0.9019, allocations: 37.84 kB / 0.7878 GB, free: 48.48 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.044e-05/0.902, allocations: 17.41 kB / 0.7878 GB, free: 48.47 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 1.871e-05/0.902, allocations: 1.812 kB / 0.7878 GB, free: 48.47 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000204/0.9022, allocations: 85.28 kB / 0.7879 GB, free: 48.42 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=7): time 2.284e-06/0.9022, allocations: 0 / 0.7879 GB, free: 48.42 MB / 0.6544 GB Notification: Performance of matching and sorting (n=7): time 0.0003671/0.9026, allocations: 107.6 kB / 0.788 GB, free: 48.39 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.628e-05/0.9026, allocations: 57.22 kB / 0.788 GB, free: 48.33 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.427e-05/0.9027, allocations: 115.5 kB / 0.7881 GB, free: 48.23 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 3.556e-05/0.9028, allocations: 34.83 kB / 0.7882 GB, free: 48.2 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 6.12e-05/0.9028, allocations: 93.89 kB / 0.7883 GB, free: 48.12 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 1.937e-05/0.9029, allocations: 16.42 kB / 0.7883 GB, free: 48.12 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.891e-05/0.903, allocations: 48.88 kB / 0.7883 GB, free: 48.1 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 9.344e-05/0.9031, allocations: 318.6 kB / 0.7886 GB, free: 47.79 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001433/0.9032, allocations: 62.19 kB / 0.7887 GB, free: 47.79 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001386/0.9034, allocations: 92.09 kB / 0.7888 GB, free: 47.75 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001838/0.9036, allocations: 160.8 kB / 0.7889 GB, free: 47.65 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.384e-06/0.9036, allocations: 0 / 0.7889 GB, free: 47.65 MB / 0.6544 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.000409/0.904, allocations: 265.2 kB / 0.7892 GB, free: 47.55 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 6.647e-05/0.9041, allocations: 77.16 kB / 0.7893 GB, free: 47.48 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.875e-06/0.9041, allocations: 0.8438 kB / 0.7893 GB, free: 47.48 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.628e-05/0.9041, allocations: 2.625 kB / 0.7893 GB, free: 47.48 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.988e-05/0.9041, allocations: 9.688 kB / 0.7893 GB, free: 47.48 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.487e-06/0.9042, allocations: 0.5 kB / 0.7893 GB, free: 47.48 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003211/0.9045, allocations: 50.02 kB / 0.7893 GB, free: 47.48 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.345e-05/0.9045, allocations: 16.62 kB / 0.7893 GB, free: 47.48 MB / 0.6544 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 9 ($whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2,xor1.y,booPul2.y,$PRE.booPul2.y,booPul1.y,$PRE.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): 7 * Array equations: 0 * Algorithm blocks: 2 * 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.855e-05/0.9046, allocations: 120.9 kB / 0.7894 GB, free: 47.37 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.494e-05/0.9047, allocations: 13.28 kB / 0.7895 GB, free: 47.36 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.768e-05/0.9047, allocations: 8.844 kB / 0.7895 GB, free: 47.36 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.809e-06/0.9047, allocations: 5.594 kB / 0.7895 GB, free: 47.36 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.504e-06/0.9047, allocations: 0.5625 kB / 0.7895 GB, free: 47.36 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.727e-06/0.9047, allocations: 4.25 kB / 0.7895 GB, free: 47.36 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001315/0.9049, allocations: 173.8 kB / 0.7896 GB, free: 47.18 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.042e-06/0.9049, allocations: 2.688 kB / 0.7896 GB, free: 47.18 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.885e-06/0.9049, allocations: 2.625 kB / 0.7896 GB, free: 47.18 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.366e-06/0.9049, allocations: 3.938 kB / 0.7897 GB, free: 47.17 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.289e-05/0.9049, allocations: 7.547 kB / 0.7897 GB, free: 47.17 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.122e-06/0.9049, allocations: 0 / 0.7897 GB, free: 47.17 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.142e-06/0.9049, allocations: 0.6562 kB / 0.7897 GB, free: 47.17 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001555/0.9051, allocations: 117.5 kB / 0.7898 GB, free: 47.11 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 3.454e-05/0.9051, allocations: 83.73 kB / 0.7899 GB, free: 47.01 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.113e-05/0.9052, allocations: 9.547 kB / 0.7899 GB, free: 47 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.898e-05/0.9052, allocations: 0 / 0.7899 GB, free: 47 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.864e-05/0.9053, allocations: 13.42 kB / 0.7899 GB, free: 47 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.676e-06/0.9053, allocations: 3.094 kB / 0.7899 GB, free: 47 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 3.757e-05/0.9053, allocations: 88.95 kB / 0.79 GB, free: 46.93 MB / 0.6544 GB Notification: Performance of sort global known variables: time 9.1e-08/0.9053, allocations: 0.5 kB / 0.79 GB, free: 46.93 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0002426/0.9056, allocations: 30.47 kB / 0.79 GB, free: 46.93 MB / 0.6544 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 ($whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2,booPul1.y,booPul2.y,xor1.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.0001949/0.9058, allocations: 107 kB / 0.7901 GB, free: 46.84 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.000336/0.9061, allocations: 245.4 kB / 0.7903 GB, free: 46.72 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 2.554e-06/0.9061, allocations: 0 / 0.7903 GB, free: 46.72 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 5.039e-05/0.9062, allocations: 29.53 kB / 0.7904 GB, free: 46.72 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002572/0.9064, allocations: 15.52 kB / 0.7904 GB, free: 46.72 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003699/0.9068, allocations: 160.6 kB / 0.7905 GB, free: 46.61 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001695/0.907, allocations: 0.6872 MB / 0.7912 GB, free: 45.91 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 2.889e-05/0.907, allocations: 13.48 kB / 0.7912 GB, free: 45.91 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.339e-05/0.9071, allocations: 13.81 kB / 0.7912 GB, free: 45.91 MB / 0.6544 GB Notification: Performance of SimCode: time 2.41e-07/0.9071, allocations: 0 / 0.7912 GB, free: 45.91 MB / 0.6544 GB Notification: Performance of Templates: time 0.004954/0.912, allocations: 1.847 MB / 0.793 GB, free: 45.84 MB / 0.6544 GB make -j1 -f Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.Xor.makefile (rm -f Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.Xor.pipe ; mkfifo Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.Xor.pipe ; head -c 1048576 < Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.Xor.pipe >> ../files/Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.Xor.sim & ./Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.Xor -abortSlowSimulation -alarm=480 -s cvode -lv LOG_STATS > Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.Xor.pipe 2>&1)