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.002179/0.002179, allocations: 99.64 kB / 18.95 MB, free: 2.668 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.003349/0.003349, allocations: 213.3 kB / 22.24 MB, free: 5.258 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.651/1.651, allocations: 230.6 MB / 256 MB, free: 7.809 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.431/3.431, allocations: 0.4892 GB / 0.7943 GB, free: 35.61 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.002103/0.002103, allocations: 68.69 kB / 1.154 GB, free: 25.6 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4077/0.4098, allocations: 176.1 MB / 1.326 GB, free: 1.906 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.Xor): time 0.002523/0.4123, allocations: 0.6518 MB / 1.326 GB, free: 1.258 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.001935/0.4143, allocations: 1.206 MB / 1.327 GB, free: 40 kB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.048e-05/0.4143, allocations: 4 kB / 1.327 GB, free: 36 kB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 3.186e-05/0.4144, allocations: 0 / 1.327 GB, free: 36 kB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 8.039e-05/0.4144, allocations: 11.88 kB / 1.327 GB, free: 24 kB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007243/0.4152, allocations: 217.9 kB / 1.328 GB, free: 15.81 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0002504/0.4154, allocations: 167.8 kB / 1.328 GB, free: 15.65 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001077/0.4155, allocations: 11.98 kB / 1.328 GB, free: 15.64 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001068/0.4156, allocations: 75.73 kB / 1.328 GB, free: 15.57 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001535/0.4158, allocations: 59.83 kB / 1.328 GB, free: 15.51 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 4.115e-05/0.4158, allocations: 16 kB / 1.328 GB, free: 15.49 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 8.495e-05/0.4159, allocations: 24 kB / 1.328 GB, free: 15.47 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 3.043e-05/0.4159, allocations: 15.92 kB / 1.328 GB, free: 15.45 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 9.548e-05/0.416, allocations: 51.89 kB / 1.328 GB, free: 15.4 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0002512/0.4163, allocations: 155.6 kB / 1.328 GB, free: 15.25 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 4.448e-06/0.4163, allocations: 3.938 kB / 1.328 GB, free: 15.25 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.834e-06/0.4163, allocations: 0 / 1.328 GB, free: 15.25 MB / 1.029 GB Notification: Performance of Transformations before backend: time 6.432e-06/0.4163, allocations: 0 / 1.328 GB, free: 15.25 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.0006298/0.4169, allocations: 361.5 kB / 1.328 GB, free: 14.85 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.31e-05/0.417, allocations: 12.03 kB / 1.328 GB, free: 14.84 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.447e-05/0.417, allocations: 12.88 kB / 1.328 GB, free: 14.82 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001248/0.4172, allocations: 118.5 kB / 1.329 GB, free: 14.68 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.158e-05/0.4172, allocations: 4.375 kB / 1.329 GB, free: 14.68 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.534e-05/0.4172, allocations: 16.31 kB / 1.329 GB, free: 14.66 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001418/0.4174, allocations: 50.23 kB / 1.329 GB, free: 14.61 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.003e-05/0.4174, allocations: 192 / 1.329 GB, free: 14.61 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.476e-05/0.4174, allocations: 3.938 kB / 1.329 GB, free: 14.61 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.26e-06/0.4174, allocations: 0 / 1.329 GB, free: 14.61 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.243e-05/0.4174, allocations: 20 kB / 1.329 GB, free: 14.59 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005159/0.418, allocations: 268.5 kB / 1.329 GB, free: 14.29 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001034/0.4181, allocations: 42.5 kB / 1.329 GB, free: 14.24 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.397e-05/0.4181, allocations: 16.8 kB / 1.329 GB, free: 14.22 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 1.114e-05/0.4181, allocations: 96 / 1.329 GB, free: 14.22 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000221/0.4183, allocations: 87.31 kB / 1.329 GB, free: 14.12 MB / 1.029 GB Notification: Performance of pre-optimization done (n=7): time 1.362e-06/0.4183, allocations: 0 / 1.329 GB, free: 14.12 MB / 1.029 GB Notification: Performance of matching and sorting (n=7): time 0.0002834/0.4186, allocations: 109.5 kB / 1.329 GB, free: 14.01 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.591e-05/0.4187, allocations: 55.41 kB / 1.329 GB, free: 13.95 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001244/0.4188, allocations: 117.8 kB / 1.329 GB, free: 13.82 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 3.869e-05/0.4188, allocations: 29.7 kB / 1.329 GB, free: 13.79 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 8.39e-05/0.4189, allocations: 96.14 kB / 1.329 GB, free: 13.69 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 2.778e-05/0.4189, allocations: 7.906 kB / 1.329 GB, free: 13.68 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001059/0.419, allocations: 53.69 kB / 1.33 GB, free: 13.62 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001786/0.4192, allocations: 314.8 kB / 1.33 GB, free: 13.3 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001991/0.4194, allocations: 123.4 kB / 1.33 GB, free: 13.17 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000208/0.4196, allocations: 157 kB / 1.33 GB, free: 12.99 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002787/0.4199, allocations: 163.9 kB / 1.33 GB, free: 12.8 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.472e-06/0.4199, allocations: 7.984 kB / 1.33 GB, free: 12.8 MB / 1.029 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0005486/0.4205, allocations: 336.2 kB / 1.331 GB, free: 12.44 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 8.975e-05/0.4206, allocations: 67.39 kB / 1.331 GB, free: 12.36 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.067e-05/0.4206, allocations: 4 kB / 1.331 GB, free: 12.36 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.287e-05/0.4206, allocations: 0 / 1.331 GB, free: 12.36 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.968e-05/0.4206, allocations: 4 kB / 1.331 GB, free: 12.35 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.138e-06/0.4206, allocations: 0 / 1.331 GB, free: 12.35 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003459/0.421, allocations: 56.08 kB / 1.331 GB, free: 12.3 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.427e-05/0.421, allocations: 15.98 kB / 1.331 GB, free: 12.28 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.0001444/0.4212, allocations: 133.7 kB / 1.331 GB, free: 12.14 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.507e-05/0.4212, allocations: 7.984 kB / 1.331 GB, free: 12.13 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.478e-05/0.4212, allocations: 8.375 kB / 1.331 GB, free: 12.12 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.315e-06/0.4212, allocations: 0 / 1.331 GB, free: 12.12 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.731e-06/0.4212, allocations: 0 / 1.331 GB, free: 12.12 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.865e-06/0.4212, allocations: 0 / 1.331 GB, free: 12.12 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001421/0.4214, allocations: 121.2 kB / 1.331 GB, free: 11.97 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.082e-06/0.4214, allocations: 4 kB / 1.331 GB, free: 11.97 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.266e-06/0.4214, allocations: 0 / 1.331 GB, free: 11.97 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.997e-06/0.4214, allocations: 3.984 kB / 1.331 GB, free: 11.96 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.437e-05/0.4214, allocations: 8 kB / 1.331 GB, free: 11.96 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.303e-06/0.4214, allocations: 0 / 1.331 GB, free: 11.96 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.072e-06/0.4214, allocations: 0 / 1.331 GB, free: 11.96 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001711/0.4216, allocations: 117 kB / 1.331 GB, free: 11.82 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 1.336e-05/0.4216, allocations: 7.953 kB / 1.331 GB, free: 11.82 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.604e-05/0.4216, allocations: 3.938 kB / 1.331 GB, free: 11.81 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.489e-05/0.4216, allocations: 0 / 1.331 GB, free: 11.81 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.445e-05/0.4217, allocations: 11.98 kB / 1.331 GB, free: 11.8 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.854e-06/0.4217, allocations: 8 kB / 1.331 GB, free: 11.79 MB / 1.029 GB Notification: Performance of sorting global known variables: time 6.329e-05/0.4217, allocations: 95.2 kB / 1.331 GB, free: 11.7 MB / 1.029 GB Notification: Performance of sort global known variables: time 7e-08/0.4217, allocations: 0 / 1.331 GB, free: 11.7 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0002419/0.422, allocations: 28 kB / 1.331 GB, free: 11.67 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.0001779/0.4222, allocations: 111.2 kB / 1.331 GB, free: 11.55 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0003923/0.4226, allocations: 274.1 kB / 1.332 GB, free: 11.25 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.224e-06/0.4226, allocations: 0 / 1.332 GB, free: 11.25 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 5.194e-05/0.4226, allocations: 28.62 kB / 1.332 GB, free: 11.22 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002364/0.4228, allocations: 31.94 kB / 1.332 GB, free: 11.19 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003776/0.4232, allocations: 150.8 kB / 1.332 GB, free: 11.02 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.567e-05/0.4233, allocations: 71.33 kB / 1.332 GB, free: 10.93 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 2.635e-05/0.4233, allocations: 4 kB / 1.332 GB, free: 10.92 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.853e-05/0.4233, allocations: 15.42 kB / 1.332 GB, free: 10.91 MB / 1.029 GB Notification: Performance of SimCode: time 3.1e-07/0.4233, allocations: 0 / 1.332 GB, free: 10.91 MB / 1.029 GB Notification: Performance of Templates: time 0.005494/0.4288, allocations: 2.095 MB / 1.334 GB, free: 8.852 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 -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/jenkins/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.764042619615793]