Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.001425/0.001425, 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.001774/0.001774, allocations: 208 kB / 22.24 MB, free: 5.262 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.652/1.652, allocations: 230.6 MB / 256 MB, free: 7.828 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 3.508/3.508, allocations: 0.5107 GB / 0.8158 GB, free: 17.86 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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_latest_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_latest_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.002444/0.002444, allocations: 70.3 kB / 1.186 GB, free: 13.59 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4217/0.4242, allocations: 181.9 MB / 1.364 GB, free: 13.65 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.Xor): time 0.002389/0.4265, allocations: 0.6476 MB / 1.364 GB, free: 13 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.002085/0.4286, allocations: 1.206 MB / 1.366 GB, free: 11.79 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.773e-05/0.4287, allocations: 0 / 1.366 GB, free: 11.79 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 3.927e-05/0.4287, allocations: 3.938 kB / 1.366 GB, free: 11.78 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 9.98e-05/0.4288, allocations: 11.86 kB / 1.366 GB, free: 11.77 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007964/0.4296, allocations: 223.6 kB / 1.366 GB, free: 11.56 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.0003336/0.43, allocations: 175.7 kB / 1.366 GB, free: 11.39 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001396/0.4301, allocations: 15.98 kB / 1.366 GB, free: 11.37 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001395/0.4303, allocations: 71.83 kB / 1.366 GB, free: 11.3 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002099/0.4305, allocations: 59.83 kB / 1.366 GB, free: 11.24 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 4.128e-05/0.4305, allocations: 12 kB / 1.366 GB, free: 11.23 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 9.715e-05/0.4306, allocations: 28 kB / 1.366 GB, free: 11.2 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 3.114e-05/0.4306, allocations: 11.98 kB / 1.366 GB, free: 11.19 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 0.0001025/0.4307, allocations: 55.77 kB / 1.366 GB, free: 11.14 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.0002876/0.431, allocations: 151.6 kB / 1.366 GB, free: 10.99 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 7.975e-06/0.431, allocations: 4 kB / 1.366 GB, free: 10.98 MB / 1.061 GB Notification: Performance of FrontEnd: time 2.164e-06/0.431, allocations: 0 / 1.366 GB, free: 10.98 MB / 1.061 GB Notification: Performance of Transformations before backend: time 8.646e-06/0.431, allocations: 0 / 1.366 GB, free: 10.98 MB / 1.061 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.0007435/0.4318, allocations: 357.5 kB / 1.367 GB, free: 10.59 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 5.053e-05/0.4318, allocations: 8.031 kB / 1.367 GB, free: 10.58 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.682e-05/0.4319, allocations: 12.89 kB / 1.367 GB, free: 10.57 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001514/0.4321, allocations: 110.5 kB / 1.367 GB, free: 10.44 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.794e-05/0.4321, allocations: 8.375 kB / 1.367 GB, free: 10.43 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.444e-05/0.4321, allocations: 8.375 kB / 1.367 GB, free: 10.42 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001414/0.4323, allocations: 54.17 kB / 1.367 GB, free: 10.36 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.086e-05/0.4323, allocations: 4.188 kB / 1.367 GB, free: 10.36 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.609e-05/0.4323, allocations: 7.938 kB / 1.367 GB, free: 10.35 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.34e-06/0.4323, allocations: 0 / 1.367 GB, free: 10.35 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.619e-05/0.4323, allocations: 12 kB / 1.367 GB, free: 10.34 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005238/0.4329, allocations: 284.4 kB / 1.367 GB, free: 10.03 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000103/0.433, allocations: 34.5 kB / 1.367 GB, free: 9.988 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.614e-05/0.433, allocations: 20.89 kB / 1.367 GB, free: 9.965 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 1.625e-05/0.433, allocations: 3.984 kB / 1.367 GB, free: 9.961 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002039/0.4332, allocations: 75.38 kB / 1.367 GB, free: 9.875 MB / 1.061 GB Notification: Performance of pre-optimization done (n=7): time 3.787e-06/0.4332, allocations: 4 kB / 1.367 GB, free: 9.871 MB / 1.061 GB Notification: Performance of matching and sorting (n=7): time 0.0003023/0.4335, allocations: 109.6 kB / 1.368 GB, free: 9.758 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.215e-05/0.4336, allocations: 55.41 kB / 1.368 GB, free: 9.691 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001553/0.4337, allocations: 117.8 kB / 1.368 GB, free: 9.566 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 4.168e-05/0.4338, allocations: 29.7 kB / 1.368 GB, free: 9.531 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 9.597e-05/0.4339, allocations: 97.14 kB / 1.368 GB, free: 9.434 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 2.072e-05/0.4339, allocations: 15.91 kB / 1.368 GB, free: 9.418 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.438e-05/0.434, allocations: 50.06 kB / 1.368 GB, free: 9.363 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 0.0001964/0.4342, allocations: 318.8 kB / 1.368 GB, free: 9.043 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001888/0.4344, allocations: 123.4 kB / 1.368 GB, free: 8.91 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000232/0.4346, allocations: 155.6 kB / 1.368 GB, free: 8.73 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002589/0.4349, allocations: 171.5 kB / 1.369 GB, free: 8.535 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.37e-06/0.4349, allocations: 4 kB / 1.369 GB, free: 8.531 MB / 1.061 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0005371/0.4354, allocations: 324.2 kB / 1.369 GB, free: 8.184 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001055/0.4355, allocations: 69.58 kB / 1.369 GB, free: 8.105 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.985e-06/0.4355, allocations: 0 / 1.369 GB, free: 8.105 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.843e-05/0.4356, allocations: 4.125 kB / 1.369 GB, free: 8.102 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.058e-05/0.4356, allocations: 4 kB / 1.369 GB, free: 8.098 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.494e-05/0.4356, allocations: 4 kB / 1.369 GB, free: 8.094 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003705/0.436, allocations: 47.94 kB / 1.369 GB, free: 8.047 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.276e-05/0.436, allocations: 15.98 kB / 1.369 GB, free: 8.031 MB / 1.061 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.000194/0.4362, allocations: 130.8 kB / 1.369 GB, free: 7.895 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.019e-05/0.4362, allocations: 11.94 kB / 1.369 GB, free: 7.883 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.313e-05/0.4363, allocations: 12.38 kB / 1.369 GB, free: 7.863 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.955e-06/0.4363, allocations: 7.984 kB / 1.369 GB, free: 7.855 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.793e-06/0.4363, allocations: 0 / 1.369 GB, free: 7.855 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.348e-06/0.4363, allocations: 0 / 1.369 GB, free: 7.855 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000169/0.4365, allocations: 121.2 kB / 1.369 GB, free: 7.707 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.303e-06/0.4365, allocations: 7.938 kB / 1.369 GB, free: 7.699 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.204e-05/0.4365, allocations: 3.984 kB / 1.369 GB, free: 7.695 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.572e-06/0.4365, allocations: 0 / 1.369 GB, free: 7.695 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.083e-05/0.4365, allocations: 0 / 1.369 GB, free: 7.695 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.757e-06/0.4365, allocations: 4.312 kB / 1.369 GB, free: 7.691 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.302e-06/0.4365, allocations: 0 / 1.369 GB, free: 7.691 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002184/0.4367, allocations: 121 kB / 1.369 GB, free: 7.555 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 1.155e-05/0.4367, allocations: 4 kB / 1.369 GB, free: 7.551 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.063e-05/0.4367, allocations: 96 / 1.369 GB, free: 7.551 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.977e-05/0.4368, allocations: 3.938 kB / 1.369 GB, free: 7.547 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.642e-05/0.4368, allocations: 15.92 kB / 1.369 GB, free: 7.531 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.013e-05/0.4369, allocations: 4 kB / 1.369 GB, free: 7.527 MB / 1.061 GB Notification: Performance of sorting global known variables: time 8.442e-05/0.4369, allocations: 91.27 kB / 1.37 GB, free: 7.438 MB / 1.061 GB Notification: Performance of sort global known variables: time 7e-08/0.4369, allocations: 0 / 1.37 GB, free: 7.438 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0002652/0.4372, allocations: 35.95 kB / 1.37 GB, free: 7.402 MB / 1.061 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.000242/0.4374, allocations: 99.23 kB / 1.37 GB, free: 7.297 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.0004926/0.4379, allocations: 282.1 kB / 1.37 GB, free: 6.984 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 3.437e-06/0.4379, allocations: 0 / 1.37 GB, free: 6.984 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 6.401e-05/0.438, allocations: 23.97 kB / 1.37 GB, free: 6.961 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002948/0.4383, allocations: 19.92 kB / 1.37 GB, free: 6.941 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004461/0.4387, allocations: 158.7 kB / 1.37 GB, free: 6.758 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.741e-05/0.4388, allocations: 75.58 kB / 1.37 GB, free: 6.664 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 3.427e-05/0.4389, allocations: 7.859 kB / 1.37 GB, free: 6.656 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.307e-05/0.4389, allocations: 15.44 kB / 1.37 GB, free: 6.641 MB / 1.061 GB Notification: Performance of SimCode: time 3.01e-07/0.4389, allocations: 0 / 1.37 GB, free: 6.641 MB / 1.061 GB Notification: Performance of Templates: time 0.005913/0.4448, allocations: 2.091 MB / 1.372 GB, free: 4.602 MB / 1.061 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Xor.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Xor.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Xor.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Xor.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Xor.sim & ./Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Xor -abortSlowSimulation -alarm=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Xor.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Xor_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Logical_Validation_Xor.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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.951483711600304]