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.632/1.632, allocations: 288.2 MB / 303.2 MB, free: 8.117 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.001138/0.001138, allocations: 193 kB / 371.8 MB, free: 10.21 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.8/1.8, allocations: 205.4 MB / 0.6305 GB, free: 9.945 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.0009447/0.0009448, allocations: 96.3 kB / 0.7439 GB, free: 5.875 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.00041/0.00041, allocations: 14.31 kB / 0.8669 GB, free: 141.9 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2472/0.2476, allocations: 115.3 MB / 0.9795 GB, free: 27.54 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.Xor): time 0.0006082/0.2483, allocations: 386.8 kB / 0.9799 GB, free: 27.16 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.001248/0.2495, allocations: 1.126 MB / 0.981 GB, free: 26.02 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.311e-05/0.2496, allocations: 0 / 0.981 GB, free: 26.02 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 1.362e-05/0.2496, allocations: 0 / 0.981 GB, free: 26.02 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 7.297e-05/0.2497, allocations: 23.91 kB / 0.981 GB, free: 25.99 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005127/0.2502, allocations: 194.2 kB / 0.9812 GB, free: 25.81 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 8.881e-05/0.2503, allocations: 79.91 kB / 0.9812 GB, free: 25.73 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 9.373e-05/0.2504, allocations: 15.97 kB / 0.9813 GB, free: 25.71 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 7.198e-05/0.2505, allocations: 55.89 kB / 0.9813 GB, free: 25.66 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 8.493e-05/0.2506, allocations: 51.86 kB / 0.9814 GB, free: 25.61 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 2.483e-05/0.2506, allocations: 8 kB / 0.9814 GB, free: 25.6 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 6.122e-05/0.2507, allocations: 23.98 kB / 0.9814 GB, free: 25.58 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 1.476e-05/0.2507, allocations: 3.938 kB / 0.9814 GB, free: 25.57 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 4.547e-05/0.2508, allocations: 41.7 kB / 0.9814 GB, free: 25.53 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0001218/0.2509, allocations: 108 kB / 0.9815 GB, free: 25.42 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 2.725e-06/0.2509, allocations: 0 / 0.9815 GB, free: 25.42 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.603e-06/0.2509, allocations: 4 kB / 0.9815 GB, free: 25.42 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 4.158e-06/0.2509, allocations: 0 / 0.9815 GB, free: 25.42 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.0003943/0.2513, allocations: 398.7 kB / 0.9819 GB, free: 24.97 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 3.951e-05/0.2514, allocations: 20.02 kB / 0.9819 GB, free: 24.95 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.968e-05/0.2514, allocations: 34.55 kB / 0.982 GB, free: 24.91 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.294e-05/0.2514, allocations: 15.84 kB / 0.982 GB, free: 24.89 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.635e-05/0.2515, allocations: 167 kB / 0.9822 GB, free: 24.69 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.572e-05/0.2516, allocations: 4 kB / 0.9822 GB, free: 24.68 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.635e-05/0.2516, allocations: 12 kB / 0.9822 GB, free: 24.67 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001062/0.2517, allocations: 45.67 kB / 0.9822 GB, free: 24.62 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.304e-06/0.2517, allocations: 0 / 0.9822 GB, free: 24.62 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.136e-05/0.2517, allocations: 4 kB / 0.9822 GB, free: 24.62 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.181e-06/0.2517, allocations: 7.922 kB / 0.9822 GB, free: 24.61 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.825e-05/0.2518, allocations: 19.98 kB / 0.9822 GB, free: 24.59 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004046/0.2522, allocations: 368.5 kB / 0.9826 GB, free: 24.18 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 6.494e-05/0.2523, allocations: 30.58 kB / 0.9826 GB, free: 24.14 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 9.568e-06/0.2523, allocations: 96 / 0.9826 GB, free: 24.14 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001512/0.2524, allocations: 91.3 kB / 0.9827 GB, free: 24.04 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=7): time 1.212e-06/0.2525, allocations: 0 / 0.9827 GB, free: 24.04 MB / 0.6198 GB Notification: Performance of matching and sorting (n=7): time 0.0002194/0.2527, allocations: 97.58 kB / 0.9828 GB, free: 23.94 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.261e-05/0.2527, allocations: 59.41 kB / 0.9829 GB, free: 23.87 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.107e-05/0.2528, allocations: 122 kB / 0.983 GB, free: 23.73 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 2.49e-05/0.2528, allocations: 29.7 kB / 0.983 GB, free: 23.7 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 4.607e-05/0.2529, allocations: 96.22 kB / 0.9831 GB, free: 23.6 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 1.458e-05/0.2529, allocations: 7.906 kB / 0.9831 GB, free: 23.59 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.755e-05/0.2529, allocations: 12 kB / 0.9831 GB, free: 23.58 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 5.928e-05/0.253, allocations: 322.8 kB / 0.9834 GB, free: 23.26 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001061/0.2531, allocations: 55.97 kB / 0.9835 GB, free: 23.2 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001186/0.2532, allocations: 100.2 kB / 0.9836 GB, free: 23.09 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001115/0.2533, allocations: 115.4 kB / 0.9837 GB, free: 22.96 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.275e-06/0.2534, allocations: 0 / 0.9837 GB, free: 22.96 MB / 0.6198 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0003182/0.2537, allocations: 260.8 kB / 0.9839 GB, free: 22.69 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 3.658e-05/0.2537, allocations: 69.11 kB / 0.984 GB, free: 22.61 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.55e-06/0.2537, allocations: 0 / 0.984 GB, free: 22.61 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.439e-05/0.2538, allocations: 4 kB / 0.984 GB, free: 22.61 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.926e-05/0.2538, allocations: 0 / 0.984 GB, free: 22.61 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.553e-06/0.2538, allocations: 7.938 kB / 0.984 GB, free: 22.6 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003785/0.2542, allocations: 79.98 kB / 0.9841 GB, free: 22.52 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.511e-05/0.2542, allocations: 12 kB / 0.9841 GB, free: 22.51 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 7.548e-05/0.2543, allocations: 129.8 kB / 0.9842 GB, free: 22.38 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.116e-05/0.2543, allocations: 7.906 kB / 0.9842 GB, free: 22.37 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.279e-05/0.2543, allocations: 8.375 kB / 0.9842 GB, free: 22.36 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.663e-06/0.2543, allocations: 0 / 0.9842 GB, free: 22.36 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.027e-06/0.2543, allocations: 64 / 0.9842 GB, free: 22.36 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.518e-06/0.2544, allocations: 4 kB / 0.9842 GB, free: 22.36 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.855e-05/0.2545, allocations: 186 kB / 0.9844 GB, free: 22.13 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.243e-06/0.2545, allocations: 0 / 0.9844 GB, free: 22.13 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.215e-06/0.2545, allocations: 4 kB / 0.9844 GB, free: 22.12 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.613e-06/0.2545, allocations: 4 kB / 0.9844 GB, free: 22.12 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.306e-06/0.2545, allocations: 0 / 0.9844 GB, free: 22.12 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.142e-06/0.2545, allocations: 3.938 kB / 0.9844 GB, free: 22.12 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.733e-06/0.2545, allocations: 0 / 0.9844 GB, free: 22.12 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001075/0.2546, allocations: 120.9 kB / 0.9845 GB, free: 21.98 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 2.032e-05/0.2546, allocations: 85.02 kB / 0.9846 GB, free: 21.88 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.482e-05/0.2547, allocations: 3.984 kB / 0.9846 GB, free: 21.88 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.968e-05/0.2547, allocations: 0 / 0.9846 GB, free: 21.88 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.518e-05/0.2547, allocations: 15.98 kB / 0.9846 GB, free: 21.86 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.713e-06/0.2548, allocations: 4 kB / 0.9846 GB, free: 21.86 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 2.942e-05/0.2548, allocations: 91.27 kB / 0.9847 GB, free: 21.77 MB / 0.6198 GB Notification: Performance of sort global known variables: time 1.4e-07/0.2548, allocations: 0 / 0.9847 GB, free: 21.77 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0002174/0.255, allocations: 28 kB / 0.9848 GB, free: 21.74 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.0003132/0.2553, allocations: 0.6475 MB / 0.9854 GB, free: 21.06 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0002577/0.2556, allocations: 250.7 kB / 0.9856 GB, free: 20.79 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 1.904e-06/0.2556, allocations: 0 / 0.9856 GB, free: 20.79 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 4.285e-05/0.2557, allocations: 27.98 kB / 0.9857 GB, free: 20.76 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001953/0.2559, allocations: 15.92 kB / 0.9857 GB, free: 20.75 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006313/0.2565, allocations: 0.9961 MB / 0.9866 GB, free: 19.69 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001068/0.2566, allocations: 0.6926 MB / 0.9873 GB, free: 18.97 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 2.59e-05/0.2567, allocations: 4 kB / 0.9873 GB, free: 18.97 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.208e-05/0.2567, allocations: 19.44 kB / 0.9873 GB, free: 18.95 MB / 0.6198 GB Notification: Performance of SimCode: time 2.3e-07/0.2567, allocations: 0 / 0.9873 GB, free: 18.95 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01324/0.2699, allocations: 2.569 MB / 0.9899 GB, free: 16.54 MB / 0.6198 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001704/0.2702, allocations: 196.4 kB / 0.99 GB, free: 16.29 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.43/1.7, allocations: 0 / 0.99 GB, free: 16.29 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)