Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001117/0.001117, allocations: 81.05 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001558/0.002675, allocations: 449.8 kB / 10.44 MB, free: 252 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.001083/0.001083, allocations: 161.1 kB / 11.36 MB, free: 2.816 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.00139/0.002473, allocations: 479.5 kB / 11.82 MB, free: 2.344 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.079/1.079, allocations: 177.2 MB / 189.8 MB, free: 5.246 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09788/1.177, allocations: 53.66 MB / 243.4 MB, free: 15.5 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo): time 1.976/1.976, allocations: 378.4 MB / 0.6079 GB, free: 7.711 MB / 0.5886 GB Notification: Performance of NFInstanceAPI.mkTop(): time 0.5328/2.508, allocations: 123.3 MB / 0.7283 GB, free: 5.762 MB / 0.698 GB " [Timeout remaining time 177] Using package Buildings with version 12.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.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_12_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_12_Buildings.Controls.OBC.CDL.Logical.Validation.Xor") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.683e-06/1.683e-06, allocations: 0 / 0.7297 GB, free: 4.441 MB / 0.698 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.514e-05/1.682e-05, allocations: 4.422 kB / 0.7297 GB, free: 4.438 MB / 0.698 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.Xor): time 0.001196/0.001213, allocations: 0.7104 MB / 0.7303 GB, free: 3.754 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.00123/0.002443, allocations: 1.241 MB / 0.7316 GB, free: 2.508 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.336e-05/0.002476, allocations: 5.031 kB / 0.7316 GB, free: 2.504 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 2.44e-05/0.002501, allocations: 7.922 kB / 0.7316 GB, free: 2.496 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 3.936e-05/0.00254, allocations: 11.2 kB / 0.7316 GB, free: 2.492 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003605/0.002901, allocations: 204.1 kB / 0.7318 GB, free: 2.293 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.0001995/0.0031, allocations: 184.4 kB / 0.732 GB, free: 2.125 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 6.921e-05/0.003169, allocations: 4.547 kB / 0.732 GB, free: 2.121 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001096/0.003279, allocations: 103.4 kB / 0.7321 GB, free: 2.023 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001003/0.003379, allocations: 53.88 kB / 0.7321 GB, free: 1.973 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 2.728e-05/0.003407, allocations: 16.81 kB / 0.7321 GB, free: 1.957 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 7.533e-05/0.003482, allocations: 28.97 kB / 0.7322 GB, free: 1.93 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 2.21e-05/0.003504, allocations: 7.156 kB / 0.7322 GB, free: 1.926 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 4.358e-05/0.003548, allocations: 35.94 kB / 0.7322 GB, free: 1.891 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.0001598/0.003707, allocations: 111.7 kB / 0.7323 GB, free: 1.781 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 1.28e-05/0.00372, allocations: 0 / 0.7323 GB, free: 1.781 MB / 0.698 GB Notification: Performance of FrontEnd: time 5.51e-07/0.003721, allocations: 0.5312 kB / 0.7323 GB, free: 1.781 MB / 0.698 GB Notification: Performance of Transformations before backend: time 1.347e-05/0.003734, allocations: 1.406 kB / 0.7323 GB, free: 1.781 MB / 0.698 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.0004195/0.004154, allocations: 339.9 kB / 0.7326 GB, free: 1.41 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 3.065e-05/0.004184, allocations: 8.031 kB / 0.7326 GB, free: 1.402 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.215e-05/0.004226, allocations: 12.92 kB / 0.7326 GB, free: 1.391 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.097e-05/0.004307, allocations: 122.8 kB / 0.7328 GB, free: 1.246 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.376e-05/0.004321, allocations: 8.375 kB / 0.7328 GB, free: 1.238 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.246e-05/0.004344, allocations: 12.38 kB / 0.7328 GB, free: 1.227 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.802e-05/0.004412, allocations: 42.73 kB / 0.7328 GB, free: 1.18 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.552e-06/0.004418, allocations: 1.781 kB / 0.7328 GB, free: 1.18 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.055e-06/0.004426, allocations: 8.359 kB / 0.7328 GB, free: 1.172 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.39e-06/0.004432, allocations: 4.312 kB / 0.7328 GB, free: 1.168 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.541e-05/0.004447, allocations: 7.938 kB / 0.7328 GB, free: 1.16 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002427/0.00469, allocations: 176.9 kB / 0.733 GB, free: 0.9727 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 5.65e-05/0.004746, allocations: 27.89 kB / 0.733 GB, free: 0.9375 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.416e-05/0.00476, allocations: 12.94 kB / 0.7331 GB, free: 0.9219 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 5.34e-06/0.004766, allocations: 0 / 0.7331 GB, free: 0.9219 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.25e-05/0.004858, allocations: 88.88 kB / 0.7331 GB, free: 0.8242 MB / 0.698 GB Notification: Performance of pre-optimization done (n=7): time 8.51e-07/0.004859, allocations: 0 / 0.7331 GB, free: 0.8242 MB / 0.698 GB Notification: Performance of matching and sorting (n=7): time 0.0001189/0.004978, allocations: 77.58 kB / 0.7332 GB, free: 0.7422 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.974e-05/0.005008, allocations: 59.34 kB / 0.7333 GB, free: 0.6719 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.96e-05/0.005067, allocations: 124 kB / 0.7334 GB, free: 0.5391 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 2.094e-05/0.005088, allocations: 33.69 kB / 0.7334 GB, free: 0.5 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 3.672e-05/0.005125, allocations: 92.08 kB / 0.7335 GB, free: 416 kB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 1.544e-05/0.005141, allocations: 19.88 kB / 0.7335 GB, free: 396 kB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.46e-05/0.005195, allocations: 42.33 kB / 0.7336 GB, free: 348 kB / 0.698 GB Notification: Performance of setup shared object (initialization): time 6.872e-05/0.005264, allocations: 318.8 kB / 0.7339 GB, free: 20 kB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.267e-05/0.005347, allocations: 100.5 kB / 0.734 GB, free: 15.91 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.911e-05/0.005426, allocations: 131.7 kB / 0.7341 GB, free: 15.75 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.848e-05/0.005524, allocations: 149.3 kB / 0.7342 GB, free: 15.58 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.974e-06/0.005526, allocations: 0 / 0.7342 GB, free: 15.58 MB / 0.7136 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001827/0.005709, allocations: 265.8 kB / 0.7345 GB, free: 15.29 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 4.62e-05/0.005755, allocations: 70.2 kB / 0.7346 GB, free: 15.21 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.24e-06/0.00576, allocations: 5.531 kB / 0.7346 GB, free: 15.21 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.304e-05/0.005773, allocations: 7.984 kB / 0.7346 GB, free: 15.2 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.82e-05/0.005791, allocations: 3.938 kB / 0.7346 GB, free: 15.2 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.697e-06/0.005795, allocations: 4 kB / 0.7346 GB, free: 15.2 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001525/0.005948, allocations: 37.27 kB / 0.7346 GB, free: 15.16 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.9e-05/0.005967, allocations: 15.98 kB / 0.7346 GB, free: 15.14 MB / 0.7136 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 6.05e-05/0.006027, allocations: 115.1 kB / 0.7347 GB, free: 15.02 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.427e-06/0.006037, allocations: 11.98 kB / 0.7347 GB, free: 15.01 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.209e-05/0.006059, allocations: 9.625 kB / 0.7348 GB, free: 15 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.365e-06/0.006061, allocations: 4 kB / 0.7348 GB, free: 15 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.413e-06/0.006062, allocations: 0 / 0.7348 GB, free: 15 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.855e-06/0.006065, allocations: 0.8438 kB / 0.7348 GB, free: 15 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.016e-05/0.006125, allocations: 77.88 kB / 0.7348 GB, free: 14.9 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.81e-07/0.006126, allocations: 3.938 kB / 0.7348 GB, free: 14.9 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.352e-06/0.006132, allocations: 4.531 kB / 0.7348 GB, free: 14.89 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 5.6e-06/0.006138, allocations: 4.953 kB / 0.7348 GB, free: 14.89 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.855e-06/0.006141, allocations: 7.984 kB / 0.7349 GB, free: 14.88 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.937e-06/0.006145, allocations: 0 / 0.7349 GB, free: 14.88 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.084e-06/0.006147, allocations: 4.875 kB / 0.7349 GB, free: 14.88 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.62e-07/0.006148, allocations: 0 / 0.7349 GB, free: 14.88 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.71e-05/0.006215, allocations: 82.31 kB / 0.7349 GB, free: 14.78 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.937e-06/0.006224, allocations: 4 kB / 0.7349 GB, free: 14.78 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.169e-05/0.006235, allocations: 0 / 0.7349 GB, free: 14.78 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.939e-05/0.006265, allocations: 11.98 kB / 0.735 GB, free: 14.77 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.877e-06/0.006269, allocations: 4.656 kB / 0.735 GB, free: 14.76 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 1.557e-05/0.006284, allocations: 21.53 kB / 0.735 GB, free: 14.74 MB / 0.7136 GB Notification: Performance of sort global known variables: time 4.1e-08/0.006284, allocations: 0 / 0.735 GB, free: 14.74 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0001273/0.006411, allocations: 36.69 kB / 0.735 GB, free: 14.7 MB / 0.7136 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.0001029/0.006514, allocations: 86.41 kB / 0.7351 GB, free: 14.61 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0001858/0.0067, allocations: 262.9 kB / 0.7353 GB, free: 14.32 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 4.168e-06/0.006704, allocations: 4 kB / 0.7353 GB, free: 14.31 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 2.488e-05/0.006729, allocations: 21.45 kB / 0.7354 GB, free: 14.29 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001377/0.006867, allocations: 132 kB / 0.7355 GB, free: 14.14 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004005/0.007268, allocations: 155.4 kB / 0.7356 GB, free: 13.96 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.905e-05/0.007297, allocations: 55.36 kB / 0.7357 GB, free: 13.88 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 2.155e-05/0.007318, allocations: 11.98 kB / 0.7357 GB, free: 13.87 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.906e-05/0.007417, allocations: 75.3 kB / 0.7358 GB, free: 13.8 MB / 0.7136 GB Notification: Performance of SimCode: time 3.41e-07/0.007418, allocations: 0 / 0.7358 GB, free: 13.8 MB / 0.7136 GB Notification: Performance of Templates: time 0.003637/0.01105, allocations: 2.272 MB / 0.738 GB, free: 11.65 MB / 0.7136 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.Xor.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.Xor.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.Xor.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.Xor.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.Xor.sim & ./Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.Xor -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.Xor.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.Xor_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.Xor/Buildings_12_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.125007601454854]