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: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Logical.Validation.Xor,fileNamePrefix="Buildings_8_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_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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001382/0.001382, allocations: 100.3 kB / 15.05 MB, free: 1.105 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.00169/0.00169, allocations: 177.3 kB / 15.95 MB, free: 216 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.573/1.573, allocations: 205.4 MB / 222.1 MB, free: 5.656 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.908/1.908, allocations: 292.6 MB / 0.5497 GB, free: 14.64 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.0006866/0.0006866, allocations: 14.62 kB / 0.6737 GB, free: 26.37 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2749/0.2756, allocations: 116.3 MB / 0.7872 GB, free: 11.89 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.Xor): time 0.0009026/0.2766, allocations: 394.5 kB / 0.7876 GB, free: 11.5 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.00133/0.2779, allocations: 1.134 MB / 0.7887 GB, free: 10.36 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.712e-05/0.278, allocations: 0 / 0.7887 GB, free: 10.36 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 1.985e-05/0.278, allocations: 3.938 kB / 0.7887 GB, free: 10.35 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 6.697e-05/0.2781, allocations: 3.984 kB / 0.7887 GB, free: 10.35 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005965/0.2787, allocations: 205.6 kB / 0.7889 GB, free: 10.15 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0001102/0.2788, allocations: 83.88 kB / 0.789 GB, free: 10.07 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 8.669e-05/0.2789, allocations: 8 kB / 0.789 GB, free: 10.06 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 8.566e-05/0.279, allocations: 59.89 kB / 0.7891 GB, free: 10 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 9.114e-05/0.2791, allocations: 43.86 kB / 0.7891 GB, free: 9.961 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 2.57e-05/0.2791, allocations: 12 kB / 0.7891 GB, free: 9.949 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 6.51e-05/0.2792, allocations: 19.98 kB / 0.7891 GB, free: 9.93 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 1.738e-05/0.2792, allocations: 7.984 kB / 0.7892 GB, free: 9.922 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 5.184e-05/0.2793, allocations: 45.64 kB / 0.7892 GB, free: 9.871 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0001322/0.2794, allocations: 115.9 kB / 0.7893 GB, free: 9.758 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 2.775e-06/0.2794, allocations: 0 / 0.7893 GB, free: 9.758 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.764e-06/0.2794, allocations: 0 / 0.7893 GB, free: 9.758 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 3.597e-06/0.2794, allocations: 0 / 0.7893 GB, free: 9.758 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0004044/0.2798, allocations: 406.7 kB / 0.7897 GB, free: 9.301 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.086e-05/0.2799, allocations: 8.031 kB / 0.7897 GB, free: 9.293 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.238e-05/0.2799, allocations: 30.56 kB / 0.7897 GB, free: 9.254 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.414e-05/0.28, allocations: 11.91 kB / 0.7897 GB, free: 9.242 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001121/0.2801, allocations: 171 kB / 0.7899 GB, free: 9.035 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.771e-05/0.2801, allocations: 8 kB / 0.7899 GB, free: 9.027 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.833e-05/0.2802, allocations: 12 kB / 0.7899 GB, free: 9.016 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001145/0.2803, allocations: 53.61 kB / 0.79 GB, free: 8.957 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.164e-06/0.2803, allocations: 0 / 0.79 GB, free: 8.957 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.318e-06/0.2803, allocations: 0 / 0.79 GB, free: 8.957 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.052e-06/0.2803, allocations: 3.984 kB / 0.79 GB, free: 8.953 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.197e-05/0.2804, allocations: 16 kB / 0.79 GB, free: 8.938 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005116/0.2809, allocations: 364.5 kB / 0.7903 GB, free: 8.531 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 8.601e-05/0.281, allocations: 46.5 kB / 0.7904 GB, free: 8.477 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 1.075e-05/0.281, allocations: 0 / 0.7904 GB, free: 8.477 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001793/0.2812, allocations: 79.45 kB / 0.7905 GB, free: 8.387 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=7): time 1.132e-06/0.2812, allocations: 0 / 0.7905 GB, free: 8.387 MB / 0.6075 GB Notification: Performance of matching and sorting (n=7): time 0.000257/0.2815, allocations: 109.5 kB / 0.7906 GB, free: 8.273 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.156e-05/0.2815, allocations: 51.41 kB / 0.7906 GB, free: 8.211 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.508e-05/0.2816, allocations: 118 kB / 0.7907 GB, free: 8.082 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 3.215e-05/0.2817, allocations: 29.7 kB / 0.7908 GB, free: 8.047 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 7.183e-05/0.2817, allocations: 104.2 kB / 0.7909 GB, free: 7.941 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 1.551e-05/0.2818, allocations: 7.906 kB / 0.7909 GB, free: 7.934 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.742e-05/0.2818, allocations: 4 kB / 0.7909 GB, free: 7.93 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001194/0.2819, allocations: 323.2 kB / 0.7912 GB, free: 7.605 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001192/0.282, allocations: 59.95 kB / 0.7912 GB, free: 7.547 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000136/0.2822, allocations: 96.2 kB / 0.7913 GB, free: 7.438 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001362/0.2823, allocations: 119.3 kB / 0.7914 GB, free: 7.309 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.004e-06/0.2823, allocations: 0 / 0.7914 GB, free: 7.309 MB / 0.6075 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0003872/0.2827, allocations: 260.9 kB / 0.7917 GB, free: 7.035 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 4.92e-05/0.2828, allocations: 66.34 kB / 0.7918 GB, free: 6.961 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.414e-06/0.2828, allocations: 12 kB / 0.7918 GB, free: 6.949 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.419e-05/0.2828, allocations: 3.984 kB / 0.7918 GB, free: 6.945 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.128e-05/0.2828, allocations: 4 kB / 0.7918 GB, free: 6.941 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.961e-06/0.2828, allocations: 0 / 0.7918 GB, free: 6.941 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003849/0.2832, allocations: 78.97 kB / 0.7918 GB, free: 6.867 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.011e-05/0.2833, allocations: 11.98 kB / 0.7919 GB, free: 6.855 MB / 0.6075 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.78e-05/0.2834, allocations: 129.7 kB / 0.792 GB, free: 6.719 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.336e-05/0.2834, allocations: 7.906 kB / 0.792 GB, free: 6.711 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.793e-05/0.2834, allocations: 8.359 kB / 0.792 GB, free: 6.703 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.038e-06/0.2834, allocations: 8 kB / 0.792 GB, free: 6.695 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.631e-06/0.2835, allocations: 0 / 0.792 GB, free: 6.695 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.856e-06/0.2835, allocations: 0 / 0.792 GB, free: 6.695 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001219/0.2836, allocations: 181.6 kB / 0.7922 GB, free: 6.469 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.042e-06/0.2836, allocations: 0 / 0.7922 GB, free: 6.469 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.6e-05/0.2836, allocations: 3.984 kB / 0.7922 GB, free: 6.465 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.844e-06/0.2836, allocations: 3.938 kB / 0.7922 GB, free: 6.461 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.006e-05/0.2836, allocations: 4 kB / 0.7922 GB, free: 6.457 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.243e-06/0.2836, allocations: 0 / 0.7922 GB, free: 6.457 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.142e-06/0.2836, allocations: 0 / 0.7922 GB, free: 6.457 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000133/0.2838, allocations: 117.3 kB / 0.7923 GB, free: 6.324 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 3.458e-05/0.2838, allocations: 84.95 kB / 0.7924 GB, free: 6.223 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.479e-05/0.2839, allocations: 0 / 0.7924 GB, free: 6.223 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.298e-05/0.2839, allocations: 8 kB / 0.7924 GB, free: 6.215 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.851e-05/0.2839, allocations: 7.984 kB / 0.7924 GB, free: 6.207 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.452e-06/0.2839, allocations: 3.984 kB / 0.7924 GB, free: 6.203 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 4.011e-05/0.284, allocations: 91.31 kB / 0.7925 GB, free: 6.113 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.2e-07/0.284, allocations: 0 / 0.7925 GB, free: 6.113 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002237/0.2842, allocations: 36 kB / 0.7925 GB, free: 6.078 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: 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.000383/0.2846, allocations: 0.6476 MB / 0.7932 GB, free: 5.402 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0002925/0.2849, allocations: 246.7 kB / 0.7934 GB, free: 5.137 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.144e-06/0.2849, allocations: 256 / 0.7934 GB, free: 5.137 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 4.599e-05/0.285, allocations: 39.92 kB / 0.7934 GB, free: 5.098 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001722/0.2851, allocations: 4 kB / 0.7934 GB, free: 5.094 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006451/0.2858, allocations: 0.995 MB / 0.7944 GB, free: 4.027 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002258/0.286, allocations: 0.6965 MB / 0.7951 GB, free: 3.305 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 2.783e-05/0.2861, allocations: 7.984 kB / 0.7951 GB, free: 3.297 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.401e-05/0.2861, allocations: 19.44 kB / 0.7951 GB, free: 3.281 MB / 0.6075 GB Notification: Performance of SimCode: time 1.282e-06/0.2861, allocations: 0 / 0.7951 GB, free: 3.281 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01239/0.2985, allocations: 2.561 MB / 0.7976 GB, free: 0.8633 MB / 0.6075 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002064/0.2988, allocations: 181.7 kB / 0.7978 GB, free: 0.625 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.814/2.112, allocations: 0 / 0.7978 GB, free: 0.625 MB / 0.6075 GB (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 & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Controls_OBC_CDL_Logical_Validation_Xor_fmu --startTime=0 --stopTime=5 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Controls_OBC_CDL_Logical_Validation_Xor.fmu > Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.Xor.pipe 2>&1) Environment - environmentSimulation: