Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.Xor.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Logical.Validation.Xor,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Controls_OBC_CDL_Logical_Validation_Xor",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Logical.Validation.Xor,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Controls_OBC_CDL_Logical_Validation_Xor",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.696/1.696, allocations: 288.4 MB / 303.3 MB, free: 8.066 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001004/0.001004, allocations: 194.7 kB / 372 MB, free: 10.26 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.937/1.937, allocations: 205.4 MB / 0.6307 GB, free: 10 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008139/0.000814, allocations: 90.92 kB / 0.744 GB, free: 5.93 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004074/0.0004074, allocations: 16.33 kB / 0.867 GB, free: 142 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2555/0.2559, allocations: 115.3 MB / 0.9797 GB, free: 27.56 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.Xor): time 0.0009236/0.2569, allocations: 386.7 kB / 0.98 GB, free: 27.18 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.001426/0.2583, allocations: 1.169 MB / 0.9812 GB, free: 25.99 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.445e-05/0.2584, allocations: 4 kB / 0.9812 GB, free: 25.99 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 2.022e-05/0.2584, allocations: 0 / 0.9812 GB, free: 25.99 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 8.525e-05/0.2585, allocations: 3.938 kB / 0.9812 GB, free: 25.98 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007238/0.2593, allocations: 199.3 kB / 0.9814 GB, free: 25.79 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0001658/0.2594, allocations: 135.7 kB / 0.9815 GB, free: 25.66 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 9.17e-05/0.2595, allocations: 11.98 kB / 0.9815 GB, free: 25.65 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000135/0.2597, allocations: 59.89 kB / 0.9816 GB, free: 25.59 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 9.602e-05/0.2598, allocations: 47.86 kB / 0.9816 GB, free: 25.54 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 3.358e-05/0.2598, allocations: 8 kB / 0.9816 GB, free: 25.54 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 8.447e-05/0.2599, allocations: 19.98 kB / 0.9816 GB, free: 25.52 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 2.022e-05/0.2599, allocations: 15.92 kB / 0.9817 GB, free: 25.5 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 6.227e-05/0.26, allocations: 37.7 kB / 0.9817 GB, free: 25.46 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0001542/0.2602, allocations: 104 kB / 0.9818 GB, free: 25.36 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 5.881e-06/0.2602, allocations: 0 / 0.9818 GB, free: 25.36 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.914e-06/0.2602, allocations: 0 / 0.9818 GB, free: 25.36 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 6.382e-06/0.2602, allocations: 0 / 0.9818 GB, free: 25.36 MB / 0.6198 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.0005037/0.2607, allocations: 410.7 kB / 0.9822 GB, free: 24.89 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.875e-05/0.2608, allocations: 12.02 kB / 0.9822 GB, free: 24.88 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.367e-05/0.2608, allocations: 34.56 kB / 0.9822 GB, free: 24.84 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.972e-05/0.2609, allocations: 11.91 kB / 0.9822 GB, free: 24.83 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.31e-05/0.261, allocations: 175 kB / 0.9824 GB, free: 24.62 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.107e-05/0.261, allocations: 8 kB / 0.9824 GB, free: 24.61 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.173e-05/0.2611, allocations: 11.94 kB / 0.9824 GB, free: 24.6 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001288/0.2612, allocations: 53.67 kB / 0.9825 GB, free: 24.54 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.267e-06/0.2612, allocations: 4 kB / 0.9825 GB, free: 24.54 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.31e-05/0.2612, allocations: 3.984 kB / 0.9825 GB, free: 24.53 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.806e-06/0.2612, allocations: 0 / 0.9825 GB, free: 24.53 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.708e-05/0.2613, allocations: 12 kB / 0.9825 GB, free: 24.52 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00049/0.2618, allocations: 364.5 kB / 0.9828 GB, free: 24.11 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 8.239e-05/0.2619, allocations: 42.5 kB / 0.9829 GB, free: 24.06 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.815e-05/0.2619, allocations: 12.86 kB / 0.9829 GB, free: 24.05 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 1.289e-05/0.2619, allocations: 8 kB / 0.9829 GB, free: 24.04 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001433/0.2621, allocations: 83.44 kB / 0.983 GB, free: 23.95 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=7): time 1.423e-06/0.2621, allocations: 0 / 0.983 GB, free: 23.95 MB / 0.6198 GB Notification: Performance of matching and sorting (n=7): time 0.0002421/0.2623, allocations: 105.5 kB / 0.9831 GB, free: 23.84 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.662e-05/0.2624, allocations: 55.41 kB / 0.9831 GB, free: 23.77 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.446e-05/0.2625, allocations: 122 kB / 0.9833 GB, free: 23.64 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 2.917e-05/0.2625, allocations: 37.7 kB / 0.9833 GB, free: 23.59 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 5.427e-05/0.2626, allocations: 88.23 kB / 0.9834 GB, free: 23.5 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 1.638e-05/0.2626, allocations: 15.89 kB / 0.9834 GB, free: 23.49 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.784e-05/0.2626, allocations: 4 kB / 0.9834 GB, free: 23.48 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 7.398e-05/0.2627, allocations: 318.8 kB / 0.9837 GB, free: 23.16 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001174/0.2628, allocations: 59.97 kB / 0.9838 GB, free: 23.11 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001225/0.263, allocations: 103.1 kB / 0.9839 GB, free: 22.99 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001283/0.2631, allocations: 107.4 kB / 0.984 GB, free: 22.88 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.206e-06/0.2631, allocations: 0 / 0.984 GB, free: 22.88 MB / 0.6198 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0003535/0.2635, allocations: 269.2 kB / 0.9842 GB, free: 22.59 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 4.871e-05/0.2635, allocations: 67.39 kB / 0.9843 GB, free: 22.52 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.474e-06/0.2635, allocations: 0 / 0.9843 GB, free: 22.52 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.779e-05/0.2636, allocations: 4.125 kB / 0.9843 GB, free: 22.51 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.439e-05/0.2636, allocations: 4 kB / 0.9843 GB, free: 22.51 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.174e-06/0.2636, allocations: 4 kB / 0.9843 GB, free: 22.5 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004082/0.2641, allocations: 83.86 kB / 0.9844 GB, free: 22.42 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.08e-05/0.2641, allocations: 11.95 kB / 0.9844 GB, free: 22.41 MB / 0.6198 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,$PRE.booPul1.y,booPul1.y,$PRE.booPul2.y,booPul2.y,xor1.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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 9.744e-05/0.2642, allocations: 125.8 kB / 0.9845 GB, free: 22.28 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.401e-05/0.2642, allocations: 7.906 kB / 0.9845 GB, free: 22.27 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.704e-05/0.2643, allocations: 8.375 kB / 0.9845 GB, free: 22.27 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.284e-06/0.2643, allocations: 0 / 0.9845 GB, free: 22.27 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.02e-06/0.2643, allocations: 0 / 0.9845 GB, free: 22.27 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.977e-06/0.2643, allocations: 8 kB / 0.9845 GB, free: 22.26 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001068/0.2644, allocations: 173.6 kB / 0.9847 GB, free: 22.04 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.296e-06/0.2644, allocations: 4 kB / 0.9847 GB, free: 22.04 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.998e-06/0.2644, allocations: 3.938 kB / 0.9847 GB, free: 22.03 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.925e-06/0.2644, allocations: 0 / 0.9847 GB, free: 22.03 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.128e-05/0.2645, allocations: 4 kB / 0.9847 GB, free: 22.03 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.988e-06/0.2645, allocations: 4 kB / 0.9847 GB, free: 22.02 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.112e-06/0.2645, allocations: 0 / 0.9847 GB, free: 22.02 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001275/0.2646, allocations: 121 kB / 0.9848 GB, free: 21.89 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 2.359e-05/0.2646, allocations: 89.02 kB / 0.9849 GB, free: 21.78 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.713e-05/0.2647, allocations: 3.984 kB / 0.9849 GB, free: 21.78 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.068e-05/0.2647, allocations: 0 / 0.9849 GB, free: 21.78 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.433e-05/0.2647, allocations: 7.984 kB / 0.9849 GB, free: 21.77 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.895e-06/0.2648, allocations: 8 kB / 0.9849 GB, free: 21.76 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 3.51e-05/0.2648, allocations: 91.27 kB / 0.985 GB, free: 21.67 MB / 0.6198 GB Notification: Performance of sort global known variables: time 1.1e-07/0.2648, allocations: 0 / 0.985 GB, free: 21.67 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0002208/0.265, allocations: 28 kB / 0.985 GB, free: 21.64 MB / 0.6198 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 (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.0003535/0.2654, allocations: 0.6553 MB / 0.9857 GB, free: 20.96 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0002819/0.2657, allocations: 243 kB / 0.9859 GB, free: 20.7 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 2.255e-06/0.2657, allocations: 0 / 0.9859 GB, free: 20.7 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 4.128e-05/0.2657, allocations: 27.97 kB / 0.9859 GB, free: 20.67 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002285/0.266, allocations: 24.17 kB / 0.986 GB, free: 20.64 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009758/0.267, allocations: 0.7083 MB / 0.9866 GB, free: 19.89 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000115/0.2671, allocations: 0.6925 MB / 0.9873 GB, free: 19.17 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 3.362e-05/0.2671, allocations: 7.984 kB / 0.9873 GB, free: 19.16 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.574e-05/0.2672, allocations: 15.44 kB / 0.9873 GB, free: 19.14 MB / 0.6198 GB Notification: Performance of SimCode: time 2.4e-07/0.2672, allocations: 4 kB / 0.9873 GB, free: 19.14 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01541/0.2826, allocations: 2.605 MB / 0.9899 GB, free: 16.7 MB / 0.6198 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001806/0.2828, allocations: 189.6 kB / 0.9901 GB, free: 16.46 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.541/1.824, allocations: 4 kB / 0.9901 GB, free: 16.45 MB / 0.6198 GB (rm -f Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.Xor.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.Xor.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.Xor.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.Xor.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Controls_OBC_CDL_Logical_Validation_Xor_fmu --startTime=0 --stopTime=5 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Controls_OBC_CDL_Logical_Validation_Xor.fmu > Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.Xor.pipe 2>&1)