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.00148/0.00148, allocations: 104.3 kB / 19.7 MB, free: 2.152 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.00163/0.00163, allocations: 214.6 kB / 22.99 MB, free: 4.965 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.564/1.564, allocations: 230.6 MB / 256.8 MB, free: 7.797 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.31/3.31, allocations: 0.49 GB / 0.7959 GB, free: 35.62 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-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: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.003227/0.003227, allocations: 68.17 kB / 1.155 GB, free: 25.23 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4477/0.451, allocations: 176.1 MB / 1.327 GB, free: 0.9766 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.Xor): time 0.002014/0.453, allocations: 0.6443 MB / 1.328 GB, free: 344 kB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.001842/0.4548, allocations: 1.214 MB / 1.329 GB, free: 15.11 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.753e-05/0.4549, allocations: 4 kB / 1.329 GB, free: 15.11 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 3.438e-05/0.4549, allocations: 3.938 kB / 1.329 GB, free: 15.1 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 7.907e-05/0.455, allocations: 3.938 kB / 1.329 GB, free: 15.1 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007674/0.4558, allocations: 226.2 kB / 1.329 GB, free: 14.88 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0002626/0.456, allocations: 175.7 kB / 1.329 GB, free: 14.71 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001212/0.4561, allocations: 16 kB / 1.329 GB, free: 14.7 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001183/0.4563, allocations: 67.89 kB / 1.329 GB, free: 14.63 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001484/0.4564, allocations: 59.84 kB / 1.329 GB, free: 14.57 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 3.909e-05/0.4564, allocations: 16 kB / 1.329 GB, free: 14.55 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 9.58e-05/0.4565, allocations: 35.98 kB / 1.329 GB, free: 14.52 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 2.641e-05/0.4566, allocations: 7.938 kB / 1.329 GB, free: 14.51 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 9.954e-05/0.4567, allocations: 59.88 kB / 1.33 GB, free: 14.45 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0002467/0.4569, allocations: 151.5 kB / 1.33 GB, free: 14.3 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 5.139e-06/0.4569, allocations: 0 / 1.33 GB, free: 14.3 MB / 1.029 GB Notification: Performance of FrontEnd: time 2.064e-06/0.4569, allocations: 3.938 kB / 1.33 GB, free: 14.3 MB / 1.029 GB Notification: Performance of Transformations before backend: time 6.742e-06/0.4569, allocations: 4 kB / 1.33 GB, free: 14.3 MB / 1.029 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.000626/0.4575, allocations: 365.5 kB / 1.33 GB, free: 13.89 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.071e-05/0.4576, allocations: 8.031 kB / 1.33 GB, free: 13.89 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.199e-05/0.4577, allocations: 12.94 kB / 1.33 GB, free: 13.88 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001325/0.4578, allocations: 110.5 kB / 1.33 GB, free: 13.74 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.204e-05/0.4578, allocations: 4.375 kB / 1.33 GB, free: 13.74 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.284e-05/0.4578, allocations: 8.375 kB / 1.33 GB, free: 13.73 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001388/0.458, allocations: 54.23 kB / 1.33 GB, free: 13.67 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.367e-06/0.458, allocations: 192 / 1.33 GB, free: 13.67 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.593e-05/0.458, allocations: 3.938 kB / 1.33 GB, free: 13.67 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.522e-06/0.458, allocations: 4 kB / 1.33 GB, free: 13.66 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.804e-05/0.4581, allocations: 23.92 kB / 1.33 GB, free: 13.64 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005246/0.4586, allocations: 272.5 kB / 1.331 GB, free: 13.34 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 9.231e-05/0.4587, allocations: 38.5 kB / 1.331 GB, free: 13.3 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.701e-05/0.4587, allocations: 24.88 kB / 1.331 GB, free: 13.27 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 1.184e-05/0.4587, allocations: 0 / 1.331 GB, free: 13.27 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002074/0.4589, allocations: 83.27 kB / 1.331 GB, free: 13.18 MB / 1.029 GB Notification: Performance of pre-optimization done (n=7): time 1.222e-06/0.4589, allocations: 0 / 1.331 GB, free: 13.18 MB / 1.029 GB Notification: Performance of matching and sorting (n=7): time 0.0002769/0.4592, allocations: 105.6 kB / 1.331 GB, free: 13.07 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.886e-05/0.4593, allocations: 59.39 kB / 1.331 GB, free: 13 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.929e-05/0.4594, allocations: 117.8 kB / 1.331 GB, free: 12.87 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 4.134e-05/0.4594, allocations: 33.7 kB / 1.331 GB, free: 12.83 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 7.204e-05/0.4595, allocations: 88.14 kB / 1.331 GB, free: 12.74 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 2.11e-05/0.4595, allocations: 15.89 kB / 1.331 GB, free: 12.73 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001036/0.4596, allocations: 53.62 kB / 1.331 GB, free: 12.67 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001494/0.4598, allocations: 314.8 kB / 1.331 GB, free: 12.35 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001775/0.4599, allocations: 123.4 kB / 1.332 GB, free: 12.22 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002026/0.4601, allocations: 155.7 kB / 1.332 GB, free: 12.04 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002139/0.4604, allocations: 167.5 kB / 1.332 GB, free: 11.85 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.014e-06/0.4604, allocations: 3.938 kB / 1.332 GB, free: 11.84 MB / 1.029 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0004908/0.4609, allocations: 324.7 kB / 1.332 GB, free: 11.5 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 6.778e-05/0.4609, allocations: 69.11 kB / 1.332 GB, free: 11.42 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.751e-06/0.4609, allocations: 0 / 1.332 GB, free: 11.42 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.571e-05/0.4609, allocations: 7.938 kB / 1.332 GB, free: 11.41 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.67e-05/0.461, allocations: 7.922 kB / 1.332 GB, free: 11.4 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.494e-06/0.461, allocations: 4 kB / 1.332 GB, free: 11.4 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003378/0.4613, allocations: 60.02 kB / 1.332 GB, free: 11.34 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.427e-05/0.4613, allocations: 11.98 kB / 1.332 GB, free: 11.33 MB / 1.029 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.0001312/0.4615, allocations: 127.7 kB / 1.332 GB, free: 11.2 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.375e-05/0.4615, allocations: 4 kB / 1.332 GB, free: 11.19 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.369e-05/0.4615, allocations: 8.375 kB / 1.332 GB, free: 11.18 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.014e-06/0.4615, allocations: 0 / 1.332 GB, free: 11.18 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.839e-06/0.4615, allocations: 4 kB / 1.332 GB, free: 11.18 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.196e-06/0.4615, allocations: 4 kB / 1.332 GB, free: 11.17 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000123/0.4617, allocations: 121.2 kB / 1.333 GB, free: 11.02 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.81e-07/0.4617, allocations: 0 / 1.333 GB, free: 11.02 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.138e-05/0.4617, allocations: 4 kB / 1.333 GB, free: 11.02 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.473e-06/0.4617, allocations: 0 / 1.333 GB, free: 11.02 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.746e-06/0.4617, allocations: 0 / 1.333 GB, free: 11.02 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.202e-06/0.4617, allocations: 0 / 1.333 GB, free: 11.02 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.12e-07/0.4617, allocations: 3.938 kB / 1.333 GB, free: 11.02 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002322/0.4619, allocations: 121 kB / 1.333 GB, free: 10.88 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 1.049e-05/0.4619, allocations: 4.016 kB / 1.333 GB, free: 10.88 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.326e-05/0.4619, allocations: 12 kB / 1.333 GB, free: 10.86 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.333e-05/0.462, allocations: 7.984 kB / 1.333 GB, free: 10.86 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.902e-05/0.462, allocations: 4 kB / 1.333 GB, free: 10.85 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.758e-06/0.462, allocations: 3.984 kB / 1.333 GB, free: 10.85 MB / 1.029 GB Notification: Performance of sorting global known variables: time 5.678e-05/0.4621, allocations: 87.28 kB / 1.333 GB, free: 10.76 MB / 1.029 GB Notification: Performance of sort global known variables: time 1.1e-07/0.4621, allocations: 4 kB / 1.333 GB, free: 10.76 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0002482/0.4623, allocations: 28 kB / 1.333 GB, free: 10.73 MB / 1.029 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.0002212/0.4626, allocations: 111.2 kB / 1.333 GB, free: 10.61 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.000407/0.463, allocations: 282.3 kB / 1.333 GB, free: 10.3 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.435e-06/0.463, allocations: 4.062 kB / 1.333 GB, free: 10.3 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 4.718e-05/0.463, allocations: 19.94 kB / 1.333 GB, free: 10.28 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002494/0.4633, allocations: 24.14 kB / 1.333 GB, free: 10.25 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003739/0.4636, allocations: 156.4 kB / 1.333 GB, free: 10.07 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.503e-05/0.4637, allocations: 71.33 kB / 1.333 GB, free: 9.984 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 2.552e-05/0.4637, allocations: 4 kB / 1.333 GB, free: 9.98 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.794e-05/0.4638, allocations: 15.44 kB / 1.333 GB, free: 9.965 MB / 1.029 GB Notification: Performance of SimCode: time 4.81e-07/0.4638, allocations: 0 / 1.333 GB, free: 9.965 MB / 1.029 GB Notification: Performance of Templates: time 0.005288/0.4691, allocations: 2.111 MB / 1.336 GB, free: 7.898 MB / 1.029 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=400 -s cvode -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.Xor.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.Xor_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Controls_OBC_CDL_Logical_Validation_Xor.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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: 9.378865709004458]