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.002044/0.002044, allocations: 83.69 kB / 20.23 MB, free: 4.188 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.002003/0.002003, allocations: 165.7 kB / 23.55 MB, free: 0.8711 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.641/1.641, allocations: 177.1 MB / 203.9 MB, free: 5.621 MB / 186.7 MB " [Timeout remaining time 178] 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 2.924/2.924, allocations: 359 MB / 0.6048 GB, free: 10.96 MB / 0.573 GB " [Timeout remaining time 176] 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.815e-06/2.815e-06, allocations: 0 / 0.7864 GB, free: 12.77 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.83e-05/4.112e-05, allocations: 8.219 kB / 0.7864 GB, free: 12.77 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.Xor): time 0.002818/0.00286, allocations: 0.6535 MB / 0.787 GB, free: 12.13 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.002581/0.00544, allocations: 1.227 MB / 0.7882 GB, free: 10.89 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.755e-05/0.005498, allocations: 0 / 0.7882 GB, free: 10.89 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 2.977e-05/0.005527, allocations: 4.688 kB / 0.7882 GB, free: 10.89 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 0.0001026/0.00563, allocations: 11.94 kB / 0.7882 GB, free: 10.88 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009057/0.006536, allocations: 209.4 kB / 0.7884 GB, free: 10.67 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 0.0003958/0.006931, allocations: 176.9 kB / 0.7886 GB, free: 10.5 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001024/0.007034, allocations: 7.984 kB / 0.7886 GB, free: 10.49 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002764/0.00731, allocations: 95.86 kB / 0.7887 GB, free: 10.4 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002265/0.007537, allocations: 52.53 kB / 0.7888 GB, free: 10.35 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 6.699e-05/0.007604, allocations: 16 kB / 0.7888 GB, free: 10.33 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001281/0.007732, allocations: 25.39 kB / 0.7888 GB, free: 10.31 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 3.752e-05/0.007769, allocations: 11.94 kB / 0.7888 GB, free: 10.3 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 0.0001579/0.007927, allocations: 55.94 kB / 0.7889 GB, free: 10.24 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.0004381/0.008365, allocations: 187.5 kB / 0.789 GB, free: 10.06 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 3.386e-06/0.008369, allocations: 1.031 kB / 0.789 GB, free: 10.06 MB / 0.7448 GB Notification: Performance of FrontEnd: time 1.173e-06/0.00837, allocations: 0 / 0.789 GB, free: 10.06 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 5.53e-06/0.008376, allocations: 0.9375 kB / 0.789 GB, free: 10.06 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.0009372/0.009313, allocations: 459.6 kB / 0.7895 GB, free: 9.559 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 5.151e-05/0.009364, allocations: 12.02 kB / 0.7895 GB, free: 9.547 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001023/0.009466, allocations: 13.98 kB / 0.7895 GB, free: 9.535 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001832/0.00965, allocations: 120.4 kB / 0.7896 GB, free: 9.391 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.025e-05/0.00968, allocations: 8.375 kB / 0.7896 GB, free: 9.383 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.896e-05/0.009729, allocations: 13.62 kB / 0.7896 GB, free: 9.371 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001709/0.0099, allocations: 46.23 kB / 0.7897 GB, free: 9.32 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.212e-05/0.009912, allocations: 192 / 0.7897 GB, free: 9.32 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.611e-05/0.009928, allocations: 9.969 kB / 0.7897 GB, free: 9.312 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.919e-06/0.009933, allocations: 384 / 0.7897 GB, free: 9.312 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.81e-05/0.01002, allocations: 19.92 kB / 0.7897 GB, free: 9.293 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008179/0.01084, allocations: 331.7 kB / 0.79 GB, free: 8.934 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001558/0.01099, allocations: 44.33 kB / 0.7901 GB, free: 8.879 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.942e-05/0.01106, allocations: 23.77 kB / 0.7901 GB, free: 8.852 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 1.562e-05/0.01108, allocations: 0 / 0.7901 GB, free: 8.852 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002469/0.01133, allocations: 95.88 kB / 0.7902 GB, free: 8.746 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=7): time 1.704e-06/0.01133, allocations: 0 / 0.7902 GB, free: 8.746 MB / 0.7448 GB Notification: Performance of matching and sorting (n=7): time 0.0004439/0.01177, allocations: 121.8 kB / 0.7903 GB, free: 8.621 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.503e-05/0.01184, allocations: 59.39 kB / 0.7904 GB, free: 8.551 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002159/0.01205, allocations: 177.9 kB / 0.7905 GB, free: 8.359 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 6.101e-05/0.01211, allocations: 33.7 kB / 0.7906 GB, free: 8.32 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001571/0.01227, allocations: 142.8 kB / 0.7907 GB, free: 8.176 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 3.973e-05/0.01231, allocations: 15.83 kB / 0.7907 GB, free: 8.16 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002051/0.01252, allocations: 60.06 kB / 0.7908 GB, free: 8.094 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.000394/0.01291, allocations: 0.4884 MB / 0.7912 GB, free: 7.594 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003802/0.01329, allocations: 149 kB / 0.7914 GB, free: 7.438 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004428/0.01373, allocations: 181.8 kB / 0.7916 GB, free: 7.227 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004254/0.01416, allocations: 182.9 kB / 0.7917 GB, free: 7.016 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.106e-06/0.01416, allocations: 0 / 0.7917 GB, free: 7.016 MB / 0.7448 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.00104/0.0152, allocations: 365.9 kB / 0.7921 GB, free: 6.629 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001107/0.01531, allocations: 69.73 kB / 0.7922 GB, free: 6.551 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.203e-06/0.01532, allocations: 1.188 kB / 0.7922 GB, free: 6.551 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.838e-05/0.01535, allocations: 7.984 kB / 0.7922 GB, free: 6.543 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.281e-05/0.01539, allocations: 3.938 kB / 0.7922 GB, free: 6.539 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.518e-05/0.01541, allocations: 5.562 kB / 0.7922 GB, free: 6.535 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004653/0.01587, allocations: 31.97 kB / 0.7922 GB, free: 6.504 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.836e-05/0.01594, allocations: 17.67 kB / 0.7922 GB, free: 6.488 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.0002178/0.01616, allocations: 168.6 kB / 0.7924 GB, free: 6.312 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.302e-05/0.0162, allocations: 15.88 kB / 0.7924 GB, free: 6.297 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.788e-05/0.01624, allocations: 8.438 kB / 0.7924 GB, free: 6.293 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.005e-06/0.01624, allocations: 0.9062 kB / 0.7924 GB, free: 6.293 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.009e-06/0.01625, allocations: 4 kB / 0.7924 GB, free: 6.289 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.308e-06/0.01625, allocations: 0.5312 kB / 0.7924 GB, free: 6.289 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002296/0.01648, allocations: 132.6 kB / 0.7925 GB, free: 6.125 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.034e-06/0.01648, allocations: 0.6875 kB / 0.7925 GB, free: 6.125 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.439e-05/0.0165, allocations: 0 / 0.7925 GB, free: 6.125 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.285e-06/0.0165, allocations: 4.516 kB / 0.7925 GB, free: 6.121 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.168e-05/0.01653, allocations: 13.25 kB / 0.7926 GB, free: 6.109 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.167e-06/0.01654, allocations: 3.938 kB / 0.7926 GB, free: 6.105 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.282e-06/0.01654, allocations: 0 / 0.7926 GB, free: 6.105 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003079/0.01685, allocations: 120.4 kB / 0.7927 GB, free: 5.965 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 1.977e-05/0.01686, allocations: 8.469 kB / 0.7927 GB, free: 5.957 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.894e-05/0.01689, allocations: 13.25 kB / 0.7927 GB, free: 5.945 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.586e-05/0.01693, allocations: 0 / 0.7927 GB, free: 5.945 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.019e-05/0.017, allocations: 7.984 kB / 0.7927 GB, free: 5.938 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.487e-05/0.01701, allocations: 4 kB / 0.7927 GB, free: 5.934 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 0.000154/0.01717, allocations: 140.3 kB / 0.7928 GB, free: 5.797 MB / 0.7448 GB Notification: Performance of sort global known variables: time 1.6e-07/0.01717, allocations: 0 / 0.7928 GB, free: 5.797 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0004159/0.01758, allocations: 31.95 kB / 0.7929 GB, free: 5.766 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.0002444/0.01783, allocations: 108.9 kB / 0.793 GB, free: 5.648 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0007933/0.01862, allocations: 339.1 kB / 0.7933 GB, free: 5.277 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 2.555e-06/0.01862, allocations: 0 / 0.7933 GB, free: 5.277 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 0.0001096/0.01873, allocations: 35.67 kB / 0.7933 GB, free: 5.238 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003801/0.01911, allocations: 21.31 kB / 0.7934 GB, free: 5.223 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005435/0.01966, allocations: 168.8 kB / 0.7935 GB, free: 5.027 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001013/0.01976, allocations: 67.34 kB / 0.7936 GB, free: 4.941 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 4.716e-05/0.01981, allocations: 7.984 kB / 0.7936 GB, free: 4.934 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.999e-05/0.01985, allocations: 13.16 kB / 0.7936 GB, free: 4.922 MB / 0.7448 GB Notification: Performance of SimCode: time 6.61e-07/0.01985, allocations: 0 / 0.7936 GB, free: 4.922 MB / 0.7448 GB Notification: Performance of Templates: time 0.009224/0.02907, allocations: 2.075 MB / 0.7956 GB, free: 2.922 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.Xor.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 8.134787942981347]