Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.Xor.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001364/0.001364, allocations: 83.59 kB / 20.45 MB, free: 4.109 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001314/0.001314, allocations: 165 kB / 23.82 MB, free: 0.7383 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.9453/0.9453, allocations: 177.1 MB / 204.2 MB, free: 5.633 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 1.829/1.829, allocations: 359 MB / 0.6052 GB, free: 11.01 MB / 0.573 GB " [Timeout remaining time 178] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Logical.Validation.Xor,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|xor1.u1|xor1.u2|xor1.y",fileNamePrefix="Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.Xor") translateModel(Buildings.Controls.OBC.CDL.Logical.Validation.Xor,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|xor1.u1|xor1.u2|xor1.y",fileNamePrefix="Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.Xor") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.575e-06/2.575e-06, allocations: 0 / 0.7871 GB, free: 12.47 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.11e-05/3.367e-05, allocations: 8.219 kB / 0.7871 GB, free: 12.46 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.Xor): time 0.001383/0.001417, allocations: 0.6598 MB / 0.7878 GB, free: 11.82 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.00137/0.002787, allocations: 1.246 MB / 0.789 GB, free: 10.56 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.703e-05/0.002834, allocations: 0 / 0.789 GB, free: 10.56 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 3.185e-05/0.002866, allocations: 3.938 kB / 0.789 GB, free: 10.55 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 7.786e-05/0.002944, allocations: 17.41 kB / 0.789 GB, free: 10.54 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005683/0.003512, allocations: 208.9 kB / 0.7892 GB, free: 10.34 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 0.0002048/0.003717, allocations: 175.7 kB / 0.7894 GB, free: 10.16 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 9.773e-05/0.003815, allocations: 11.98 kB / 0.7894 GB, free: 10.15 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001178/0.003932, allocations: 99.11 kB / 0.7895 GB, free: 10.06 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001089/0.004041, allocations: 47.91 kB / 0.7895 GB, free: 10.01 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 2.998e-05/0.004071, allocations: 16 kB / 0.7895 GB, free: 9.996 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 6.966e-05/0.004141, allocations: 23.98 kB / 0.7896 GB, free: 9.973 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 2.484e-05/0.004166, allocations: 15.92 kB / 0.7896 GB, free: 9.957 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 6.303e-05/0.004229, allocations: 51.95 kB / 0.7896 GB, free: 9.906 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.0001829/0.004412, allocations: 135.6 kB / 0.7898 GB, free: 9.773 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 2.675e-06/0.004414, allocations: 0 / 0.7898 GB, free: 9.773 MB / 0.7448 GB Notification: Performance of FrontEnd: time 1.262e-06/0.004416, allocations: 0 / 0.7898 GB, free: 9.773 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 5.33e-06/0.004421, allocations: 0.9688 kB / 0.7898 GB, free: 9.773 MB / 0.7448 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.0004739/0.004895, allocations: 463.9 kB / 0.7902 GB, free: 9.27 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 4.431e-05/0.004939, allocations: 8.031 kB / 0.7902 GB, free: 9.262 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.497e-05/0.005014, allocations: 17.41 kB / 0.7902 GB, free: 9.246 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.981e-05/0.005114, allocations: 121.2 kB / 0.7903 GB, free: 9.102 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.68e-05/0.005131, allocations: 8.375 kB / 0.7903 GB, free: 9.094 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.105e-05/0.005152, allocations: 9.875 kB / 0.7904 GB, free: 9.086 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001038/0.005256, allocations: 50.23 kB / 0.7904 GB, free: 9.031 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.433e-06/0.005262, allocations: 192 / 0.7904 GB, free: 9.031 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.15e-05/0.005274, allocations: 4.359 kB / 0.7904 GB, free: 9.027 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.183e-06/0.005281, allocations: 1 kB / 0.7904 GB, free: 9.027 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.698e-05/0.005308, allocations: 11.94 kB / 0.7904 GB, free: 9.016 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004164/0.005724, allocations: 332.6 kB / 0.7907 GB, free: 8.656 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 7.795e-05/0.005802, allocations: 39.81 kB / 0.7908 GB, free: 8.605 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.234e-05/0.005824, allocations: 15.77 kB / 0.7908 GB, free: 8.586 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 6.422e-06/0.005831, allocations: 0.5938 kB / 0.7908 GB, free: 8.586 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001079/0.005939, allocations: 84.91 kB / 0.7909 GB, free: 8.488 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=7): time 1.362e-06/0.00594, allocations: 1.344 kB / 0.7909 GB, free: 8.488 MB / 0.7448 GB Notification: Performance of matching and sorting (n=7): time 0.0002044/0.006144, allocations: 97.61 kB / 0.791 GB, free: 8.387 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.104e-05/0.006185, allocations: 59.41 kB / 0.791 GB, free: 8.316 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.904e-05/0.006285, allocations: 179.4 kB / 0.7912 GB, free: 8.125 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 2.453e-05/0.006309, allocations: 33.7 kB / 0.7912 GB, free: 8.086 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 6.301e-05/0.006372, allocations: 134.9 kB / 0.7914 GB, free: 7.949 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 1.746e-05/0.00639, allocations: 19.83 kB / 0.7914 GB, free: 7.93 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.838e-05/0.006458, allocations: 57.41 kB / 0.7914 GB, free: 7.867 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0001287/0.006587, allocations: 0.4884 MB / 0.7919 GB, free: 7.367 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001194/0.006706, allocations: 115.3 kB / 0.792 GB, free: 7.242 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001361/0.006842, allocations: 165.8 kB / 0.7922 GB, free: 7.047 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000131/0.006973, allocations: 160.8 kB / 0.7923 GB, free: 6.859 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.785e-06/0.006976, allocations: 0 / 0.7923 GB, free: 6.859 MB / 0.7448 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0003176/0.007293, allocations: 320.2 kB / 0.7926 GB, free: 6.516 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 5.065e-05/0.007344, allocations: 67.39 kB / 0.7927 GB, free: 6.438 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.092e-06/0.00735, allocations: 0 / 0.7927 GB, free: 6.438 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.76e-05/0.007368, allocations: 5.688 kB / 0.7927 GB, free: 6.434 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.172e-05/0.00739, allocations: 3.984 kB / 0.7927 GB, free: 6.43 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.855e-06/0.007397, allocations: 7.938 kB / 0.7927 GB, free: 6.422 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001788/0.007576, allocations: 37.03 kB / 0.7928 GB, free: 6.387 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.211e-05/0.007598, allocations: 11.98 kB / 0.7928 GB, free: 6.375 MB / 0.7448 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.0001049/0.007703, allocations: 169.6 kB / 0.7929 GB, free: 6.203 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.717e-05/0.00772, allocations: 11.89 kB / 0.7929 GB, free: 6.191 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.782e-05/0.007748, allocations: 16.42 kB / 0.793 GB, free: 6.18 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.055e-06/0.007751, allocations: 0.5312 kB / 0.793 GB, free: 6.18 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.719e-06/0.007756, allocations: 2.062 kB / 0.793 GB, free: 6.18 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.547e-06/0.007759, allocations: 0 / 0.793 GB, free: 6.18 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.887e-05/0.007858, allocations: 132.6 kB / 0.7931 GB, free: 6.016 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.353e-06/0.00786, allocations: 0 / 0.7931 GB, free: 6.016 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.783e-06/0.007866, allocations: 0 / 0.7931 GB, free: 6.016 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.926e-06/0.007869, allocations: 0 / 0.7931 GB, free: 6.016 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.178e-05/0.007881, allocations: 12.98 kB / 0.7931 GB, free: 6.004 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.583e-06/0.007883, allocations: 0 / 0.7931 GB, free: 6.004 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.302e-06/0.007884, allocations: 3.938 kB / 0.7931 GB, free: 6 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000123/0.008007, allocations: 117.2 kB / 0.7932 GB, free: 5.863 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 9.418e-06/0.008016, allocations: 7.953 kB / 0.7932 GB, free: 5.855 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.31e-05/0.00803, allocations: 4.781 kB / 0.7932 GB, free: 5.852 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.383e-05/0.008043, allocations: 0 / 0.7932 GB, free: 5.852 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.716e-05/0.008091, allocations: 7.984 kB / 0.7932 GB, free: 5.844 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.254e-06/0.008098, allocations: 4.906 kB / 0.7932 GB, free: 5.84 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 5.075e-05/0.008149, allocations: 135.2 kB / 0.7934 GB, free: 5.707 MB / 0.7448 GB Notification: Performance of sort global known variables: time 5e-08/0.008149, allocations: 3.781 kB / 0.7934 GB, free: 5.707 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0001726/0.008321, allocations: 35.88 kB / 0.7934 GB, free: 5.672 MB / 0.7448 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.0001585/0.00848, allocations: 107.2 kB / 0.7935 GB, free: 5.555 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0003401/0.00882, allocations: 277.8 kB / 0.7938 GB, free: 5.242 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 2.625e-06/0.008822, allocations: 4 kB / 0.7938 GB, free: 5.238 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 3.868e-05/0.008861, allocations: 24.08 kB / 0.7938 GB, free: 5.211 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001887/0.00905, allocations: 30.2 kB / 0.7938 GB, free: 5.184 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003139/0.009364, allocations: 159.7 kB / 0.794 GB, free: 4.996 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.847e-05/0.009402, allocations: 55.36 kB / 0.794 GB, free: 4.922 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 2.819e-05/0.00943, allocations: 9.109 kB / 0.794 GB, free: 4.914 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.387e-05/0.009454, allocations: 12.5 kB / 0.794 GB, free: 4.902 MB / 0.7448 GB Notification: Performance of SimCode: time 6.11e-07/0.009455, allocations: 0 / 0.794 GB, free: 4.902 MB / 0.7448 GB Notification: Performance of Templates: time 0.004526/0.01398, allocations: 2.258 MB / 0.7963 GB, free: 2.703 MB / 0.7448 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.Xor.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.Xor.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.Xor.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.Xor.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.Xor.sim & ./Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.Xor -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.Xor.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.Xor_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_OBC_CDL_Logical_Validation_Xor.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 5.002275754697621]