Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.001439/0.001439, allocations: 81.05 kB / 9.981 MB, free: 0.707 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001803/0.003242, allocations: 440 kB / 10.41 MB, free: 284 kB / 10.45 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.001199/0.001199, allocations: 157.1 kB / 11.33 MB, free: 2.844 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001717/0.002916, allocations: 475.6 kB / 11.79 MB, free: 2.375 MB / 13.93 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.025/1.025, allocations: 177.2 MB / 189.7 MB, free: 5.242 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08751/1.113, allocations: 53.67 MB / 243.4 MB, free: 15.5 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 15.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 15.0.0-master/package.mo): time 2.419/2.419, allocations: 447.1 MB / 0.675 GB, free: 5.93 MB / 0.6511 GB Notification: Performance of NFInstanceAPI.mkTop(): time 0.3091/2.728, allocations: 146 MB / 0.8176 GB, free: 3.855 MB / 0.7917 GB " [Timeout remaining time 177] Using package Buildings with version 15.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 15.0.0-master/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_latest_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_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Xor") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.114e-06/2.114e-06, allocations: 0 / 0.8189 GB, free: 2.516 MB / 0.7917 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.461e-05/3.673e-05, allocations: 2.312 kB / 0.8189 GB, free: 2.512 MB / 0.7917 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.Xor): time 0.001669/0.001706, allocations: 0.7066 MB / 0.8196 GB, free: 1.801 MB / 0.7917 GB Notification: Performance of NFInst.instExpressions: time 0.001387/0.003093, allocations: 1.236 MB / 0.8208 GB, free: 0.5508 MB / 0.7917 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.07e-05/0.003144, allocations: 3.938 kB / 0.8208 GB, free: 0.5469 MB / 0.7917 GB Notification: Performance of NFTyping.typeComponents: time 4.241e-05/0.003186, allocations: 11.98 kB / 0.8209 GB, free: 0.5352 MB / 0.7917 GB Notification: Performance of NFTyping.typeBindings: time 5.607e-05/0.003242, allocations: 15.86 kB / 0.8209 GB, free: 0.5195 MB / 0.7917 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004731/0.003715, allocations: 199.4 kB / 0.8211 GB, free: 332 kB / 0.7917 GB Notification: Performance of NFFlatten.flatten: time 0.0002326/0.003948, allocations: 175.7 kB / 0.8212 GB, free: 156 kB / 0.7917 GB Notification: Performance of NFFlatten.resolveConnections: time 9.761e-05/0.004046, allocations: 4 kB / 0.8212 GB, free: 152 kB / 0.7917 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001554/0.004201, allocations: 107.8 kB / 0.8213 GB, free: 44 kB / 0.7917 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001513/0.004352, allocations: 59.84 kB / 0.8214 GB, free: 15.98 MB / 0.8073 GB Notification: Performance of NFPackage.collectConstants: time 3.487e-05/0.004387, allocations: 16 kB / 0.8214 GB, free: 15.97 MB / 0.8073 GB Notification: Performance of NFFlatten.collectFunctions: time 9.584e-05/0.004483, allocations: 27.98 kB / 0.8214 GB, free: 15.94 MB / 0.8073 GB Notification: Performance of NFScalarize.scalarize: time 2.939e-05/0.004512, allocations: 4 kB / 0.8214 GB, free: 15.94 MB / 0.8073 GB Notification: Performance of NFVerifyModel.verify: time 5.444e-05/0.004567, allocations: 35.94 kB / 0.8215 GB, free: 15.9 MB / 0.8073 GB Notification: Performance of NFConvertDAE.convert: time 0.0001837/0.004751, allocations: 111.7 kB / 0.8216 GB, free: 15.79 MB / 0.8073 GB Notification: Performance of FrontEnd - DAE generated: time 1.718e-05/0.004768, allocations: 4 kB / 0.8216 GB, free: 15.79 MB / 0.8073 GB Notification: Performance of FrontEnd: time 9.82e-07/0.004769, allocations: 0 / 0.8216 GB, free: 15.79 MB / 0.8073 GB Notification: Performance of Transformations before backend: time 1.898e-05/0.004788, allocations: 0 / 0.8216 GB, free: 15.79 MB / 0.8073 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.0006486/0.005436, allocations: 339.8 kB / 0.8219 GB, free: 15.42 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 5.109e-05/0.005487, allocations: 12.03 kB / 0.8219 GB, free: 15.41 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.701e-05/0.005554, allocations: 16.92 kB / 0.8219 GB, free: 15.39 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001211/0.005676, allocations: 121.7 kB / 0.822 GB, free: 15.25 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.717e-05/0.005693, allocations: 8.312 kB / 0.8221 GB, free: 15.24 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.51e-05/0.005718, allocations: 8.375 kB / 0.8221 GB, free: 15.23 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.619e-05/0.005814, allocations: 46.23 kB / 0.8221 GB, free: 15.18 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.023e-05/0.005824, allocations: 192 / 0.8221 GB, free: 15.18 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.127e-06/0.005833, allocations: 384 / 0.8221 GB, free: 15.18 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.175e-06/0.005842, allocations: 4.375 kB / 0.8221 GB, free: 15.18 MB / 0.8073 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.906e-05/0.005861, allocations: 7.938 kB / 0.8221 GB, free: 15.17 MB / 0.8073 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006187/0.006479, allocations: 180.3 kB / 0.8223 GB, free: 14.98 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 8.388e-05/0.006563, allocations: 34.5 kB / 0.8223 GB, free: 14.93 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.059e-05/0.006584, allocations: 12.94 kB / 0.8223 GB, free: 14.92 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 8.646e-06/0.006592, allocations: 64 / 0.8223 GB, free: 14.92 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001332/0.006726, allocations: 75.33 kB / 0.8224 GB, free: 14.83 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=7): time 1.273e-06/0.006727, allocations: 0 / 0.8224 GB, free: 14.83 MB / 0.8073 GB Notification: Performance of matching and sorting (n=7): time 0.0001765/0.006903, allocations: 89.72 kB / 0.8225 GB, free: 14.74 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.684e-05/0.00694, allocations: 55.41 kB / 0.8225 GB, free: 14.67 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.098e-05/0.007021, allocations: 118.7 kB / 0.8227 GB, free: 14.54 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 3.211e-05/0.007053, allocations: 33.69 kB / 0.8227 GB, free: 14.5 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 5.072e-05/0.007104, allocations: 92.12 kB / 0.8228 GB, free: 14.41 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 2.006e-05/0.007124, allocations: 23.83 kB / 0.8228 GB, free: 14.39 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.27e-05/0.007187, allocations: 41.67 kB / 0.8228 GB, free: 14.34 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 9.384e-05/0.007281, allocations: 322.8 kB / 0.8232 GB, free: 14.02 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.447e-05/0.007375, allocations: 99.38 kB / 0.8232 GB, free: 13.91 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.836e-05/0.007463, allocations: 131.6 kB / 0.8234 GB, free: 13.75 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001096/0.007573, allocations: 143.6 kB / 0.8235 GB, free: 13.58 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.807e-06/0.007577, allocations: 4 kB / 0.8235 GB, free: 13.58 MB / 0.8073 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002163/0.007793, allocations: 264.3 kB / 0.8238 GB, free: 13.29 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 6.043e-05/0.007854, allocations: 67.39 kB / 0.8238 GB, free: 13.21 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.254e-06/0.007861, allocations: 7.938 kB / 0.8238 GB, free: 13.2 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.164e-05/0.007882, allocations: 11.98 kB / 0.8238 GB, free: 13.19 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.654e-05/0.007909, allocations: 0 / 0.8238 GB, free: 13.19 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.519e-06/0.007913, allocations: 4 kB / 0.8239 GB, free: 13.19 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001808/0.008094, allocations: 36.05 kB / 0.8239 GB, free: 13.15 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.575e-05/0.00812, allocations: 19.98 kB / 0.8239 GB, free: 13.13 MB / 0.8073 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 8.016e-05/0.0082, allocations: 121.8 kB / 0.824 GB, free: 13 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.148e-05/0.008212, allocations: 7.984 kB / 0.824 GB, free: 13 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.024e-05/0.008242, allocations: 8.375 kB / 0.824 GB, free: 12.99 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.405e-06/0.008244, allocations: 0 / 0.824 GB, free: 12.99 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.306e-06/0.008248, allocations: 4 kB / 0.824 GB, free: 12.98 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.928e-06/0.008252, allocations: 0 / 0.824 GB, free: 12.98 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.263e-05/0.008334, allocations: 77.88 kB / 0.8241 GB, free: 12.89 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.224e-06/0.008336, allocations: 0 / 0.8241 GB, free: 12.89 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.229e-05/0.008349, allocations: 8 kB / 0.8241 GB, free: 12.88 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 1.007e-05/0.008359, allocations: 7.891 kB / 0.8241 GB, free: 12.88 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.809e-06/0.008364, allocations: 3.984 kB / 0.8241 GB, free: 12.87 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.971e-06/0.008369, allocations: 4 kB / 0.8241 GB, free: 12.87 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.016e-06/0.008373, allocations: 3.938 kB / 0.8241 GB, free: 12.86 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.243e-06/0.008374, allocations: 0 / 0.8241 GB, free: 12.86 MB / 0.8073 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.946e-05/0.008473, allocations: 85.03 kB / 0.8242 GB, free: 12.76 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.205e-05/0.008485, allocations: 4 kB / 0.8242 GB, free: 12.76 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.947e-05/0.008505, allocations: 0 / 0.8242 GB, free: 12.76 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.03e-05/0.008545, allocations: 11.92 kB / 0.8242 GB, free: 12.75 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.839e-06/0.00855, allocations: 0 / 0.8242 GB, free: 12.75 MB / 0.8073 GB Notification: Performance of sorting global known variables: time 2.293e-05/0.008573, allocations: 29.25 kB / 0.8243 GB, free: 12.71 MB / 0.8073 GB Notification: Performance of sort global known variables: time 5.1e-08/0.008573, allocations: 0 / 0.8243 GB, free: 12.71 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.0001405/0.008713, allocations: 28 kB / 0.8243 GB, free: 12.69 MB / 0.8073 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.0001437/0.008857, allocations: 80.41 kB / 0.8244 GB, free: 12.6 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 0.0002518/0.009109, allocations: 270.9 kB / 0.8246 GB, free: 12.3 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 4.318e-06/0.009113, allocations: 0 / 0.8246 GB, free: 12.3 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 3.194e-05/0.009145, allocations: 20.86 kB / 0.8246 GB, free: 12.27 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001974/0.009343, allocations: 131.2 kB / 0.8248 GB, free: 12.12 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005064/0.009849, allocations: 145.3 kB / 0.8249 GB, free: 11.95 MB / 0.8073 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.139e-05/0.00989, allocations: 59.22 kB / 0.825 GB, free: 11.87 MB / 0.8073 GB Notification: Performance of simCode: alias equations: time 4.09e-05/0.009931, allocations: 7.984 kB / 0.825 GB, free: 11.86 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001139/0.01005, allocations: 71.36 kB / 0.825 GB, free: 11.79 MB / 0.8073 GB Notification: Performance of SimCode: time 1.022e-06/0.01005, allocations: 4 kB / 0.825 GB, free: 11.79 MB / 0.8073 GB Notification: Performance of Templates: time 0.004391/0.01444, allocations: 2.293 MB / 0.8273 GB, free: 9.547 MB / 0.8073 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Xor.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Xor.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Xor.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Xor.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Xor.sim & ./Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Xor -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Xor.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Xor_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Xor/Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Xor.ref.csv","",relTol=0.003,relTolDiffMinMax=0.003,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 5.595961787737906]