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.001152/0.001166, allocations: 84.38 kB / 15.06 MB, free: 1.09 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.00146/0.00146, allocations: 168.7 kB / 15.95 MB, free: 204 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.659/1.659, allocations: 205.4 MB / 222.1 MB, free: 5.648 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.753/1.753, allocations: 292.7 MB / 0.5499 GB, free: 14.57 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.0005437/0.0005437, allocations: 15.91 kB / 0.6738 GB, free: 26.23 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2425/0.2431, allocations: 116.3 MB / 0.7874 GB, free: 11.84 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.Xor): time 0.0008415/0.244, allocations: 390.4 kB / 0.7878 GB, free: 11.46 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.001428/0.2454, allocations: 1.162 MB / 0.7889 GB, free: 10.29 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.618e-05/0.2455, allocations: 0 / 0.7889 GB, free: 10.29 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 1.496e-05/0.2455, allocations: 0 / 0.7889 GB, free: 10.29 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 7.355e-05/0.2456, allocations: 19.84 kB / 0.789 GB, free: 10.27 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005699/0.2461, allocations: 195.5 kB / 0.7891 GB, free: 10.08 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0001564/0.2463, allocations: 135.7 kB / 0.7893 GB, free: 9.949 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 8.642e-05/0.2464, allocations: 7.984 kB / 0.7893 GB, free: 9.941 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 8.277e-05/0.2465, allocations: 55.89 kB / 0.7893 GB, free: 9.887 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 9.432e-05/0.2466, allocations: 51.86 kB / 0.7894 GB, free: 9.836 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 2.593e-05/0.2466, allocations: 8 kB / 0.7894 GB, free: 9.828 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 7.313e-05/0.2467, allocations: 20 kB / 0.7894 GB, free: 9.809 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 2.428e-05/0.2467, allocations: 15.91 kB / 0.7894 GB, free: 9.793 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 5.696e-05/0.2468, allocations: 45.64 kB / 0.7895 GB, free: 9.742 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0001493/0.247, allocations: 108 kB / 0.7896 GB, free: 9.637 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 4.449e-06/0.247, allocations: 0 / 0.7896 GB, free: 9.637 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.183e-06/0.247, allocations: 0 / 0.7896 GB, free: 9.637 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 3.837e-06/0.247, allocations: 0 / 0.7896 GB, free: 9.637 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.0004316/0.2474, allocations: 402.7 kB / 0.7899 GB, free: 9.184 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.835e-05/0.2475, allocations: 12.03 kB / 0.79 GB, free: 9.172 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.918e-05/0.2475, allocations: 34.56 kB / 0.79 GB, free: 9.129 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.361e-05/0.2476, allocations: 11.89 kB / 0.79 GB, free: 9.117 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001164/0.2477, allocations: 174.9 kB / 0.7902 GB, free: 8.906 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.027e-05/0.2477, allocations: 7.984 kB / 0.7902 GB, free: 8.898 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.7e-05/0.2477, allocations: 12 kB / 0.7902 GB, free: 8.887 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000109/0.2478, allocations: 49.67 kB / 0.7902 GB, free: 8.832 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.656e-06/0.2479, allocations: 0 / 0.7902 GB, free: 8.832 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.021e-05/0.2479, allocations: 0 / 0.7902 GB, free: 8.832 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.729e-06/0.2479, allocations: 0 / 0.7902 GB, free: 8.832 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.647e-05/0.248, allocations: 20 kB / 0.7903 GB, free: 8.812 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004512/0.2484, allocations: 364.5 kB / 0.7906 GB, free: 8.406 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 7.589e-05/0.2485, allocations: 34.58 kB / 0.7906 GB, free: 8.363 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.259e-05/0.2485, allocations: 16.94 kB / 0.7907 GB, free: 8.344 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 1.138e-05/0.2486, allocations: 4 kB / 0.7907 GB, free: 8.34 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001639/0.2487, allocations: 79.38 kB / 0.7907 GB, free: 8.25 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=7): time 2.474e-06/0.2487, allocations: 0 / 0.7907 GB, free: 8.25 MB / 0.6075 GB Notification: Performance of matching and sorting (n=7): time 0.0002243/0.249, allocations: 105.5 kB / 0.7908 GB, free: 8.141 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.966e-05/0.249, allocations: 59.41 kB / 0.7909 GB, free: 8.07 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.736e-05/0.2491, allocations: 122 kB / 0.791 GB, free: 7.938 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 2.87e-05/0.2492, allocations: 29.7 kB / 0.791 GB, free: 7.902 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 6.507e-05/0.2492, allocations: 92.23 kB / 0.7911 GB, free: 7.809 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 1.657e-05/0.2493, allocations: 15.91 kB / 0.7911 GB, free: 7.793 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.734e-05/0.2493, allocations: 4 kB / 0.7911 GB, free: 7.789 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001173/0.2494, allocations: 318.8 kB / 0.7914 GB, free: 7.469 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001226/0.2495, allocations: 59.91 kB / 0.7915 GB, free: 7.41 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002308/0.2498, allocations: 104.2 kB / 0.7916 GB, free: 7.293 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001351/0.2499, allocations: 111.9 kB / 0.7917 GB, free: 7.172 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.769e-06/0.2499, allocations: 4 kB / 0.7917 GB, free: 7.168 MB / 0.6075 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0003987/0.2503, allocations: 264.7 kB / 0.792 GB, free: 6.891 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 6.149e-05/0.2504, allocations: 70.2 kB / 0.792 GB, free: 6.812 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.169e-06/0.2504, allocations: 0 / 0.792 GB, free: 6.812 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.164e-05/0.2504, allocations: 4 kB / 0.792 GB, free: 6.809 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.23e-05/0.2505, allocations: 8 kB / 0.792 GB, free: 6.801 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.933e-06/0.2505, allocations: 4.25 kB / 0.792 GB, free: 6.797 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003649/0.2509, allocations: 86.23 kB / 0.7921 GB, free: 6.715 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.106e-05/0.2509, allocations: 15.94 kB / 0.7921 GB, free: 6.699 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.858e-05/0.251, allocations: 121.8 kB / 0.7923 GB, free: 6.57 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.292e-05/0.2511, allocations: 7.906 kB / 0.7923 GB, free: 6.562 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.587e-05/0.2511, allocations: 4.375 kB / 0.7923 GB, free: 6.559 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.552e-06/0.2511, allocations: 0 / 0.7923 GB, free: 6.559 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.983e-06/0.2511, allocations: 4 kB / 0.7923 GB, free: 6.555 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.276e-06/0.2511, allocations: 0 / 0.7923 GB, free: 6.555 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001436/0.2513, allocations: 181.6 kB / 0.7925 GB, free: 6.328 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.487e-06/0.2513, allocations: 8.062 kB / 0.7925 GB, free: 6.32 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.147e-06/0.2513, allocations: 0 / 0.7925 GB, free: 6.32 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.184e-06/0.2513, allocations: 0 / 0.7925 GB, free: 6.32 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.724e-06/0.2513, allocations: 0 / 0.7925 GB, free: 6.32 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.601e-06/0.2513, allocations: 11.97 kB / 0.7925 GB, free: 6.309 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.312e-06/0.2513, allocations: 0 / 0.7925 GB, free: 6.309 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001411/0.2515, allocations: 109 kB / 0.7926 GB, free: 6.184 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 3.728e-05/0.2515, allocations: 89 kB / 0.7927 GB, free: 6.078 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.514e-05/0.2515, allocations: 0 / 0.7927 GB, free: 6.078 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.953e-05/0.2516, allocations: 4 kB / 0.7927 GB, free: 6.074 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.088e-05/0.2516, allocations: 11.98 kB / 0.7927 GB, free: 6.062 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.805e-06/0.2516, allocations: 4 kB / 0.7927 GB, free: 6.059 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 4.927e-05/0.2517, allocations: 91.27 kB / 0.7928 GB, free: 5.969 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.1e-07/0.2517, allocations: 0 / 0.7928 GB, free: 5.969 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.000235/0.2519, allocations: 32 kB / 0.7928 GB, free: 5.938 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.0004832/0.2524, allocations: 0.6633 MB / 0.7934 GB, free: 5.246 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0003239/0.2527, allocations: 242.6 kB / 0.7937 GB, free: 4.984 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.254e-06/0.2528, allocations: 0 / 0.7937 GB, free: 4.984 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 4.829e-05/0.2528, allocations: 27.98 kB / 0.7937 GB, free: 4.957 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002443/0.2531, allocations: 20.17 kB / 0.7937 GB, free: 4.938 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001217/0.2543, allocations: 0.706 MB / 0.7944 GB, free: 4.168 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002636/0.2546, allocations: 0.6926 MB / 0.7951 GB, free: 3.449 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 3.162e-05/0.2546, allocations: 7.984 kB / 0.7951 GB, free: 3.441 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.842e-05/0.2547, allocations: 19.44 kB / 0.7951 GB, free: 3.426 MB / 0.6075 GB Notification: Performance of SimCode: time 2.31e-07/0.2547, allocations: 0 / 0.7951 GB, free: 3.426 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01432/0.269, allocations: 2.59 MB / 0.7976 GB, free: 0.9844 MB / 0.6075 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001879/0.2692, allocations: 182.9 kB / 0.7978 GB, free: 0.7461 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.781/2.05, allocations: 0 / 0.7978 GB, free: 0.7461 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: