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.001905/0.001905, allocations: 79.36 kB / 19.18 MB, free: 2.52 MB / 14.72 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.002393/0.002393, allocations: 166.5 kB / 22.46 MB, free: 5.375 MB / 14.72 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.532/1.532, allocations: 177.2 MB / 202.8 MB, free: 9.164 MB / 190.1 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.742/2.742, allocations: 359 MB / 0.6037 GB, free: 15 MB / 0.5762 GB " [Timeout remaining time 177] 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 3.226e-06/3.226e-06, allocations: 0 / 0.951 GB, free: 11.59 MB / 0.8575 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.428e-05/3.751e-05, allocations: 2.281 kB / 0.951 GB, free: 11.58 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.Xor): time 0.001945/0.001983, allocations: 0.6454 MB / 0.9516 GB, free: 10.93 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.002178/0.00416, allocations: 1.214 MB / 0.9528 GB, free: 9.703 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.856e-05/0.004219, allocations: 0 / 0.9528 GB, free: 9.703 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 3.895e-05/0.004258, allocations: 7.938 kB / 0.9528 GB, free: 9.695 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 8.711e-05/0.004345, allocations: 19.84 kB / 0.9528 GB, free: 9.676 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009548/0.0053, allocations: 221.5 kB / 0.953 GB, free: 9.465 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.000283/0.005583, allocations: 167.7 kB / 0.9532 GB, free: 9.301 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000113/0.005696, allocations: 7.984 kB / 0.9532 GB, free: 9.293 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001576/0.005853, allocations: 91.88 kB / 0.9533 GB, free: 9.203 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001489/0.006002, allocations: 63.89 kB / 0.9534 GB, free: 9.141 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 4.501e-05/0.006047, allocations: 12 kB / 0.9534 GB, free: 9.129 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 8.548e-05/0.006133, allocations: 24 kB / 0.9534 GB, free: 9.105 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 0.0001024/0.006235, allocations: 19.91 kB / 0.9534 GB, free: 9.086 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 9.131e-05/0.006326, allocations: 43.97 kB / 0.9534 GB, free: 9.043 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0003381/0.006664, allocations: 191.5 kB / 0.9536 GB, free: 8.855 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 3.557e-06/0.006668, allocations: 0 / 0.9536 GB, free: 8.855 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.492e-06/0.006669, allocations: 4 kB / 0.9536 GB, free: 8.852 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 4.308e-06/0.006674, allocations: 3.938 kB / 0.9536 GB, free: 8.848 MB / 0.8575 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.0006828/0.007357, allocations: 357.5 kB / 0.954 GB, free: 8.453 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.722e-05/0.007404, allocations: 12.03 kB / 0.954 GB, free: 8.441 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.042e-05/0.007474, allocations: 12.89 kB / 0.954 GB, free: 8.43 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001475/0.007622, allocations: 109.7 kB / 0.9541 GB, free: 8.297 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.664e-05/0.007638, allocations: 4.375 kB / 0.9541 GB, free: 8.293 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.421e-05/0.007683, allocations: 16.36 kB / 0.9541 GB, free: 8.277 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001404/0.007823, allocations: 46.25 kB / 0.9542 GB, free: 8.227 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.076e-05/0.007834, allocations: 192 / 0.9542 GB, free: 8.227 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.133e-05/0.007845, allocations: 384 / 0.9542 GB, free: 8.227 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.709e-06/0.00785, allocations: 384 / 0.9542 GB, free: 8.227 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.083e-05/0.007911, allocations: 31.86 kB / 0.9542 GB, free: 8.195 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005758/0.008486, allocations: 264.5 kB / 0.9545 GB, free: 7.906 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 9.398e-05/0.00858, allocations: 42.56 kB / 0.9545 GB, free: 7.855 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.265e-05/0.008613, allocations: 12.86 kB / 0.9545 GB, free: 7.84 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 7.064e-06/0.00862, allocations: 0 / 0.9545 GB, free: 7.84 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001953/0.008815, allocations: 91.33 kB / 0.9546 GB, free: 7.738 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=7): time 1.383e-06/0.008817, allocations: 0 / 0.9546 GB, free: 7.738 MB / 0.8575 GB Notification: Performance of matching and sorting (n=7): time 0.0003155/0.009132, allocations: 105.6 kB / 0.9547 GB, free: 7.629 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.224e-05/0.009185, allocations: 55.41 kB / 0.9547 GB, free: 7.562 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001315/0.009316, allocations: 117.8 kB / 0.9549 GB, free: 7.438 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 4.214e-05/0.009358, allocations: 29.7 kB / 0.9549 GB, free: 7.402 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 9.002e-05/0.009448, allocations: 100.1 kB / 0.955 GB, free: 7.301 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 1.703e-05/0.009465, allocations: 15.89 kB / 0.955 GB, free: 7.285 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001091/0.009574, allocations: 49.69 kB / 0.955 GB, free: 7.23 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.0001963/0.009771, allocations: 314.8 kB / 0.9553 GB, free: 6.914 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001872/0.009958, allocations: 119.4 kB / 0.9555 GB, free: 6.785 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002232/0.01018, allocations: 160 kB / 0.9556 GB, free: 6.602 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002466/0.01043, allocations: 163.6 kB / 0.9558 GB, free: 6.414 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.976e-06/0.01043, allocations: 0 / 0.9558 GB, free: 6.414 MB / 0.8575 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0005284/0.01096, allocations: 344.2 kB / 0.9561 GB, free: 6.047 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 6.954e-05/0.01103, allocations: 63.39 kB / 0.9562 GB, free: 5.973 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.844e-06/0.01104, allocations: 4 kB / 0.9562 GB, free: 5.969 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.092e-05/0.01106, allocations: 0 / 0.9562 GB, free: 5.969 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.172e-05/0.01109, allocations: 11.94 kB / 0.9562 GB, free: 5.957 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.002e-06/0.0111, allocations: 0 / 0.9562 GB, free: 5.957 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000368/0.01146, allocations: 64.02 kB / 0.9562 GB, free: 5.895 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.486e-05/0.0115, allocations: 11.98 kB / 0.9562 GB, free: 5.883 MB / 0.8575 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.0002843/0.01178, allocations: 120.4 kB / 0.9564 GB, free: 5.758 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.781e-05/0.01181, allocations: 11.94 kB / 0.9564 GB, free: 5.746 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.268e-05/0.01184, allocations: 8.438 kB / 0.9564 GB, free: 5.738 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.783e-06/0.01184, allocations: 0 / 0.9564 GB, free: 5.738 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.861e-06/0.01185, allocations: 0 / 0.9564 GB, free: 5.738 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.803e-06/0.01186, allocations: 3.984 kB / 0.9564 GB, free: 5.734 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001315/0.01199, allocations: 121.3 kB / 0.9565 GB, free: 5.586 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.122e-06/0.01199, allocations: 0 / 0.9565 GB, free: 5.586 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.244e-05/0.012, allocations: 7.938 kB / 0.9565 GB, free: 5.578 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.238e-06/0.01201, allocations: 3.938 kB / 0.9565 GB, free: 5.574 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.255e-05/0.01202, allocations: 4 kB / 0.9565 GB, free: 5.57 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.402e-06/0.01202, allocations: 0 / 0.9565 GB, free: 5.57 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.01e-07/0.01202, allocations: 320 / 0.9565 GB, free: 5.57 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001888/0.01221, allocations: 113.1 kB / 0.9566 GB, free: 5.441 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 1.28e-05/0.01222, allocations: 7.953 kB / 0.9566 GB, free: 5.434 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.393e-05/0.01225, allocations: 11.92 kB / 0.9566 GB, free: 5.422 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.141e-05/0.01227, allocations: 0 / 0.9566 GB, free: 5.422 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.103e-05/0.01233, allocations: 7.984 kB / 0.9566 GB, free: 5.414 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.907e-06/0.01234, allocations: 4 kB / 0.9567 GB, free: 5.41 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 8.111e-05/0.01242, allocations: 99.2 kB / 0.9567 GB, free: 5.312 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.1e-07/0.01242, allocations: 3.938 kB / 0.9568 GB, free: 5.309 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0002589/0.01268, allocations: 35.94 kB / 0.9568 GB, free: 5.273 MB / 0.8575 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.0001978/0.01288, allocations: 99.19 kB / 0.9569 GB, free: 5.164 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0004855/0.01336, allocations: 282.1 kB / 0.9571 GB, free: 4.852 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 1.603e-06/0.01336, allocations: 0 / 0.9571 GB, free: 4.852 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 5.192e-05/0.01342, allocations: 23.98 kB / 0.9572 GB, free: 4.828 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002492/0.01366, allocations: 20.23 kB / 0.9572 GB, free: 4.809 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004941/0.01416, allocations: 159.4 kB / 0.9573 GB, free: 4.625 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.945e-05/0.01423, allocations: 71.2 kB / 0.9574 GB, free: 4.535 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 2.794e-05/0.01426, allocations: 7.984 kB / 0.9574 GB, free: 4.527 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.056e-05/0.01429, allocations: 16.44 kB / 0.9574 GB, free: 4.508 MB / 0.8575 GB Notification: Performance of SimCode: time 4.51e-07/0.01429, allocations: 0 / 0.9574 GB, free: 4.508 MB / 0.8575 GB Notification: Performance of Templates: time 0.005858/0.02014, allocations: 2.061 MB / 0.9594 GB, free: 2.5 MB / 0.8575 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: 8.099464673548937]