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.001271/0.001271, allocations: 105.3 kB / 16.36 MB, free: 6.309 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.001452/0.001452, allocations: 191.2 kB / 17.3 MB, free: 5.871 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.659/1.659, allocations: 205.1 MB / 223.2 MB, free: 12.23 MB / 190.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.993/1.993, allocations: 292.3 MB / 0.5496 GB, free: 17.51 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.001497/0.001497, allocations: 71.89 kB / 0.6729 GB, free: 5.801 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2718/0.2733, allocations: 114.6 MB / 0.7848 GB, free: 3.129 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.Xor): time 0.002791/0.2762, allocations: 0.6745 MB / 0.7855 GB, free: 2.449 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.001631/0.2778, allocations: 1.184 MB / 0.7866 GB, free: 1.25 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.276e-05/0.2779, allocations: 4 kB / 0.7866 GB, free: 1.246 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 3.678e-05/0.278, allocations: 3.938 kB / 0.7866 GB, free: 1.242 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 8.266e-05/0.2781, allocations: 11.88 kB / 0.7866 GB, free: 1.23 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007368/0.2788, allocations: 217.2 kB / 0.7868 GB, free: 1.023 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.0002959/0.2791, allocations: 183.8 kB / 0.787 GB, free: 0.8438 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001244/0.2792, allocations: 12 kB / 0.787 GB, free: 0.832 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001181/0.2794, allocations: 67.88 kB / 0.7871 GB, free: 0.7656 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001646/0.2795, allocations: 67.78 kB / 0.7872 GB, free: 0.6992 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 3.605e-05/0.2796, allocations: 16 kB / 0.7872 GB, free: 0.6836 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001/0.2797, allocations: 27.92 kB / 0.7872 GB, free: 0.6562 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 2.512e-05/0.2797, allocations: 11.98 kB / 0.7872 GB, free: 0.6445 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.0001028/0.2798, allocations: 59.83 kB / 0.7873 GB, free: 0.5859 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.0002405/0.2801, allocations: 159.6 kB / 0.7874 GB, free: 440 kB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 5.5e-06/0.2801, allocations: 0 / 0.7874 GB, free: 440 kB / 0.6544 GB Notification: Performance of FrontEnd: time 2.174e-06/0.2801, allocations: 0 / 0.7874 GB, free: 440 kB / 0.6544 GB Notification: Performance of Transformations before backend: time 6.513e-06/0.2801, allocations: 4 kB / 0.7874 GB, free: 436 kB / 0.6544 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.4603/0.7405, allocations: 426.4 kB / 0.7878 GB, free: 48.87 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 5.133e-05/0.7405, allocations: 9.25 kB / 0.7878 GB, free: 48.87 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.66e-05/0.7406, allocations: 7.625 kB / 0.7879 GB, free: 48.87 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001017/0.7407, allocations: 168.5 kB / 0.788 GB, free: 48.67 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.85e-05/0.7408, allocations: 8.109 kB / 0.788 GB, free: 48.67 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.003e-05/0.7408, allocations: 11.56 kB / 0.788 GB, free: 48.67 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001207/0.7409, allocations: 50.7 kB / 0.7881 GB, free: 48.64 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.215e-06/0.7409, allocations: 192 / 0.7881 GB, free: 48.64 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.256e-05/0.741, allocations: 7.328 kB / 0.7881 GB, free: 48.63 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.033e-06/0.741, allocations: 4.266 kB / 0.7881 GB, free: 48.63 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.568e-05/0.741, allocations: 17.59 kB / 0.7881 GB, free: 48.63 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000447/0.7415, allocations: 349.6 kB / 0.7884 GB, free: 48.37 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 7.193e-05/0.7416, allocations: 42.06 kB / 0.7885 GB, free: 48.34 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.699e-05/0.7416, allocations: 16.89 kB / 0.7885 GB, free: 48.34 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 1.415e-05/0.7416, allocations: 5.25 kB / 0.7885 GB, free: 48.34 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001837/0.7418, allocations: 85.66 kB / 0.7886 GB, free: 48.29 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=7): time 1.352e-06/0.7418, allocations: 0.9062 kB / 0.7886 GB, free: 48.29 MB / 0.6544 GB Notification: Performance of matching and sorting (n=7): time 0.000233/0.742, allocations: 101.8 kB / 0.7887 GB, free: 48.25 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.434e-05/0.7421, allocations: 60.36 kB / 0.7887 GB, free: 48.19 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.677e-05/0.7422, allocations: 116.4 kB / 0.7889 GB, free: 48.09 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 2.416e-05/0.7422, allocations: 35.33 kB / 0.7889 GB, free: 48.06 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 4.22e-05/0.7422, allocations: 97.48 kB / 0.789 GB, free: 47.98 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 1.24e-05/0.7422, allocations: 8.828 kB / 0.789 GB, free: 47.97 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.992e-05/0.7423, allocations: 50.55 kB / 0.789 GB, free: 47.95 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 5.06e-05/0.7424, allocations: 320.8 kB / 0.7893 GB, free: 47.64 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001226/0.7425, allocations: 67.14 kB / 0.7894 GB, free: 47.64 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001273/0.7427, allocations: 96.7 kB / 0.7895 GB, free: 47.6 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001523/0.7428, allocations: 160.1 kB / 0.7897 GB, free: 47.5 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.635e-06/0.7428, allocations: 0 / 0.7897 GB, free: 47.5 MB / 0.6544 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0003623/0.7432, allocations: 264.1 kB / 0.7899 GB, free: 47.4 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 4.301e-05/0.7432, allocations: 70.8 kB / 0.79 GB, free: 47.34 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.099e-06/0.7433, allocations: 2.953 kB / 0.79 GB, free: 47.34 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.535e-05/0.7433, allocations: 2.625 kB / 0.79 GB, free: 47.34 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.245e-05/0.7433, allocations: 9.141 kB / 0.79 GB, free: 47.34 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.034e-05/0.7433, allocations: 4.312 kB / 0.79 GB, free: 47.34 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003292/0.7436, allocations: 47.11 kB / 0.79 GB, free: 47.34 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.058e-05/0.7437, allocations: 14.98 kB / 0.79 GB, free: 47.34 MB / 0.6544 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 7.312e-05/0.7438, allocations: 133.7 kB / 0.7902 GB, free: 47.21 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.276e-05/0.7438, allocations: 6.5 kB / 0.7902 GB, free: 47.21 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.701e-05/0.7438, allocations: 7 kB / 0.7902 GB, free: 47.21 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.935e-06/0.7438, allocations: 4.219 kB / 0.7902 GB, free: 47.21 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.62e-07/0.7438, allocations: 0 / 0.7902 GB, free: 47.21 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 2.034e-05/0.7439, allocations: 80.53 kB / 0.7903 GB, free: 47.12 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.671e-05/0.7439, allocations: 5.344 kB / 0.7903 GB, free: 47.12 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.039e-05/0.7439, allocations: 4.438 kB / 0.7903 GB, free: 47.11 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.548e-05/0.744, allocations: 12.98 kB / 0.7903 GB, free: 47.11 MB / 0.6544 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0001252/0.7441, allocations: 165 kB / 0.7904 GB, free: 47.01 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0001458/0.7442, allocations: 252.3 kB / 0.7907 GB, free: 46.8 MB / 0.6544 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 3.905e-05/0.7443, allocations: 31.27 kB / 0.7907 GB, free: 46.8 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 3.206e-05/0.7443, allocations: 90.69 kB / 0.7908 GB, free: 46.73 MB / 0.6544 GB Notification: Performance of Backend: time 5.31e-07/0.7443, allocations: 2.906 kB / 0.7908 GB, free: 46.73 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.0005828/0.7449, allocations: 313.5 kB / 0.7911 GB, free: 46.54 MB / 0.6544 GB Notification: Performance of SimCode: time 0.0004608/0.7454, allocations: 0.5941 MB / 0.7917 GB, free: 45.96 MB / 0.6544 GB Notification: Performance of Templates: time 0.003953/0.7494, allocations: 1.906 MB / 0.7935 GB, free: 45.89 MB / 0.6544 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)