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.001453/0.001453, allocations: 105.4 kB / 15.7 MB, free: 24 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001717/0.001717, allocations: 199.2 kB / 16.64 MB, free: 6.453 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.502/1.502, allocations: 205.1 MB / 222.5 MB, free: 4.555 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.682/1.682, allocations: 292.3 MB / 0.549 GB, free: 12.75 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.001482/0.001482, allocations: 76.23 kB / 0.6718 GB, free: 26.3 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2325/0.234, allocations: 114.5 MB / 0.7837 GB, free: 13.23 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.Xor): time 0.002076/0.2361, allocations: 0.6707 MB / 0.7843 GB, free: 12.55 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.001386/0.2375, allocations: 1.188 MB / 0.7855 GB, free: 11.35 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.66e-05/0.2376, allocations: 0 / 0.7855 GB, free: 11.35 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 2.838e-05/0.2377, allocations: 3.938 kB / 0.7855 GB, free: 11.35 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 6.976e-05/0.2377, allocations: 15.86 kB / 0.7855 GB, free: 11.33 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006585/0.2384, allocations: 221.9 kB / 0.7857 GB, free: 11.12 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0002422/0.2386, allocations: 187.7 kB / 0.7859 GB, free: 10.94 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001068/0.2388, allocations: 7.984 kB / 0.7859 GB, free: 10.93 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 9.969e-05/0.2389, allocations: 71.88 kB / 0.786 GB, free: 10.86 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001433/0.239, allocations: 63.78 kB / 0.786 GB, free: 10.8 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 3.444e-05/0.2391, allocations: 20 kB / 0.786 GB, free: 10.78 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 8.89e-05/0.2392, allocations: 31.92 kB / 0.7861 GB, free: 10.75 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 2.497e-05/0.2392, allocations: 11.98 kB / 0.7861 GB, free: 10.73 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 8.992e-05/0.2393, allocations: 55.84 kB / 0.7861 GB, free: 10.68 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0002391/0.2395, allocations: 155.8 kB / 0.7863 GB, free: 10.53 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 5.25e-06/0.2395, allocations: 4 kB / 0.7863 GB, free: 10.52 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.673e-06/0.2395, allocations: 0 / 0.7863 GB, free: 10.52 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 6.673e-06/0.2396, allocations: 0 / 0.7863 GB, free: 10.52 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.0006699/0.2402, allocations: 434.7 kB / 0.7867 GB, free: 10.04 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.961e-05/0.2403, allocations: 12.03 kB / 0.7867 GB, free: 10.02 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.563e-05/0.2403, allocations: 38.75 kB / 0.7867 GB, free: 9.977 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.042e-05/0.2404, allocations: 8.938 kB / 0.7868 GB, free: 9.969 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001386/0.2405, allocations: 164.3 kB / 0.7869 GB, free: 9.77 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.34e-05/0.2406, allocations: 16.3 kB / 0.7869 GB, free: 9.754 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.863e-05/0.2406, allocations: 8.375 kB / 0.7869 GB, free: 9.746 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001445/0.2408, allocations: 50.19 kB / 0.787 GB, free: 9.691 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.059e-05/0.2408, allocations: 3.938 kB / 0.787 GB, free: 9.688 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.174e-05/0.2408, allocations: 0 / 0.787 GB, free: 9.688 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.638e-06/0.2408, allocations: 4 kB / 0.787 GB, free: 9.684 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.952e-05/0.2409, allocations: 15.98 kB / 0.787 GB, free: 9.668 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005795/0.2415, allocations: 360.7 kB / 0.7873 GB, free: 9.266 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001091/0.2416, allocations: 42.5 kB / 0.7874 GB, free: 9.215 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.252e-05/0.2416, allocations: 16.86 kB / 0.7874 GB, free: 9.195 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 8.015e-06/0.2417, allocations: 0 / 0.7874 GB, free: 9.195 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001913/0.2419, allocations: 87.36 kB / 0.7875 GB, free: 9.098 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=7): time 1.413e-06/0.2419, allocations: 0 / 0.7875 GB, free: 9.098 MB / 0.6075 GB Notification: Performance of matching and sorting (n=7): time 0.000315/0.2422, allocations: 101.6 kB / 0.7876 GB, free: 8.992 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.391e-05/0.2422, allocations: 51.41 kB / 0.7876 GB, free: 8.93 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.679e-05/0.2423, allocations: 125.7 kB / 0.7878 GB, free: 8.797 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 4.358e-05/0.2424, allocations: 33.7 kB / 0.7878 GB, free: 8.758 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 6.366e-05/0.2425, allocations: 96.11 kB / 0.7879 GB, free: 8.66 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 1.5e-05/0.2425, allocations: 7.812 kB / 0.7879 GB, free: 8.652 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.292e-05/0.2426, allocations: 49.69 kB / 0.7879 GB, free: 8.598 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0002111/0.2428, allocations: 330.8 kB / 0.7882 GB, free: 8.266 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000125/0.2429, allocations: 59.97 kB / 0.7883 GB, free: 8.207 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001436/0.2431, allocations: 96.25 kB / 0.7884 GB, free: 8.098 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001919/0.2433, allocations: 163.6 kB / 0.7886 GB, free: 7.91 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.024e-06/0.2433, allocations: 0 / 0.7886 GB, free: 7.91 MB / 0.6075 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0004144/0.2437, allocations: 256.9 kB / 0.7888 GB, free: 7.641 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 6.066e-05/0.2438, allocations: 67.39 kB / 0.7889 GB, free: 7.562 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.991e-06/0.2438, allocations: 4 kB / 0.7889 GB, free: 7.559 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.407e-05/0.2438, allocations: 0 / 0.7889 GB, free: 7.559 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.296e-05/0.2438, allocations: 4 kB / 0.7889 GB, free: 7.555 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.63e-06/0.2439, allocations: 4.125 kB / 0.7889 GB, free: 7.551 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003654/0.2442, allocations: 59.78 kB / 0.7889 GB, free: 7.492 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.224e-05/0.2443, allocations: 12.45 kB / 0.7889 GB, free: 7.48 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,xor1.y,booPul2.y,$PRE.booPul2.y,booPul1.y,$PRE.booPul1.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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001102/0.2444, allocations: 128.6 kB / 0.7891 GB, free: 7.348 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.505e-05/0.2444, allocations: 15.83 kB / 0.7891 GB, free: 7.332 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.784e-05/0.2444, allocations: 12.38 kB / 0.7891 GB, free: 7.32 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.286e-06/0.2444, allocations: 4 kB / 0.7891 GB, free: 7.316 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.478e-06/0.2445, allocations: 3.938 kB / 0.7891 GB, free: 7.312 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.755e-06/0.2445, allocations: 0 / 0.7891 GB, free: 7.312 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000138/0.2446, allocations: 181.6 kB / 0.7893 GB, free: 7.086 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.393e-06/0.2446, allocations: 0 / 0.7893 GB, free: 7.086 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.905e-06/0.2446, allocations: 0 / 0.7893 GB, free: 7.086 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.423e-06/0.2446, allocations: 0 / 0.7893 GB, free: 7.086 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.728e-06/0.2446, allocations: 4 kB / 0.7893 GB, free: 7.082 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.293e-06/0.2446, allocations: 0 / 0.7893 GB, free: 7.082 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.41e-07/0.2447, allocations: 0 / 0.7893 GB, free: 7.082 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000147/0.2448, allocations: 118.1 kB / 0.7894 GB, free: 6.949 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 4.68e-05/0.2449, allocations: 85 kB / 0.7895 GB, free: 6.848 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.85e-05/0.2449, allocations: 4 kB / 0.7895 GB, free: 6.844 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.201e-05/0.2449, allocations: 3.984 kB / 0.7895 GB, free: 6.84 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.232e-05/0.245, allocations: 11.94 kB / 0.7895 GB, free: 6.828 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.6e-06/0.245, allocations: 0 / 0.7895 GB, free: 6.828 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 4.623e-05/0.245, allocations: 91.27 kB / 0.7896 GB, free: 6.738 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.3e-07/0.245, allocations: 4 kB / 0.7896 GB, free: 6.734 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002282/0.2453, allocations: 28 kB / 0.7896 GB, free: 6.707 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0004763/0.2457, allocations: 0.6514 MB / 0.7902 GB, free: 6.027 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0003405/0.2461, allocations: 250.7 kB / 0.7905 GB, free: 5.758 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 4.028e-06/0.2461, allocations: 4.25 kB / 0.7905 GB, free: 5.754 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 4.891e-05/0.2462, allocations: 27.92 kB / 0.7905 GB, free: 5.727 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002396/0.2464, allocations: 16.17 kB / 0.7905 GB, free: 5.711 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001987/0.2484, allocations: 1.719 MB / 0.7922 GB, free: 3.867 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002867/0.2487, allocations: 0.6885 MB / 0.7929 GB, free: 3.152 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 3.073e-05/0.2487, allocations: 7.781 kB / 0.7929 GB, free: 3.145 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.469e-05/0.2488, allocations: 19.44 kB / 0.7929 GB, free: 3.129 MB / 0.6075 GB Notification: Performance of SimCode: time 2.4e-07/0.2488, allocations: 3.938 kB / 0.7929 GB, free: 3.125 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01935/0.2682, allocations: 2.881 MB / 0.7957 GB, free: 348 kB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.826/8.095, allocations: 13.17 kB / 0.7957 GB, free: 336 kB / 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 & python3 -m fmpy simulate --output-file Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.Xor_res.csv --start-time 0 --stop-time 5 --timeout 50 --relative-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)