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: translateModel(Buildings.Controls.OBC.CDL.Logical.Validation.Xor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.Xor") translateModel(Buildings.Controls.OBC.CDL.Logical.Validation.Xor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.Xor") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001103/0.001103, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001161/0.001161, allocations: 192.6 kB / 16.13 MB, free: 6.707 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.557/1.557, allocations: 205.1 MB / 222 MB, free: 4.781 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.871/1.871, allocations: 292.3 MB / 0.5484 GB, free: 13.66 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.001608/0.001608, allocations: 66.84 kB / 0.6708 GB, free: 26.42 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3013/0.3029, allocations: 114.6 MB / 0.7827 GB, free: 14.05 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.Xor): time 0.002519/0.3055, allocations: 0.7318 MB / 0.7834 GB, free: 13.31 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.00178/0.3073, allocations: 1.204 MB / 0.7846 GB, free: 12.09 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.696e-05/0.3074, allocations: 8 kB / 0.7846 GB, free: 12.08 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 4.074e-05/0.3074, allocations: 0 / 0.7846 GB, free: 12.08 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 7.172e-05/0.3075, allocations: 11.86 kB / 0.7846 GB, free: 12.07 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006184/0.3081, allocations: 195.2 kB / 0.7848 GB, free: 11.88 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.000173/0.3083, allocations: 155.7 kB / 0.7849 GB, free: 11.73 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001016/0.3084, allocations: 12 kB / 0.7849 GB, free: 11.72 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 8.846e-05/0.3085, allocations: 59.89 kB / 0.785 GB, free: 11.66 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001048/0.3086, allocations: 47.86 kB / 0.7851 GB, free: 11.61 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 4.395e-05/0.3087, allocations: 12 kB / 0.7851 GB, free: 11.6 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 8.76e-05/0.3088, allocations: 15.98 kB / 0.7851 GB, free: 11.59 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 2.773e-05/0.3088, allocations: 15.92 kB / 0.7851 GB, free: 11.57 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 7.692e-05/0.3089, allocations: 47.89 kB / 0.7851 GB, free: 11.52 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.000207/0.3091, allocations: 147.8 kB / 0.7853 GB, free: 11.38 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 5.229e-06/0.3091, allocations: 4 kB / 0.7853 GB, free: 11.38 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.252e-06/0.3091, allocations: 0 / 0.7853 GB, free: 11.38 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 4.849e-06/0.3091, allocations: 4 kB / 0.7853 GB, free: 11.37 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.0005714/0.3097, allocations: 434.7 kB / 0.7857 GB, free: 10.88 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4e-05/0.3098, allocations: 15.97 kB / 0.7857 GB, free: 10.87 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.739e-05/0.3098, allocations: 4.938 kB / 0.7857 GB, free: 10.86 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001313/0.31, allocations: 180.2 kB / 0.7859 GB, free: 10.65 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.701e-05/0.31, allocations: 4.375 kB / 0.7859 GB, free: 10.64 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.264e-05/0.31, allocations: 12.36 kB / 0.7859 GB, free: 10.63 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001237/0.3101, allocations: 54.25 kB / 0.786 GB, free: 10.57 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.966e-06/0.3102, allocations: 192 / 0.786 GB, free: 10.57 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.256e-05/0.3102, allocations: 7.938 kB / 0.786 GB, free: 10.57 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.938e-06/0.3102, allocations: 0 / 0.786 GB, free: 10.57 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.639e-05/0.3102, allocations: 15.98 kB / 0.786 GB, free: 10.55 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005136/0.3108, allocations: 356.7 kB / 0.7863 GB, free: 10.15 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 8.649e-05/0.3109, allocations: 42.5 kB / 0.7864 GB, free: 10.1 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.806e-05/0.3109, allocations: 12.86 kB / 0.7864 GB, free: 10.09 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 1.367e-05/0.3109, allocations: 12 kB / 0.7864 GB, free: 10.07 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001917/0.3111, allocations: 83.39 kB / 0.7865 GB, free: 9.98 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=7): time 1.262e-06/0.3111, allocations: 0 / 0.7865 GB, free: 9.98 MB / 0.6075 GB Notification: Performance of matching and sorting (n=7): time 0.0002743/0.3114, allocations: 105.6 kB / 0.7866 GB, free: 9.871 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.17e-05/0.3115, allocations: 51.41 kB / 0.7866 GB, free: 9.809 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001207/0.3116, allocations: 121.7 kB / 0.7867 GB, free: 9.68 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 3.398e-05/0.3116, allocations: 29.7 kB / 0.7868 GB, free: 9.645 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 7.255e-05/0.3117, allocations: 96.12 kB / 0.7869 GB, free: 9.547 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 1.592e-05/0.3117, allocations: 15.81 kB / 0.7869 GB, free: 9.531 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001056/0.3118, allocations: 49.69 kB / 0.7869 GB, free: 9.477 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001189/0.312, allocations: 322.8 kB / 0.7872 GB, free: 9.152 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001364/0.3121, allocations: 63.91 kB / 0.7873 GB, free: 9.09 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001536/0.3123, allocations: 89.02 kB / 0.7874 GB, free: 8.988 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001793/0.3124, allocations: 164 kB / 0.7875 GB, free: 8.801 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.325e-06/0.3125, allocations: 0 / 0.7875 GB, free: 8.801 MB / 0.6075 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0004063/0.3129, allocations: 260.9 kB / 0.7878 GB, free: 8.527 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 6.499e-05/0.3129, allocations: 71.52 kB / 0.7878 GB, free: 8.445 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.55e-06/0.313, allocations: 0 / 0.7878 GB, free: 8.445 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.685e-05/0.313, allocations: 4 kB / 0.7878 GB, free: 8.441 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.18e-05/0.313, allocations: 0 / 0.7878 GB, free: 8.441 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.157e-06/0.313, allocations: 7.938 kB / 0.7879 GB, free: 8.434 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003472/0.3134, allocations: 59.83 kB / 0.7879 GB, free: 8.375 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.105e-05/0.3134, allocations: 8 kB / 0.7879 GB, free: 8.367 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.0001112/0.3135, allocations: 136.5 kB / 0.788 GB, free: 8.227 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.422e-05/0.3136, allocations: 7.906 kB / 0.7881 GB, free: 8.219 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.895e-05/0.3136, allocations: 8.375 kB / 0.7881 GB, free: 8.211 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.587e-06/0.3136, allocations: 3.984 kB / 0.7881 GB, free: 8.207 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.16e-06/0.3136, allocations: 0 / 0.7881 GB, free: 8.207 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.605e-06/0.3136, allocations: 4 kB / 0.7881 GB, free: 8.203 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001396/0.3138, allocations: 177.6 kB / 0.7882 GB, free: 7.98 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.012e-06/0.3138, allocations: 4 kB / 0.7882 GB, free: 7.977 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.003e-05/0.3138, allocations: 4 kB / 0.7882 GB, free: 7.973 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.423e-06/0.3138, allocations: 4 kB / 0.7883 GB, free: 7.969 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.895e-06/0.3138, allocations: 0 / 0.7883 GB, free: 7.969 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.727e-06/0.3138, allocations: 8.062 kB / 0.7883 GB, free: 7.961 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.72e-07/0.3138, allocations: 0 / 0.7883 GB, free: 7.961 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001407/0.314, allocations: 113 kB / 0.7884 GB, free: 7.832 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 3.586e-05/0.314, allocations: 81.02 kB / 0.7884 GB, free: 7.734 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.774e-05/0.314, allocations: 3.984 kB / 0.7884 GB, free: 7.73 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.231e-05/0.3141, allocations: 0 / 0.7884 GB, free: 7.73 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.06e-05/0.3141, allocations: 19.92 kB / 0.7885 GB, free: 7.711 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.54e-06/0.3141, allocations: 4 kB / 0.7885 GB, free: 7.707 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 5.183e-05/0.3142, allocations: 91.22 kB / 0.7886 GB, free: 7.617 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.3e-07/0.3142, allocations: 0 / 0.7886 GB, free: 7.617 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002315/0.3144, allocations: 31.98 kB / 0.7886 GB, free: 7.586 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.0001633/0.3146, allocations: 103.2 kB / 0.7887 GB, free: 7.477 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0003389/0.3149, allocations: 246.8 kB / 0.7889 GB, free: 7.211 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.685e-06/0.3149, allocations: 4.062 kB / 0.7889 GB, free: 7.207 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 4.85e-05/0.315, allocations: 35.91 kB / 0.789 GB, free: 7.172 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000243/0.3152, allocations: 19.92 kB / 0.789 GB, free: 7.152 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003396/0.3156, allocations: 161.1 kB / 0.7891 GB, free: 6.965 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002662/0.3159, allocations: 0.6888 MB / 0.7898 GB, free: 6.25 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 2.916e-05/0.3159, allocations: 7.984 kB / 0.7898 GB, free: 6.242 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.865e-05/0.3159, allocations: 11.44 kB / 0.7898 GB, free: 6.234 MB / 0.6075 GB Notification: Performance of SimCode: time 2.41e-07/0.3159, allocations: 0 / 0.7898 GB, free: 6.234 MB / 0.6075 GB Notification: Performance of Templates: time 0.004058/0.32, allocations: 1.767 MB / 0.7916 GB, free: 4.488 MB / 0.6075 GB make -j1 -f Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.Xor.makefile (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 & ./Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.Xor -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.Xor.pipe 2>&1)