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.001003/0.001003, allocations: 87.58 kB / 20.45 MB, free: 4.117 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.000957/0.000957, allocations: 161 kB / 23.82 MB, free: 0.75 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 1.036/1.036, allocations: 177.1 MB / 204.2 MB, free: 5.254 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.882/1.882, 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.805e-06/2.805e-06, allocations: 3.938 kB / 0.7871 GB, free: 12.46 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.613e-05/2.893e-05, allocations: 2.312 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.001361/0.00139, allocations: 0.6637 MB / 0.7878 GB, free: 11.81 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.001137/0.002527, allocations: 1.238 MB / 0.789 GB, free: 10.56 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.778e-05/0.002565, allocations: 0 / 0.789 GB, free: 10.56 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 2.598e-05/0.002591, allocations: 3.938 kB / 0.789 GB, free: 10.56 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 7.032e-05/0.002661, allocations: 20.48 kB / 0.789 GB, free: 10.54 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.00046/0.003121, allocations: 208.8 kB / 0.7892 GB, free: 10.34 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 0.0001697/0.003291, allocations: 180.5 kB / 0.7894 GB, free: 10.16 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 8.482e-05/0.003376, allocations: 8 kB / 0.7894 GB, free: 10.15 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001125/0.003488, allocations: 96.47 kB / 0.7895 GB, free: 10.06 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001091/0.003597, allocations: 52.53 kB / 0.7895 GB, free: 10.01 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 3.079e-05/0.003628, allocations: 16 kB / 0.7895 GB, free: 9.992 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 6.152e-05/0.00369, allocations: 24.91 kB / 0.7896 GB, free: 9.969 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 1.995e-05/0.003709, allocations: 7.984 kB / 0.7896 GB, free: 9.961 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 6.127e-05/0.003771, allocations: 56.55 kB / 0.7896 GB, free: 9.906 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.000163/0.003934, allocations: 135.7 kB / 0.7897 GB, free: 9.773 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 2.154e-06/0.003936, allocations: 1.656 kB / 0.7897 GB, free: 9.773 MB / 0.7448 GB Notification: Performance of FrontEnd: time 9.92e-07/0.003937, allocations: 3.938 kB / 0.7897 GB, free: 9.77 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 3.957e-06/0.003941, allocations: 0 / 0.7897 GB, free: 9.77 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.0003861/0.004327, allocations: 463.9 kB / 0.7902 GB, free: 9.266 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 3.379e-05/0.004361, allocations: 9.625 kB / 0.7902 GB, free: 9.258 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.304e-05/0.004414, allocations: 16.89 kB / 0.7902 GB, free: 9.242 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.408e-05/0.004488, allocations: 112.6 kB / 0.7903 GB, free: 9.105 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.305e-05/0.004501, allocations: 8.375 kB / 0.7903 GB, free: 9.098 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.144e-05/0.004522, allocations: 12.38 kB / 0.7903 GB, free: 9.086 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.674e-05/0.004609, allocations: 50.83 kB / 0.7904 GB, free: 9.031 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.802e-06/0.004616, allocations: 3.625 kB / 0.7904 GB, free: 9.031 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.897e-06/0.004625, allocations: 384 / 0.7904 GB, free: 9.031 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.101e-06/0.004631, allocations: 384 / 0.7904 GB, free: 9.031 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.636e-05/0.004657, allocations: 15.92 kB / 0.7904 GB, free: 9.016 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003595/0.005017, allocations: 327.7 kB / 0.7907 GB, free: 8.66 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 6.937e-05/0.005086, allocations: 42.98 kB / 0.7908 GB, free: 8.605 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.285e-05/0.005109, allocations: 11.69 kB / 0.7908 GB, free: 8.59 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 6.733e-06/0.005116, allocations: 0 / 0.7908 GB, free: 8.59 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.434e-05/0.00521, allocations: 85.78 kB / 0.7909 GB, free: 8.492 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=7): time 1.172e-06/0.005211, allocations: 0 / 0.7909 GB, free: 8.492 MB / 0.7448 GB Notification: Performance of matching and sorting (n=7): time 0.0001858/0.005397, allocations: 106.1 kB / 0.791 GB, free: 8.383 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.922e-05/0.005426, allocations: 55.41 kB / 0.791 GB, free: 8.316 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.235e-05/0.005509, allocations: 178.7 kB / 0.7912 GB, free: 8.125 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 2.233e-05/0.005531, allocations: 33.7 kB / 0.7912 GB, free: 8.086 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 5.647e-05/0.005587, allocations: 139.7 kB / 0.7913 GB, free: 7.945 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 1.483e-05/0.005602, allocations: 15.84 kB / 0.7914 GB, free: 7.93 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.214e-05/0.005664, allocations: 55.88 kB / 0.7914 GB, free: 7.867 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0001089/0.005773, allocations: 0.4884 MB / 0.7919 GB, free: 7.367 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001023/0.005875, allocations: 108.8 kB / 0.792 GB, free: 7.25 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000114/0.005989, allocations: 165.8 kB / 0.7922 GB, free: 7.055 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001163/0.006106, allocations: 158.9 kB / 0.7923 GB, free: 6.867 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.244e-06/0.006108, allocations: 0.7188 kB / 0.7923 GB, free: 6.867 MB / 0.7448 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0003117/0.00642, allocations: 328.8 kB / 0.7926 GB, free: 6.516 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 3.989e-05/0.00646, allocations: 68.67 kB / 0.7927 GB, free: 6.438 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.268e-06/0.006464, allocations: 3.938 kB / 0.7927 GB, free: 6.434 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.333e-05/0.006477, allocations: 4 kB / 0.7927 GB, free: 6.43 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.54e-05/0.006493, allocations: 0.6562 kB / 0.7927 GB, free: 6.43 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.722e-06/0.006499, allocations: 4 kB / 0.7927 GB, free: 6.426 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001623/0.006662, allocations: 41.3 kB / 0.7927 GB, free: 6.387 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.975e-05/0.006681, allocations: 15.34 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 7.727e-05/0.006759, allocations: 168.5 kB / 0.7929 GB, free: 6.199 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.086e-05/0.006769, allocations: 15.89 kB / 0.7929 GB, free: 6.184 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.367e-05/0.006793, allocations: 8.438 kB / 0.7929 GB, free: 6.18 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.694e-06/0.006795, allocations: 0 / 0.7929 GB, free: 6.18 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.396e-06/0.006798, allocations: 0 / 0.7929 GB, free: 6.18 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.299e-06/0.006803, allocations: 4 kB / 0.7929 GB, free: 6.176 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.889e-05/0.006881, allocations: 128.6 kB / 0.7931 GB, free: 6.016 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.264e-06/0.006884, allocations: 5.062 kB / 0.7931 GB, free: 6.012 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.618e-06/0.006888, allocations: 0 / 0.7931 GB, free: 6.012 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.735e-06/0.006891, allocations: 4 kB / 0.7931 GB, free: 6.008 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.967e-06/0.0069, allocations: 4.438 kB / 0.7931 GB, free: 6.004 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.51e-07/0.006901, allocations: 0.5625 kB / 0.7931 GB, free: 6.004 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.072e-06/0.006902, allocations: 0 / 0.7931 GB, free: 6.004 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001044/0.007006, allocations: 125.2 kB / 0.7932 GB, free: 5.859 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 8.566e-06/0.007015, allocations: 9.172 kB / 0.7932 GB, free: 5.852 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.512e-05/0.00703, allocations: 7.922 kB / 0.7932 GB, free: 5.844 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.808e-05/0.007048, allocations: 7.984 kB / 0.7932 GB, free: 5.836 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.374e-05/0.007082, allocations: 0.7188 kB / 0.7932 GB, free: 5.836 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.043e-06/0.007089, allocations: 11.98 kB / 0.7932 GB, free: 5.824 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 3.776e-05/0.007126, allocations: 128.5 kB / 0.7934 GB, free: 5.699 MB / 0.7448 GB Notification: Performance of sort global known variables: time 5e-08/0.007126, allocations: 0 / 0.7934 GB, free: 5.699 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0001829/0.007309, allocations: 35.94 kB / 0.7934 GB, free: 5.664 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.000106/0.007415, allocations: 100.5 kB / 0.7935 GB, free: 5.555 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0002431/0.007658, allocations: 281.5 kB / 0.7938 GB, free: 5.242 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 1.263e-06/0.00766, allocations: 0 / 0.7938 GB, free: 5.242 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 3.32e-05/0.007693, allocations: 36.48 kB / 0.7938 GB, free: 5.203 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001631/0.007856, allocations: 16.92 kB / 0.7938 GB, free: 5.188 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000253/0.008109, allocations: 166.1 kB / 0.794 GB, free: 4.996 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.918e-05/0.008138, allocations: 59.34 kB / 0.794 GB, free: 4.918 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 1.905e-05/0.008157, allocations: 4.969 kB / 0.794 GB, free: 4.914 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.205e-05/0.008179, allocations: 16.5 kB / 0.794 GB, free: 4.898 MB / 0.7448 GB Notification: Performance of SimCode: time 6.51e-07/0.00818, allocations: 2.312 kB / 0.794 GB, free: 4.898 MB / 0.7448 GB Notification: Performance of Templates: time 0.003353/0.01153, allocations: 2.065 MB / 0.7961 GB, free: 2.902 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.222731864079833]