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.0007705/0.0007705, allocations: 76.55 kB / 19.93 MB, free: 4.633 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.0007698/0.0007698, allocations: 181.9 kB / 23.22 MB, free: 1.348 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.8822/0.8822, allocations: 177.1 MB / 203.5 MB, free: 5.723 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.648/1.648, allocations: 359 MB / 0.6044 GB, free: 11.11 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.094e-06/2.094e-06, allocations: 0 / 0.9517 GB, free: 3.008 MB / 0.9011 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.229e-05/2.439e-05, allocations: 2.281 kB / 0.9517 GB, free: 3.004 MB / 0.9011 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.Xor): time 0.00122/0.001245, allocations: 0.6491 MB / 0.9524 GB, free: 2.348 MB / 0.9011 GB Notification: Performance of NFInst.instExpressions: time 0.001167/0.002412, allocations: 1.21 MB / 0.9536 GB, free: 1.125 MB / 0.9011 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.167e-05/0.002454, allocations: 0 / 0.9536 GB, free: 1.125 MB / 0.9011 GB Notification: Performance of NFTyping.typeComponents: time 2.791e-05/0.002482, allocations: 3.938 kB / 0.9536 GB, free: 1.121 MB / 0.9011 GB Notification: Performance of NFTyping.typeBindings: time 6.603e-05/0.002548, allocations: 15.91 kB / 0.9536 GB, free: 1.105 MB / 0.9011 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004959/0.003043, allocations: 219.2 kB / 0.9538 GB, free: 0.8984 MB / 0.9011 GB Notification: Performance of NFFlatten.flatten: time 0.0001758/0.003219, allocations: 179.7 kB / 0.954 GB, free: 0.7227 MB / 0.9011 GB Notification: Performance of NFFlatten.resolveConnections: time 9.294e-05/0.003312, allocations: 0 / 0.954 GB, free: 0.7227 MB / 0.9011 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001113/0.003424, allocations: 99.86 kB / 0.9541 GB, free: 0.625 MB / 0.9011 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001019/0.003525, allocations: 55.84 kB / 0.9541 GB, free: 0.5703 MB / 0.9011 GB Notification: Performance of NFPackage.collectConstants: time 2.483e-05/0.00355, allocations: 16 kB / 0.9541 GB, free: 0.5547 MB / 0.9011 GB Notification: Performance of NFFlatten.collectFunctions: time 5.846e-05/0.003609, allocations: 27.92 kB / 0.9542 GB, free: 0.5273 MB / 0.9011 GB Notification: Performance of NFScalarize.scalarize: time 2.222e-05/0.003631, allocations: 15.92 kB / 0.9542 GB, free: 0.5117 MB / 0.9011 GB Notification: Performance of NFVerifyModel.verify: time 5.505e-05/0.003686, allocations: 43.95 kB / 0.9542 GB, free: 480 kB / 0.9011 GB Notification: Performance of NFConvertDAE.convert: time 0.0001992/0.003885, allocations: 191.5 kB / 0.9544 GB, free: 288 kB / 0.9011 GB Notification: Performance of FrontEnd - DAE generated: time 1.784e-06/0.003887, allocations: 0 / 0.9544 GB, free: 288 kB / 0.9011 GB Notification: Performance of FrontEnd: time 1.362e-06/0.003888, allocations: 4 kB / 0.9544 GB, free: 284 kB / 0.9011 GB Notification: Performance of Transformations before backend: time 3.997e-06/0.003892, allocations: 0 / 0.9544 GB, free: 284 kB / 0.9011 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.0004263/0.004319, allocations: 357.5 kB / 0.9547 GB, free: 15.88 MB / 0.9167 GB Notification: Performance of prepare preOptimizeDAE: time 3.72e-05/0.004356, allocations: 12.03 kB / 0.9547 GB, free: 15.87 MB / 0.9167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.753e-05/0.004403, allocations: 8.891 kB / 0.9548 GB, free: 15.86 MB / 0.9167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.81e-05/0.004482, allocations: 109.7 kB / 0.9549 GB, free: 15.73 MB / 0.9167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.4e-05/0.004496, allocations: 8.375 kB / 0.9549 GB, free: 15.72 MB / 0.9167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.18e-05/0.004517, allocations: 12.36 kB / 0.9549 GB, free: 15.71 MB / 0.9167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001023/0.00462, allocations: 50.19 kB / 0.9549 GB, free: 15.66 MB / 0.9167 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.083e-06/0.004627, allocations: 192 / 0.9549 GB, free: 15.66 MB / 0.9167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.999e-06/0.004637, allocations: 8.375 kB / 0.9549 GB, free: 15.65 MB / 0.9167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.799e-06/0.004641, allocations: 384 / 0.9549 GB, free: 15.65 MB / 0.9167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.801e-05/0.004679, allocations: 19.92 kB / 0.955 GB, free: 15.63 MB / 0.9167 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003568/0.005036, allocations: 268.5 kB / 0.9552 GB, free: 15.34 MB / 0.9167 GB Notification: Performance of preOpt comSubExp (simulation): time 7.064e-05/0.005107, allocations: 38.56 kB / 0.9552 GB, free: 15.29 MB / 0.9167 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.18e-05/0.005129, allocations: 16.8 kB / 0.9553 GB, free: 15.27 MB / 0.9167 GB Notification: Performance of preOpt evalFunc (simulation): time 7.915e-06/0.005137, allocations: 0 / 0.9553 GB, free: 15.27 MB / 0.9167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000131/0.005268, allocations: 95.38 kB / 0.9554 GB, free: 15.16 MB / 0.9167 GB Notification: Performance of pre-optimization done (n=7): time 1.152e-06/0.005269, allocations: 0 / 0.9554 GB, free: 15.16 MB / 0.9167 GB Notification: Performance of matching and sorting (n=7): time 0.0002045/0.005473, allocations: 101.6 kB / 0.9555 GB, free: 15.06 MB / 0.9167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.62e-05/0.00551, allocations: 63.28 kB / 0.9555 GB, free: 14.98 MB / 0.9167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.637e-05/0.005586, allocations: 121.8 kB / 0.9556 GB, free: 14.86 MB / 0.9167 GB Notification: Performance of collectPreVariables (initialization): time 2.44e-05/0.00561, allocations: 33.7 kB / 0.9557 GB, free: 14.82 MB / 0.9167 GB Notification: Performance of collectInitialEqns (initialization): time 5.022e-05/0.005661, allocations: 96.08 kB / 0.9558 GB, free: 14.72 MB / 0.9167 GB Notification: Performance of collectInitialBindings (initialization): time 1.284e-05/0.005673, allocations: 11.94 kB / 0.9558 GB, free: 14.71 MB / 0.9167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.086e-05/0.005734, allocations: 45.69 kB / 0.9558 GB, free: 14.66 MB / 0.9167 GB Notification: Performance of setup shared object (initialization): time 8.234e-05/0.005817, allocations: 318.8 kB / 0.9561 GB, free: 14.34 MB / 0.9167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001196/0.005936, allocations: 119.4 kB / 0.9562 GB, free: 14.21 MB / 0.9167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001214/0.006057, allocations: 155.7 kB / 0.9564 GB, free: 14.03 MB / 0.9167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001301/0.006188, allocations: 159.6 kB / 0.9565 GB, free: 13.84 MB / 0.9167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.667e-06/0.006191, allocations: 4 kB / 0.9565 GB, free: 13.84 MB / 0.9167 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0003034/0.006495, allocations: 328.2 kB / 0.9568 GB, free: 13.49 MB / 0.9167 GB Notification: Performance of prepare postOptimizeDAE: time 3.928e-05/0.006534, allocations: 71.39 kB / 0.9569 GB, free: 13.41 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.689e-06/0.006539, allocations: 0 / 0.9569 GB, free: 13.41 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.33e-05/0.006552, allocations: 3.984 kB / 0.9569 GB, free: 13.4 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.876e-05/0.006571, allocations: 7.938 kB / 0.9569 GB, free: 13.39 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.019e-06/0.006576, allocations: 4.125 kB / 0.9569 GB, free: 13.39 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001932/0.006769, allocations: 59.83 kB / 0.957 GB, free: 13.33 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.071e-05/0.00679, allocations: 15.98 kB / 0.957 GB, free: 13.32 MB / 0.9167 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.356e-05/0.006863, allocations: 120.8 kB / 0.9571 GB, free: 13.19 MB / 0.9167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.186e-06/0.006871, allocations: 7.891 kB / 0.9571 GB, free: 13.18 MB / 0.9167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.048e-05/0.006892, allocations: 12.44 kB / 0.9571 GB, free: 13.17 MB / 0.9167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.445e-06/0.006894, allocations: 0 / 0.9571 GB, free: 13.17 MB / 0.9167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.369e-06/0.006899, allocations: 4 kB / 0.9571 GB, free: 13.16 MB / 0.9167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.617e-06/0.006902, allocations: 4.453 kB / 0.9571 GB, free: 13.16 MB / 0.9167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.662e-05/0.006979, allocations: 117.3 kB / 0.9573 GB, free: 13.02 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.52e-07/0.00698, allocations: 3.938 kB / 0.9573 GB, free: 13.01 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.316e-06/0.006983, allocations: 0 / 0.9573 GB, free: 13.01 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.547e-06/0.006987, allocations: 7.938 kB / 0.9573 GB, free: 13 MB / 0.9167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.542e-06/0.006993, allocations: 3.938 kB / 0.9573 GB, free: 13 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.92e-07/0.006994, allocations: 320 / 0.9573 GB, free: 13 MB / 0.9167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.052e-06/0.006995, allocations: 0 / 0.9573 GB, free: 13 MB / 0.9167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001032/0.007098, allocations: 113.1 kB / 0.9574 GB, free: 12.87 MB / 0.9167 GB Notification: Performance of postOpt removeConstants (simulation): time 9.668e-06/0.007108, allocations: 7.953 kB / 0.9574 GB, free: 12.86 MB / 0.9167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.258e-05/0.007121, allocations: 15.86 kB / 0.9574 GB, free: 12.85 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.252e-05/0.007133, allocations: 0 / 0.9574 GB, free: 12.85 MB / 0.9167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.671e-05/0.00717, allocations: 11.98 kB / 0.9574 GB, free: 12.84 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.398e-06/0.007174, allocations: 4 kB / 0.9574 GB, free: 12.83 MB / 0.9167 GB Notification: Performance of sorting global known variables: time 3.502e-05/0.007209, allocations: 91.22 kB / 0.9575 GB, free: 12.74 MB / 0.9167 GB Notification: Performance of sort global known variables: time 5e-08/0.007209, allocations: 0 / 0.9575 GB, free: 12.74 MB / 0.9167 GB Notification: Performance of remove unused functions: time 0.0001596/0.007369, allocations: 39.92 kB / 0.9575 GB, free: 12.7 MB / 0.9167 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.0001092/0.007478, allocations: 95.25 kB / 0.9576 GB, free: 12.6 MB / 0.9167 GB Notification: Performance of simCode: created initialization part: time 0.0002679/0.007746, allocations: 290.1 kB / 0.9579 GB, free: 12.28 MB / 0.9167 GB Notification: Performance of simCode: created event and clocks part: time 1.272e-06/0.007747, allocations: 0 / 0.9579 GB, free: 12.28 MB / 0.9167 GB Notification: Performance of simCode: created simulation system equations: time 3.55e-05/0.007783, allocations: 23.98 kB / 0.9579 GB, free: 12.26 MB / 0.9167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001706/0.007953, allocations: 19.92 kB / 0.958 GB, free: 12.24 MB / 0.9167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002766/0.00823, allocations: 191 kB / 0.9581 GB, free: 12.02 MB / 0.9167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.317e-05/0.008273, allocations: 71.25 kB / 0.9582 GB, free: 11.93 MB / 0.9167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.842e-05/0.008292, allocations: 16.75 kB / 0.9582 GB, free: 11.91 MB / 0.9167 GB Notification: Performance of SimCode: time 6.21e-07/0.008292, allocations: 0 / 0.9582 GB, free: 11.91 MB / 0.9167 GB Notification: Performance of Templates: time 0.002176/0.01047, allocations: 1.418 MB / 0.9596 GB, free: 10.51 MB / 0.9167 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=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.Xor.pipe 2>&1) [Timeout 400] 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: 6.4639493292197585]