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.001909/0.001916, allocations: 108 kB / 15.6 MB, free: 132 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.001735/0.001735, allocations: 193.4 kB / 16.53 MB, free: 6.391 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.749/1.749, allocations: 205.1 MB / 222.4 MB, free: 4.598 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.774/1.774, allocations: 292.3 MB / 0.5489 GB, free: 13.49 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.69 kB / 0.6716 GB, free: 25.81 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2756/0.2771, allocations: 114.5 MB / 0.7835 GB, free: 13.46 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.Xor): time 0.002109/0.2792, allocations: 0.671 MB / 0.7841 GB, free: 12.78 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.001537/0.2808, allocations: 1.184 MB / 0.7853 GB, free: 11.58 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.221e-05/0.2808, allocations: 0 / 0.7853 GB, free: 11.58 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 3.328e-05/0.2809, allocations: 3.938 kB / 0.7853 GB, free: 11.57 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 7.886e-05/0.281, allocations: 19.84 kB / 0.7853 GB, free: 11.55 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006192/0.2816, allocations: 210.3 kB / 0.7855 GB, free: 11.36 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0002298/0.2818, allocations: 179.8 kB / 0.7857 GB, free: 11.18 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001116/0.2819, allocations: 11.98 kB / 0.7857 GB, free: 11.17 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 9.87e-05/0.2821, allocations: 71.89 kB / 0.7858 GB, free: 11.1 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 9.745e-05/0.2822, allocations: 51.86 kB / 0.7858 GB, free: 11.05 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 3.892e-05/0.2822, allocations: 16 kB / 0.7858 GB, free: 11.03 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 8.789e-05/0.2823, allocations: 27.98 kB / 0.7859 GB, free: 11 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 2.406e-05/0.2823, allocations: 19.86 kB / 0.7859 GB, free: 10.98 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 8.674e-05/0.2824, allocations: 55.89 kB / 0.7859 GB, free: 10.93 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.000204/0.2826, allocations: 147.8 kB / 0.7861 GB, free: 10.79 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 6.723e-06/0.2826, allocations: 3.984 kB / 0.7861 GB, free: 10.78 MB / 0.6075 GB Notification: Performance of FrontEnd: time 3.066e-06/0.2827, allocations: 4 kB / 0.7861 GB, free: 10.78 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 4.899e-06/0.2827, allocations: 0 / 0.7861 GB, free: 10.78 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.0005224/0.2832, allocations: 438.7 kB / 0.7865 GB, free: 10.29 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.866e-05/0.2832, allocations: 8.031 kB / 0.7865 GB, free: 10.28 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.582e-05/0.2833, allocations: 46.73 kB / 0.7866 GB, free: 10.22 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.434e-05/0.2833, allocations: 8.938 kB / 0.7866 GB, free: 10.21 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001019/0.2834, allocations: 168.2 kB / 0.7867 GB, free: 10.01 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.621e-05/0.2835, allocations: 4.375 kB / 0.7867 GB, free: 10.01 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.144e-05/0.2835, allocations: 12.38 kB / 0.7867 GB, free: 9.996 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001262/0.2836, allocations: 50.23 kB / 0.7868 GB, free: 9.941 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.798e-06/0.2837, allocations: 11.86 kB / 0.7868 GB, free: 9.93 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.628e-06/0.2837, allocations: 0 / 0.7868 GB, free: 9.93 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.145e-06/0.2837, allocations: 8 kB / 0.7868 GB, free: 9.922 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.504e-05/0.2837, allocations: 15.98 kB / 0.7868 GB, free: 9.906 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004825/0.2842, allocations: 352.7 kB / 0.7872 GB, free: 9.512 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 9.903e-05/0.2843, allocations: 34.58 kB / 0.7872 GB, free: 9.469 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.697e-05/0.2844, allocations: 24.88 kB / 0.7872 GB, free: 9.441 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 1.138e-05/0.2844, allocations: 0 / 0.7872 GB, free: 9.441 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002102/0.2846, allocations: 87.27 kB / 0.7873 GB, free: 9.344 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=7): time 1.192e-06/0.2846, allocations: 0 / 0.7873 GB, free: 9.344 MB / 0.6075 GB Notification: Performance of matching and sorting (n=7): time 0.0002587/0.2849, allocations: 97.67 kB / 0.7874 GB, free: 9.242 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.258e-05/0.2849, allocations: 63.27 kB / 0.7875 GB, free: 9.168 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.241e-05/0.285, allocations: 117.8 kB / 0.7876 GB, free: 9.043 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 3.588e-05/0.2851, allocations: 33.7 kB / 0.7876 GB, free: 9.004 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 6.159e-05/0.2851, allocations: 92.14 kB / 0.7877 GB, free: 8.91 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 2.05e-05/0.2852, allocations: 19.78 kB / 0.7877 GB, free: 8.891 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.289e-05/0.2853, allocations: 49.69 kB / 0.7878 GB, free: 8.836 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001208/0.2854, allocations: 318.8 kB / 0.7881 GB, free: 8.516 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001386/0.2855, allocations: 63.95 kB / 0.7881 GB, free: 8.453 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001386/0.2857, allocations: 88.27 kB / 0.7882 GB, free: 8.352 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002013/0.2859, allocations: 168 kB / 0.7884 GB, free: 8.16 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.063e-06/0.2859, allocations: 0 / 0.7884 GB, free: 8.16 MB / 0.6075 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0003964/0.2863, allocations: 256.9 kB / 0.7886 GB, free: 7.891 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 6.634e-05/0.2864, allocations: 67.39 kB / 0.7887 GB, free: 7.812 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.362e-06/0.2864, allocations: 4.125 kB / 0.7887 GB, free: 7.809 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.439e-05/0.2864, allocations: 4 kB / 0.7887 GB, free: 7.805 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.233e-05/0.2864, allocations: 3.938 kB / 0.7887 GB, free: 7.801 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.781e-06/0.2865, allocations: 4 kB / 0.7887 GB, free: 7.797 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003922/0.2869, allocations: 59.78 kB / 0.7887 GB, free: 7.738 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.243e-05/0.2869, allocations: 11.98 kB / 0.7888 GB, free: 7.727 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.0001098/0.287, allocations: 129 kB / 0.7889 GB, free: 7.594 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.663e-05/0.287, allocations: 11.89 kB / 0.7889 GB, free: 7.582 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.15e-05/0.2871, allocations: 8.375 kB / 0.7889 GB, free: 7.574 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.097e-06/0.2871, allocations: 4 kB / 0.7889 GB, free: 7.57 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.3e-06/0.2871, allocations: 0 / 0.7889 GB, free: 7.57 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.105e-06/0.2871, allocations: 0 / 0.7889 GB, free: 7.57 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001534/0.2873, allocations: 185.6 kB / 0.7891 GB, free: 7.34 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.473e-06/0.2873, allocations: 0 / 0.7891 GB, free: 7.34 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.04e-05/0.2873, allocations: 3.938 kB / 0.7891 GB, free: 7.336 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.753e-06/0.2873, allocations: 0 / 0.7891 GB, free: 7.336 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.869e-06/0.2873, allocations: 8 kB / 0.7891 GB, free: 7.328 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.523e-06/0.2873, allocations: 0 / 0.7891 GB, free: 7.328 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.62e-07/0.2873, allocations: 0 / 0.7891 GB, free: 7.328 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001492/0.2875, allocations: 114.1 kB / 0.7892 GB, free: 7.199 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 5.234e-05/0.2875, allocations: 81.02 kB / 0.7893 GB, free: 7.102 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.714e-05/0.2876, allocations: 3.938 kB / 0.7893 GB, free: 7.098 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.213e-05/0.2876, allocations: 7.984 kB / 0.7893 GB, free: 7.09 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.954e-05/0.2876, allocations: 8 kB / 0.7893 GB, free: 7.082 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.972e-06/0.2877, allocations: 4 kB / 0.7893 GB, free: 7.078 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 5.624e-05/0.2877, allocations: 95.2 kB / 0.7894 GB, free: 6.984 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.2e-07/0.2877, allocations: 3.938 kB / 0.7894 GB, free: 6.98 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002328/0.288, allocations: 28 kB / 0.7894 GB, free: 6.953 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.0004854/0.2884, allocations: 0.6553 MB / 0.7901 GB, free: 6.27 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0003471/0.2888, allocations: 250.7 kB / 0.7903 GB, free: 6 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 1.994e-06/0.2888, allocations: 0 / 0.7903 GB, free: 6 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 5.45e-05/0.2889, allocations: 35.91 kB / 0.7903 GB, free: 5.965 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002452/0.2891, allocations: 12.61 kB / 0.7904 GB, free: 5.953 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001995/0.2911, allocations: 1.714 MB / 0.792 GB, free: 4.117 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002431/0.2914, allocations: 0.6924 MB / 0.7927 GB, free: 3.398 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 2.84e-05/0.2914, allocations: 4 kB / 0.7927 GB, free: 3.395 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.698e-05/0.2915, allocations: 19.42 kB / 0.7927 GB, free: 3.379 MB / 0.6075 GB Notification: Performance of SimCode: time 2.31e-07/0.2915, allocations: 4 kB / 0.7927 GB, free: 3.375 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02079/0.3123, allocations: 2.869 MB / 0.7955 GB, free: 0.5859 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.973/8.286, allocations: 9.172 kB / 0.7955 GB, free: 0.5781 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 & 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)