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.558/2.558, allocations: 287.3 MB / 302.3 MB, free: 8.328 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.001545/0.001545, allocations: 193.2 kB / 370.8 MB, free: 10.84 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.071/2.071, allocations: 205.4 MB / 0.6295 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.001105/0.001105, allocations: 98.05 kB / 0.7428 GB, free: 6.59 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004845/0.0004846, allocations: 12.81 kB / 0.8657 GB, free: 141 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2073/0.2078, allocations: 115.3 MB / 0.9783 GB, free: 28.28 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.Xor): time 0.000858/0.2087, allocations: 390.5 kB / 0.9787 GB, free: 27.89 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.001553/0.2103, allocations: 1.13 MB / 0.9798 GB, free: 26.75 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.645e-05/0.2104, allocations: 4 kB / 0.9798 GB, free: 26.74 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 1.608e-05/0.2104, allocations: 0 / 0.9798 GB, free: 26.74 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 8.503e-05/0.2105, allocations: 7.984 kB / 0.9798 GB, free: 26.73 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008143/0.2113, allocations: 198 kB / 0.98 GB, free: 26.55 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0001354/0.2115, allocations: 91.81 kB / 0.9801 GB, free: 26.46 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 9.148e-05/0.2116, allocations: 8 kB / 0.9801 GB, free: 26.45 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 9.277e-05/0.2117, allocations: 59.88 kB / 0.9801 GB, free: 26.39 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 9.744e-05/0.2118, allocations: 43.88 kB / 0.9802 GB, free: 26.35 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 3.802e-05/0.2119, allocations: 8 kB / 0.9802 GB, free: 26.34 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 9.324e-05/0.212, allocations: 35.91 kB / 0.9802 GB, free: 26.3 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 1.909e-05/0.212, allocations: 7.984 kB / 0.9802 GB, free: 26.3 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 5.285e-05/0.2121, allocations: 41.7 kB / 0.9803 GB, free: 26.25 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0001661/0.2122, allocations: 108 kB / 0.9804 GB, free: 26.14 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 2.785e-06/0.2123, allocations: 0 / 0.9804 GB, free: 26.14 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.803e-06/0.2123, allocations: 0 / 0.9804 GB, free: 26.14 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 4.368e-06/0.2123, allocations: 0 / 0.9804 GB, free: 26.14 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.0004128/0.2127, allocations: 402.7 kB / 0.9807 GB, free: 25.69 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.671e-05/0.2128, allocations: 12.02 kB / 0.9808 GB, free: 25.68 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.727e-05/0.2128, allocations: 34.5 kB / 0.9808 GB, free: 25.64 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.91e-05/0.2129, allocations: 15.91 kB / 0.9808 GB, free: 25.62 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.481e-05/0.213, allocations: 171 kB / 0.981 GB, free: 25.41 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.956e-05/0.213, allocations: 4 kB / 0.981 GB, free: 25.41 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.536e-05/0.2131, allocations: 12 kB / 0.981 GB, free: 25.4 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001379/0.2132, allocations: 49.67 kB / 0.981 GB, free: 25.34 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.618e-06/0.2132, allocations: 0 / 0.981 GB, free: 25.34 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.164e-05/0.2133, allocations: 0 / 0.981 GB, free: 25.34 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.879e-06/0.2133, allocations: 0 / 0.981 GB, free: 25.34 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.979e-05/0.2133, allocations: 19.94 kB / 0.9811 GB, free: 25.32 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004979/0.2138, allocations: 364.6 kB / 0.9814 GB, free: 24.92 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 9.045e-05/0.2139, allocations: 34.58 kB / 0.9814 GB, free: 24.88 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 1.171e-05/0.214, allocations: 3.938 kB / 0.9814 GB, free: 24.87 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001798/0.2142, allocations: 83.39 kB / 0.9815 GB, free: 24.78 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=7): time 1.984e-06/0.2142, allocations: 0 / 0.9815 GB, free: 24.78 MB / 0.6198 GB Notification: Performance of matching and sorting (n=7): time 0.0002966/0.2145, allocations: 109.6 kB / 0.9816 GB, free: 24.66 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.899e-05/0.2145, allocations: 55.41 kB / 0.9817 GB, free: 24.6 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.095e-05/0.2146, allocations: 121.9 kB / 0.9818 GB, free: 24.46 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 3.642e-05/0.2147, allocations: 29.7 kB / 0.9818 GB, free: 24.43 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 5.986e-05/0.2147, allocations: 96.22 kB / 0.9819 GB, free: 24.33 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 1.792e-05/0.2148, allocations: 7.906 kB / 0.9819 GB, free: 24.32 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.932e-05/0.2148, allocations: 8 kB / 0.9819 GB, free: 24.32 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 6.023e-05/0.2149, allocations: 318.8 kB / 0.9822 GB, free: 24 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001976/0.2151, allocations: 59.97 kB / 0.9823 GB, free: 23.94 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002115/0.2153, allocations: 100.7 kB / 0.9824 GB, free: 23.82 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002007/0.2155, allocations: 111.4 kB / 0.9825 GB, free: 23.7 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.715e-06/0.2155, allocations: 4 kB / 0.9825 GB, free: 23.7 MB / 0.6198 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0005922/0.2161, allocations: 264.8 kB / 0.9827 GB, free: 23.42 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 5.354e-05/0.2162, allocations: 67.39 kB / 0.9828 GB, free: 23.34 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.925e-06/0.2162, allocations: 4 kB / 0.9828 GB, free: 23.34 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.884e-05/0.2163, allocations: 0 / 0.9828 GB, free: 23.34 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.903e-05/0.2163, allocations: 11.94 kB / 0.9828 GB, free: 23.33 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.264e-06/0.2163, allocations: 0 / 0.9828 GB, free: 23.33 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000648/0.217, allocations: 79.95 kB / 0.9829 GB, free: 23.25 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.744e-05/0.217, allocations: 16.05 kB / 0.9829 GB, free: 23.23 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.0001429/0.2172, allocations: 124.1 kB / 0.983 GB, free: 23.11 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.083e-05/0.2172, allocations: 7.906 kB / 0.983 GB, free: 23.1 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.632e-05/0.2173, allocations: 12.36 kB / 0.9831 GB, free: 23.09 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.188e-06/0.2173, allocations: 0 / 0.9831 GB, free: 23.09 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.011e-06/0.2173, allocations: 4 kB / 0.9831 GB, free: 23.09 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.248e-06/0.2173, allocations: 0 / 0.9831 GB, free: 23.09 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001344/0.2174, allocations: 177.6 kB / 0.9832 GB, free: 22.86 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.437e-06/0.2175, allocations: 3.984 kB / 0.9832 GB, free: 22.86 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.533e-05/0.2175, allocations: 480 / 0.9832 GB, free: 22.86 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.817e-06/0.2175, allocations: 0 / 0.9832 GB, free: 22.86 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.395e-05/0.2175, allocations: 4 kB / 0.9832 GB, free: 22.86 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.557e-06/0.2175, allocations: 7.938 kB / 0.9832 GB, free: 22.85 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.803e-06/0.2175, allocations: 3.938 kB / 0.9832 GB, free: 22.84 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001917/0.2177, allocations: 120.9 kB / 0.9834 GB, free: 22.71 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 2.797e-05/0.2178, allocations: 81.02 kB / 0.9834 GB, free: 22.61 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.06e-05/0.2178, allocations: 0 / 0.9834 GB, free: 22.61 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.659e-05/0.2179, allocations: 0 / 0.9834 GB, free: 22.61 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.003e-05/0.2179, allocations: 15.98 kB / 0.9835 GB, free: 22.59 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.025e-05/0.2179, allocations: 3.984 kB / 0.9835 GB, free: 22.59 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 4.329e-05/0.218, allocations: 91.28 kB / 0.9835 GB, free: 22.5 MB / 0.6198 GB Notification: Performance of sort global known variables: time 3.6e-07/0.218, allocations: 0 / 0.9835 GB, free: 22.5 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0003341/0.2184, allocations: 35.98 kB / 0.9836 GB, free: 22.46 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.0004263/0.2188, allocations: 0.644 MB / 0.9842 GB, free: 21.79 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0004385/0.2192, allocations: 250.7 kB / 0.9844 GB, free: 21.52 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 2.524e-06/0.2193, allocations: 0 / 0.9844 GB, free: 21.52 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 6.698e-05/0.2193, allocations: 32.05 kB / 0.9845 GB, free: 21.49 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002568/0.2196, allocations: 11.98 kB / 0.9845 GB, free: 21.48 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006794/0.2203, allocations: 0.9916 MB / 0.9855 GB, free: 20.43 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001299/0.2205, allocations: 0.6887 MB / 0.9861 GB, free: 19.71 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 3.953e-05/0.2205, allocations: 7.984 kB / 0.9861 GB, free: 19.7 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.893e-05/0.2206, allocations: 19.44 kB / 0.9862 GB, free: 19.68 MB / 0.6198 GB Notification: Performance of SimCode: time 9.42e-07/0.2206, allocations: 0 / 0.9862 GB, free: 19.68 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02592/0.2465, allocations: 2.56 MB / 0.9887 GB, free: 17.27 MB / 0.6198 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002662/0.2468, allocations: 191.1 kB / 0.9888 GB, free: 17.02 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.394/2.64, allocations: 3.938 kB / 0.9888 GB, free: 17.02 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)