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.001794/0.001794, allocations: 107.8 kB / 19.71 MB, free: 2.145 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.001983/0.001983, allocations: 216.5 kB / 23 MB, free: 4.969 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.581/1.581, allocations: 230.6 MB / 256.8 MB, free: 7.816 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.398/3.398, allocations: 0.49 GB / 0.7959 GB, free: 35.43 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.002093/0.002093, allocations: 65.22 kB / 1.155 GB, free: 25.19 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3952/0.3973, allocations: 176.1 MB / 1.327 GB, free: 0.9727 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.Xor): time 0.001938/0.3992, allocations: 0.6431 MB / 1.328 GB, free: 344 kB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.001636/0.4009, allocations: 1.198 MB / 1.329 GB, free: 15.12 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.661e-05/0.4009, allocations: 4 kB / 1.329 GB, free: 15.12 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 3.398e-05/0.4009, allocations: 7.922 kB / 1.329 GB, free: 15.11 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 7.576e-05/0.401, allocations: 15.92 kB / 1.329 GB, free: 15.1 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006488/0.4017, allocations: 211.2 kB / 1.329 GB, free: 14.9 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0002462/0.4019, allocations: 179.6 kB / 1.329 GB, free: 14.72 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 8.885e-05/0.402, allocations: 15.98 kB / 1.329 GB, free: 14.71 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001017/0.4021, allocations: 71.89 kB / 1.329 GB, free: 14.64 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001371/0.4022, allocations: 67.83 kB / 1.329 GB, free: 14.57 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 3.484e-05/0.4023, allocations: 19.94 kB / 1.329 GB, free: 14.55 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 7.511e-05/0.4024, allocations: 28 kB / 1.329 GB, free: 14.52 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 2.276e-05/0.4024, allocations: 7.984 kB / 1.329 GB, free: 14.52 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 9.206e-05/0.4025, allocations: 55.84 kB / 1.33 GB, free: 14.46 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0002392/0.4027, allocations: 151.6 kB / 1.33 GB, free: 14.31 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 7.514e-06/0.4027, allocations: 3.984 kB / 1.33 GB, free: 14.31 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.483e-06/0.4027, allocations: 0 / 1.33 GB, free: 14.31 MB / 1.029 GB Notification: Performance of Transformations before backend: time 5.44e-06/0.4027, allocations: 0 / 1.33 GB, free: 14.31 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.000548/0.4033, allocations: 357.5 kB / 1.33 GB, free: 13.91 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.082e-05/0.4033, allocations: 16.03 kB / 1.33 GB, free: 13.9 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.221e-05/0.4034, allocations: 4.938 kB / 1.33 GB, free: 13.89 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001149/0.4035, allocations: 118.4 kB / 1.33 GB, free: 13.75 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.06e-05/0.4035, allocations: 8.375 kB / 1.33 GB, free: 13.75 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.711e-05/0.4035, allocations: 12.38 kB / 1.33 GB, free: 13.73 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001165/0.4037, allocations: 46.23 kB / 1.33 GB, free: 13.68 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.444e-06/0.4037, allocations: 192 / 1.33 GB, free: 13.68 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.386e-05/0.4037, allocations: 11.88 kB / 1.33 GB, free: 13.67 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.141e-06/0.4037, allocations: 3.984 kB / 1.33 GB, free: 13.67 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.548e-05/0.4037, allocations: 16 kB / 1.33 GB, free: 13.65 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004669/0.4042, allocations: 280.4 kB / 1.331 GB, free: 13.35 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 8.339e-05/0.4043, allocations: 34.56 kB / 1.331 GB, free: 13.3 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.327e-05/0.4043, allocations: 16.8 kB / 1.331 GB, free: 13.29 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 6.192e-06/0.4043, allocations: 0 / 1.331 GB, free: 13.29 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001838/0.4045, allocations: 91.34 kB / 1.331 GB, free: 13.18 MB / 1.029 GB Notification: Performance of pre-optimization done (n=7): time 1.423e-06/0.4045, allocations: 0 / 1.331 GB, free: 13.18 MB / 1.029 GB Notification: Performance of matching and sorting (n=7): time 0.0002662/0.4048, allocations: 109.6 kB / 1.331 GB, free: 13.07 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.801e-05/0.4048, allocations: 51.41 kB / 1.331 GB, free: 13.01 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000103/0.4049, allocations: 121.8 kB / 1.331 GB, free: 12.88 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 4.15e-05/0.405, allocations: 30.08 kB / 1.331 GB, free: 12.84 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 7.029e-05/0.405, allocations: 96.12 kB / 1.331 GB, free: 12.75 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 1.721e-05/0.405, allocations: 11.91 kB / 1.331 GB, free: 12.73 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.687e-05/0.4051, allocations: 49.69 kB / 1.331 GB, free: 12.68 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001394/0.4053, allocations: 322.8 kB / 1.331 GB, free: 12.36 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000175/0.4055, allocations: 119.4 kB / 1.332 GB, free: 12.23 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002084/0.4057, allocations: 159.6 kB / 1.332 GB, free: 12.04 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002055/0.4059, allocations: 151.6 kB / 1.332 GB, free: 11.87 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.851e-06/0.4059, allocations: 11.94 kB / 1.332 GB, free: 11.86 MB / 1.029 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0005054/0.4064, allocations: 328.2 kB / 1.332 GB, free: 11.5 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 6.414e-05/0.4064, allocations: 69.42 kB / 1.332 GB, free: 11.43 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.04e-06/0.4065, allocations: 4 kB / 1.332 GB, free: 11.42 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.562e-05/0.4065, allocations: 0 / 1.332 GB, free: 11.42 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.185e-05/0.4065, allocations: 4 kB / 1.332 GB, free: 11.42 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.522e-06/0.4065, allocations: 0 / 1.332 GB, free: 11.42 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003468/0.4068, allocations: 56.02 kB / 1.332 GB, free: 11.36 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.233e-05/0.4069, allocations: 27.98 kB / 1.332 GB, free: 11.34 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.0001171/0.407, allocations: 125.7 kB / 1.332 GB, free: 11.2 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.325e-05/0.407, allocations: 3.984 kB / 1.332 GB, free: 11.2 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.225e-05/0.407, allocations: 8.375 kB / 1.332 GB, free: 11.19 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.996e-06/0.407, allocations: 0 / 1.332 GB, free: 11.19 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.02e-07/0.4071, allocations: 3.938 kB / 1.332 GB, free: 11.18 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 1.356e-05/0.4071, allocations: 11.95 kB / 1.332 GB, free: 11.17 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.502e-05/0.4071, allocations: 4 kB / 1.332 GB, free: 11.17 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.031e-05/0.4071, allocations: 0 / 1.332 GB, free: 11.17 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.156e-05/0.4072, allocations: 15.92 kB / 1.332 GB, free: 11.15 MB / 1.029 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0001685/0.4073, allocations: 160.9 kB / 1.333 GB, free: 10.99 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0002161/0.4075, allocations: 254.8 kB / 1.333 GB, free: 10.72 MB / 1.029 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 4.396e-05/0.4076, allocations: 19.98 kB / 1.333 GB, free: 10.7 MB / 1.029 GB Notification: Performance of sorting global known variables: time 5.588e-05/0.4076, allocations: 95.3 kB / 1.333 GB, free: 10.61 MB / 1.029 GB Notification: Performance of Backend: time 2.71e-07/0.4076, allocations: 0 / 1.333 GB, free: 10.61 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0006722/0.4083, allocations: 336.7 kB / 1.333 GB, free: 10.24 MB / 1.029 GB Notification: Performance of SimCode: time 0.0006173/0.4089, allocations: 0.6084 MB / 1.334 GB, free: 9.582 MB / 1.029 GB Notification: Performance of Templates: time 0.005285/0.4142, allocations: 2.208 MB / 1.336 GB, free: 7.418 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/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.691245008994883]