Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.Xor.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Logical.Validation.Xor,fileNamePrefix="Buildings_8_0_0_Buildings_Controls_OBC_CDL_Logical_Validation_Xor",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Logical.Validation.Xor,fileNamePrefix="Buildings_8_0_0_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.0/package.mo): time 2.72/2.72, allocations: 287.5 MB / 302.4 MB, free: 8.387 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.00131/0.00131, allocations: 182 kB / 371 MB, free: 10.85 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.276/2.276, allocations: 205.4 MB / 0.6297 GB, free: 10.58 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.001006/0.001005, allocations: 96.39 kB / 0.743 GB, free: 6.574 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0005115/0.0005118, allocations: 17.39 kB / 0.8659 GB, free: 141 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2455/0.2461, allocations: 115.3 MB / 0.9785 GB, free: 28.23 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.Xor): time 0.000897/0.247, allocations: 394.5 kB / 0.9788 GB, free: 27.84 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.00163/0.2487, allocations: 1.165 MB / 0.98 GB, free: 26.66 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.91e-05/0.2488, allocations: 0 / 0.98 GB, free: 26.66 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 1.613e-05/0.2488, allocations: 4 kB / 0.98 GB, free: 26.65 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 7.552e-05/0.2489, allocations: 7.922 kB / 0.98 GB, free: 26.64 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007945/0.2497, allocations: 202.8 kB / 0.9802 GB, free: 26.45 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0001721/0.2499, allocations: 135.7 kB / 0.9803 GB, free: 26.32 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 9.44e-05/0.25, allocations: 4 kB / 0.9803 GB, free: 26.32 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 9.223e-05/0.2501, allocations: 63.88 kB / 0.9804 GB, free: 26.25 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001058/0.2502, allocations: 43.88 kB / 0.9804 GB, free: 26.21 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 4.38e-05/0.2503, allocations: 8 kB / 0.9804 GB, free: 26.2 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001047/0.2504, allocations: 27.98 kB / 0.9805 GB, free: 26.18 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 1.909e-05/0.2504, allocations: 7.922 kB / 0.9805 GB, free: 26.17 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 5.367e-05/0.2505, allocations: 41.7 kB / 0.9805 GB, free: 26.12 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0001643/0.2506, allocations: 104 kB / 0.9806 GB, free: 26.02 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 6.483e-06/0.2507, allocations: 0 / 0.9806 GB, free: 26.02 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.024e-06/0.2507, allocations: 0 / 0.9806 GB, free: 26.02 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 4.558e-06/0.2507, allocations: 4 kB / 0.9806 GB, free: 26.02 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.0004286/0.2511, allocations: 402.7 kB / 0.981 GB, free: 25.56 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.951e-05/0.2512, allocations: 16.02 kB / 0.981 GB, free: 25.55 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.63e-05/0.2512, allocations: 34.56 kB / 0.981 GB, free: 25.5 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.844e-05/0.2513, allocations: 11.91 kB / 0.9811 GB, free: 25.49 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.17e-05/0.2514, allocations: 171 kB / 0.9812 GB, free: 25.29 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.802e-05/0.2514, allocations: 11.94 kB / 0.9812 GB, free: 25.27 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.61e-05/0.2515, allocations: 11.94 kB / 0.9812 GB, free: 25.26 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001258/0.2516, allocations: 45.67 kB / 0.9813 GB, free: 25.21 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.476e-06/0.2516, allocations: 0 / 0.9813 GB, free: 25.21 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.39e-05/0.2517, allocations: 8 kB / 0.9813 GB, free: 25.2 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.03e-06/0.2517, allocations: 0 / 0.9813 GB, free: 25.2 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.055e-05/0.2518, allocations: 12 kB / 0.9813 GB, free: 25.19 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005396/0.2523, allocations: 368.6 kB / 0.9817 GB, free: 24.78 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 9.469e-05/0.2524, allocations: 34.5 kB / 0.9817 GB, free: 24.74 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.181e-05/0.2525, allocations: 16.86 kB / 0.9817 GB, free: 24.72 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 8.436e-06/0.2525, allocations: 4.031 kB / 0.9817 GB, free: 24.71 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001909/0.2527, allocations: 83.36 kB / 0.9818 GB, free: 24.62 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=7): time 1.893e-06/0.2527, allocations: 0 / 0.9818 GB, free: 24.62 MB / 0.6198 GB Notification: Performance of matching and sorting (n=7): time 0.0003059/0.253, allocations: 109.5 kB / 0.9819 GB, free: 24.51 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.249e-05/0.2531, allocations: 55.36 kB / 0.9819 GB, free: 24.44 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.429e-05/0.2532, allocations: 122 kB / 0.9821 GB, free: 24.31 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 3.667e-05/0.2532, allocations: 29.7 kB / 0.9821 GB, free: 24.27 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 6.269e-05/0.2533, allocations: 96.22 kB / 0.9822 GB, free: 24.18 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 1.797e-05/0.2533, allocations: 7.906 kB / 0.9822 GB, free: 24.17 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.8e-05/0.2533, allocations: 4 kB / 0.9822 GB, free: 24.16 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 6.296e-05/0.2534, allocations: 326.8 kB / 0.9825 GB, free: 23.84 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001986/0.2536, allocations: 55.97 kB / 0.9826 GB, free: 23.78 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002146/0.2539, allocations: 92.25 kB / 0.9826 GB, free: 23.68 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002013/0.2541, allocations: 115.3 kB / 0.9828 GB, free: 23.55 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.485e-06/0.2541, allocations: 4 kB / 0.9828 GB, free: 23.55 MB / 0.6198 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0005898/0.2547, allocations: 265.2 kB / 0.983 GB, free: 23.27 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 5.484e-05/0.2547, allocations: 71.39 kB / 0.9831 GB, free: 23.19 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.763e-06/0.2548, allocations: 0 / 0.9831 GB, free: 23.19 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.574e-05/0.2548, allocations: 0 / 0.9831 GB, free: 23.19 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.681e-05/0.2548, allocations: 4 kB / 0.9831 GB, free: 23.18 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.444e-06/0.2548, allocations: 64 / 0.9831 GB, free: 23.18 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006536/0.2555, allocations: 87.94 kB / 0.9832 GB, free: 23.1 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.427e-05/0.2556, allocations: 12 kB / 0.9832 GB, free: 23.09 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 0.0001105/0.2557, allocations: 135.1 kB / 0.9833 GB, free: 22.95 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.653e-05/0.2557, allocations: 3.906 kB / 0.9833 GB, free: 22.94 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.304e-05/0.2558, allocations: 12.38 kB / 0.9833 GB, free: 22.93 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.918e-06/0.2558, allocations: 0 / 0.9833 GB, free: 22.93 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.78e-06/0.2558, allocations: 0 / 0.9833 GB, free: 22.93 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.13e-06/0.2558, allocations: 3.984 kB / 0.9833 GB, free: 22.93 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001323/0.2559, allocations: 181.6 kB / 0.9835 GB, free: 22.7 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.923e-06/0.2559, allocations: 0 / 0.9835 GB, free: 22.7 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.273e-05/0.256, allocations: 0 / 0.9835 GB, free: 22.7 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.767e-06/0.256, allocations: 8 kB / 0.9835 GB, free: 22.7 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.195e-05/0.256, allocations: 0 / 0.9835 GB, free: 22.7 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.963e-06/0.256, allocations: 3.938 kB / 0.9835 GB, free: 22.69 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.724e-06/0.256, allocations: 0 / 0.9835 GB, free: 22.69 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001801/0.2562, allocations: 116.9 kB / 0.9836 GB, free: 22.56 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 2.702e-05/0.2563, allocations: 81.02 kB / 0.9837 GB, free: 22.46 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.48e-05/0.2563, allocations: 7.984 kB / 0.9837 GB, free: 22.45 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.598e-05/0.2564, allocations: 4 kB / 0.9837 GB, free: 22.45 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.831e-05/0.2564, allocations: 11.98 kB / 0.9837 GB, free: 22.44 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.065e-05/0.2564, allocations: 4 kB / 0.9837 GB, free: 22.43 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 4.355e-05/0.2565, allocations: 87.27 kB / 0.9838 GB, free: 22.35 MB / 0.6198 GB Notification: Performance of sort global known variables: time 3.41e-07/0.2565, allocations: 0 / 0.9838 GB, free: 22.35 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0003001/0.2568, allocations: 32 kB / 0.9838 GB, free: 22.32 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.0004233/0.2572, allocations: 0.6592 MB / 0.9845 GB, free: 21.62 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0004386/0.2577, allocations: 243 kB / 0.9847 GB, free: 21.36 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 2.405e-06/0.2577, allocations: 0 / 0.9847 GB, free: 21.36 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 6.944e-05/0.2578, allocations: 31.98 kB / 0.9847 GB, free: 21.33 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000325/0.2581, allocations: 22.16 kB / 0.9848 GB, free: 21.31 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00146/0.2596, allocations: 0.7007 MB / 0.9854 GB, free: 20.56 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001489/0.2598, allocations: 0.6926 MB / 0.9861 GB, free: 19.84 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 4.765e-05/0.2598, allocations: 7.984 kB / 0.9861 GB, free: 19.83 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.231e-05/0.2599, allocations: 19.44 kB / 0.9862 GB, free: 19.81 MB / 0.6198 GB Notification: Performance of SimCode: time 1.423e-06/0.2599, allocations: 3.938 kB / 0.9862 GB, free: 19.81 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02749/0.2874, allocations: 2.599 MB / 0.9887 GB, free: 17.36 MB / 0.6198 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000273/0.2878, allocations: 191.4 kB / 0.9889 GB, free: 17.12 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.535/2.823, allocations: 0 / 0.9889 GB, free: 17.12 MB / 0.6198 GB (rm -f Buildings_8.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.Xor.pipe ; mkfifo Buildings_8.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.Xor.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.Xor.pipe >> ../files/Buildings_8.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.Xor.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Controls_OBC_CDL_Logical_Validation_Xor_fmu --startTime=0 --stopTime=5 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Controls_OBC_CDL_Logical_Validation_Xor.fmu > Buildings_8.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.Xor.pipe 2>&1)