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.00144/0.00144, allocations: 84.75 kB / 19.76 MB, free: 2.023 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.001486/0.001486, allocations: 156.7 kB / 23 MB, free: 4.961 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.438/1.438, allocations: 177.2 MB / 203.4 MB, free: 8.965 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.715/2.715, allocations: 359.1 MB / 0.6044 GB, free: 14.87 MB / 0.5762 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-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: 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.002156/0.002156, allocations: 67.89 kB / 0.9515 GB, free: 12.8 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4118/0.4139, allocations: 169.9 MB / 1.117 GB, free: 2.562 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.Xor): time 0.00186/0.4158, allocations: 0.6452 MB / 1.118 GB, free: 1.918 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.001625/0.4174, allocations: 1.217 MB / 1.119 GB, free: 0.6875 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.081e-05/0.4175, allocations: 0 / 1.119 GB, free: 0.6875 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 2.826e-05/0.4175, allocations: 3.938 kB / 1.119 GB, free: 0.6836 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 7.367e-05/0.4176, allocations: 11.92 kB / 1.119 GB, free: 0.6719 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.000633/0.4182, allocations: 223.7 kB / 1.12 GB, free: 468 kB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.0002286/0.4184, allocations: 171.7 kB / 1.12 GB, free: 296 kB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 8.749e-05/0.4185, allocations: 15.92 kB / 1.12 GB, free: 280 kB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 9.763e-05/0.4186, allocations: 67.89 kB / 1.12 GB, free: 212 kB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001316/0.4188, allocations: 51.84 kB / 1.12 GB, free: 160 kB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 3.421e-05/0.4188, allocations: 16 kB / 1.12 GB, free: 144 kB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 7.286e-05/0.4189, allocations: 27.98 kB / 1.12 GB, free: 116 kB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 2.945e-05/0.4189, allocations: 11.94 kB / 1.12 GB, free: 104 kB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 8.742e-05/0.419, allocations: 55.88 kB / 1.12 GB, free: 48 kB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.000228/0.4192, allocations: 155.5 kB / 1.12 GB, free: 15.89 MB / 1.076 GB Notification: Performance of FrontEnd - DAE generated: time 3.517e-06/0.4192, allocations: 4 kB / 1.12 GB, free: 15.89 MB / 1.076 GB Notification: Performance of FrontEnd: time 1.192e-06/0.4192, allocations: 0 / 1.12 GB, free: 15.89 MB / 1.076 GB Notification: Performance of Transformations before backend: time 4.218e-06/0.4192, allocations: 0 / 1.12 GB, free: 15.89 MB / 1.076 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.0005316/0.4197, allocations: 357.5 kB / 1.12 GB, free: 15.5 MB / 1.076 GB Notification: Performance of prepare preOptimizeDAE: time 3.377e-05/0.4198, allocations: 15.97 kB / 1.12 GB, free: 15.48 MB / 1.076 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.417e-05/0.4198, allocations: 4.938 kB / 1.12 GB, free: 15.48 MB / 1.076 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001045/0.4199, allocations: 114.4 kB / 1.121 GB, free: 15.34 MB / 1.076 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.123e-05/0.42, allocations: 12.38 kB / 1.121 GB, free: 15.33 MB / 1.076 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.92e-05/0.42, allocations: 12.36 kB / 1.121 GB, free: 15.32 MB / 1.076 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001085/0.4201, allocations: 42.25 kB / 1.121 GB, free: 15.27 MB / 1.076 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.354e-06/0.4201, allocations: 192 / 1.121 GB, free: 15.27 MB / 1.076 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.403e-05/0.4201, allocations: 15.94 kB / 1.121 GB, free: 15.25 MB / 1.076 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.677e-06/0.4201, allocations: 0 / 1.121 GB, free: 15.25 MB / 1.076 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.451e-05/0.4202, allocations: 15.98 kB / 1.121 GB, free: 15.24 MB / 1.076 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004327/0.4206, allocations: 272.4 kB / 1.121 GB, free: 14.94 MB / 1.076 GB Notification: Performance of preOpt comSubExp (simulation): time 7.813e-05/0.4207, allocations: 34.56 kB / 1.121 GB, free: 14.9 MB / 1.076 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.227e-05/0.4207, allocations: 16.8 kB / 1.121 GB, free: 14.88 MB / 1.076 GB Notification: Performance of preOpt evalFunc (simulation): time 9.929e-06/0.4207, allocations: 0 / 1.121 GB, free: 14.88 MB / 1.076 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001643/0.4209, allocations: 87.41 kB / 1.121 GB, free: 14.78 MB / 1.076 GB Notification: Performance of pre-optimization done (n=7): time 1.102e-06/0.4209, allocations: 0 / 1.121 GB, free: 14.78 MB / 1.076 GB Notification: Performance of matching and sorting (n=7): time 0.000258/0.4211, allocations: 121.5 kB / 1.121 GB, free: 14.66 MB / 1.076 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.39e-05/0.4212, allocations: 51.41 kB / 1.121 GB, free: 14.59 MB / 1.076 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000105/0.4213, allocations: 117.8 kB / 1.121 GB, free: 14.47 MB / 1.076 GB Notification: Performance of collectPreVariables (initialization): time 3.229e-05/0.4213, allocations: 29.7 kB / 1.121 GB, free: 14.43 MB / 1.076 GB Notification: Performance of collectInitialEqns (initialization): time 6.804e-05/0.4214, allocations: 92.12 kB / 1.121 GB, free: 14.34 MB / 1.076 GB Notification: Performance of collectInitialBindings (initialization): time 2.222e-05/0.4214, allocations: 15.91 kB / 1.121 GB, free: 14.32 MB / 1.076 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.053e-05/0.4215, allocations: 45.69 kB / 1.121 GB, free: 14.27 MB / 1.076 GB Notification: Performance of setup shared object (initialization): time 0.0001516/0.4217, allocations: 318.8 kB / 1.122 GB, free: 13.95 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001733/0.4218, allocations: 119.4 kB / 1.122 GB, free: 13.82 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001984/0.422, allocations: 162.8 kB / 1.122 GB, free: 13.64 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002085/0.4222, allocations: 172 kB / 1.122 GB, free: 13.45 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.814e-06/0.4222, allocations: 4 kB / 1.122 GB, free: 13.44 MB / 1.076 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0004795/0.4227, allocations: 328.2 kB / 1.123 GB, free: 13.09 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 6.185e-05/0.4228, allocations: 71.39 kB / 1.123 GB, free: 13.01 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.318e-06/0.4228, allocations: 0 / 1.123 GB, free: 13.01 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.325e-05/0.4228, allocations: 64 / 1.123 GB, free: 13.01 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.925e-05/0.4228, allocations: 8.125 kB / 1.123 GB, free: 13 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.159e-06/0.4228, allocations: 4 kB / 1.123 GB, free: 13 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003724/0.4232, allocations: 55.83 kB / 1.123 GB, free: 12.94 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.855e-05/0.4232, allocations: 19.98 kB / 1.123 GB, free: 12.92 MB / 1.076 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.0001112/0.4234, allocations: 128.2 kB / 1.123 GB, free: 12.79 MB / 1.076 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.32e-05/0.4234, allocations: 4 kB / 1.123 GB, free: 12.79 MB / 1.076 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.875e-05/0.4234, allocations: 8.438 kB / 1.123 GB, free: 12.77 MB / 1.076 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.994e-06/0.4234, allocations: 4 kB / 1.123 GB, free: 12.77 MB / 1.076 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.346e-06/0.4234, allocations: 0 / 1.123 GB, free: 12.77 MB / 1.076 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.412e-06/0.4234, allocations: 3.984 kB / 1.123 GB, free: 12.77 MB / 1.076 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000111/0.4235, allocations: 121.2 kB / 1.123 GB, free: 12.62 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.72e-07/0.4235, allocations: 0 / 1.123 GB, free: 12.62 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.396e-06/0.4235, allocations: 0 / 1.123 GB, free: 12.62 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.707e-06/0.4235, allocations: 4 kB / 1.123 GB, free: 12.61 MB / 1.076 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.634e-06/0.4235, allocations: 0 / 1.123 GB, free: 12.61 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.202e-06/0.4235, allocations: 0 / 1.123 GB, free: 12.61 MB / 1.076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.61e-07/0.4235, allocations: 0 / 1.123 GB, free: 12.61 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001653/0.4237, allocations: 116.9 kB / 1.123 GB, free: 12.48 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 9.749e-06/0.4237, allocations: 11.95 kB / 1.123 GB, free: 12.47 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.606e-05/0.4237, allocations: 3.984 kB / 1.123 GB, free: 12.46 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.294e-05/0.4238, allocations: 4 kB / 1.123 GB, free: 12.46 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.125e-05/0.4238, allocations: 11.98 kB / 1.123 GB, free: 12.45 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.48e-06/0.4238, allocations: 0 / 1.123 GB, free: 12.45 MB / 1.076 GB Notification: Performance of sorting global known variables: time 6.092e-05/0.4239, allocations: 95.2 kB / 1.123 GB, free: 12.36 MB / 1.076 GB Notification: Performance of sort global known variables: time 8.1e-08/0.4239, allocations: 0 / 1.123 GB, free: 12.36 MB / 1.076 GB Notification: Performance of remove unused functions: time 0.0002433/0.4241, allocations: 32 kB / 1.123 GB, free: 12.32 MB / 1.076 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.0001426/0.4243, allocations: 103.2 kB / 1.123 GB, free: 12.21 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 0.0003784/0.4246, allocations: 290 kB / 1.124 GB, free: 11.89 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 2.074e-06/0.4246, allocations: 0 / 1.124 GB, free: 11.89 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 5.577e-05/0.4247, allocations: 27.92 kB / 1.124 GB, free: 11.87 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002352/0.4249, allocations: 19.92 kB / 1.124 GB, free: 11.85 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003515/0.4253, allocations: 154.8 kB / 1.124 GB, free: 11.66 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.942e-05/0.4253, allocations: 67.59 kB / 1.124 GB, free: 11.58 MB / 1.076 GB Notification: Performance of simCode: alias equations: time 2.561e-05/0.4254, allocations: 8 kB / 1.124 GB, free: 11.57 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.959e-05/0.4254, allocations: 20.48 kB / 1.124 GB, free: 11.55 MB / 1.076 GB Notification: Performance of SimCode: time 3.81e-07/0.4254, allocations: 0 / 1.124 GB, free: 11.55 MB / 1.076 GB Notification: Performance of Templates: time 0.005126/0.4305, allocations: 2.074 MB / 1.126 GB, free: 9.527 MB / 1.076 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 -s ida -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/jenkins1/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.807115643983707]