Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.And.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Logical.Validation.And,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|and1.u1|and1.u2|and1.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.And") translateModel(Buildings.Controls.OBC.CDL.Logical.Validation.And,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|and1.u1|and1.u2|and1.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.And") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.01294/0.01294, allocations: 101.2 kB / 15.73 MB, free: 6.047 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002067/0.002067, allocations: 196.5 kB / 16.67 MB, free: 5.977 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.746/1.746, allocations: 222.9 MB / 240.4 MB, free: 4.309 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 3.102/3.102, allocations: 461.9 MB / 0.7347 GB, free: 14.61 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001406/0.001406, allocations: 63.91 kB / 1.054 GB, free: 7.125 MB / 0.8106 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3914/0.3928, allocations: 157.4 MB / 1.208 GB, free: 9.617 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.And): time 0.002121/0.395, allocations: 0.6507 MB / 1.208 GB, free: 8.965 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.001803/0.3968, allocations: 1.19 MB / 1.21 GB, free: 7.762 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.178e-05/0.3969, allocations: 4 kB / 1.21 GB, free: 7.758 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 3.395e-05/0.3969, allocations: 0 / 1.21 GB, free: 7.758 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 7.939e-05/0.397, allocations: 11.86 kB / 1.21 GB, free: 7.746 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008134/0.3978, allocations: 225.8 kB / 1.21 GB, free: 7.531 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.0002858/0.3981, allocations: 179.7 kB / 1.21 GB, free: 7.355 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001068/0.3982, allocations: 11.98 kB / 1.21 GB, free: 7.344 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001428/0.3984, allocations: 71.83 kB / 1.21 GB, free: 7.273 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001574/0.3986, allocations: 63.83 kB / 1.21 GB, free: 7.211 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 3.474e-05/0.3986, allocations: 16 kB / 1.21 GB, free: 7.195 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 9.113e-05/0.3987, allocations: 27.98 kB / 1.21 GB, free: 7.168 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 2.196e-05/0.3987, allocations: 4 kB / 1.21 GB, free: 7.164 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 8.936e-05/0.3988, allocations: 67.81 kB / 1.21 GB, free: 7.098 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0002462/0.3991, allocations: 143.6 kB / 1.21 GB, free: 6.957 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 4.989e-06/0.3991, allocations: 0 / 1.21 GB, free: 6.957 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.302e-06/0.3991, allocations: 0 / 1.21 GB, free: 6.957 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 7.134e-06/0.3991, allocations: 0 / 1.21 GB, free: 6.957 MB / 0.9669 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.0006704/0.3998, allocations: 442.6 kB / 1.211 GB, free: 6.461 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 4.924e-05/0.3998, allocations: 8.625 kB / 1.211 GB, free: 6.453 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.87e-05/0.3999, allocations: 8.938 kB / 1.211 GB, free: 6.445 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000175/0.4001, allocations: 176.3 kB / 1.211 GB, free: 6.234 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.413e-05/0.4001, allocations: 4.375 kB / 1.211 GB, free: 6.23 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.461e-05/0.4002, allocations: 20.25 kB / 1.211 GB, free: 6.211 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001368/0.4003, allocations: 58.23 kB / 1.211 GB, free: 6.148 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.808e-06/0.4003, allocations: 192 / 1.211 GB, free: 6.148 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.276e-05/0.4004, allocations: 3.938 kB / 1.211 GB, free: 6.145 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.16e-06/0.4004, allocations: 0 / 1.211 GB, free: 6.145 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.638e-05/0.4004, allocations: 15.98 kB / 1.211 GB, free: 6.129 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005588/0.401, allocations: 344.8 kB / 1.211 GB, free: 5.742 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 9.623e-05/0.4011, allocations: 50.44 kB / 1.211 GB, free: 5.684 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.782e-05/0.4011, allocations: 12.95 kB / 1.211 GB, free: 5.668 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 1.243e-05/0.4011, allocations: 3.984 kB / 1.211 GB, free: 5.664 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001568/0.4013, allocations: 79.38 kB / 1.212 GB, free: 5.574 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=7): time 1.302e-06/0.4013, allocations: 0 / 1.212 GB, free: 5.574 MB / 0.9669 GB Notification: Performance of matching and sorting (n=7): time 0.0002546/0.4016, allocations: 105.5 kB / 1.212 GB, free: 5.465 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.087e-05/0.4016, allocations: 55.41 kB / 1.212 GB, free: 5.398 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001234/0.4018, allocations: 117.8 kB / 1.212 GB, free: 5.273 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 3.151e-05/0.4018, allocations: 33.69 kB / 1.212 GB, free: 5.234 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 6.7e-05/0.4019, allocations: 92.05 kB / 1.212 GB, free: 5.141 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 2.184e-05/0.4019, allocations: 15.81 kB / 1.212 GB, free: 5.125 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001117/0.402, allocations: 45.69 kB / 1.212 GB, free: 5.074 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001212/0.4021, allocations: 326.8 kB / 1.212 GB, free: 4.746 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001277/0.4023, allocations: 55.97 kB / 1.212 GB, free: 4.691 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001392/0.4024, allocations: 96.25 kB / 1.212 GB, free: 4.582 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001786/0.4026, allocations: 156 kB / 1.213 GB, free: 4.402 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.927e-06/0.4026, allocations: 0 / 1.213 GB, free: 4.402 MB / 0.9669 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0003935/0.403, allocations: 272.8 kB / 1.213 GB, free: 4.117 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 5.164e-05/0.4031, allocations: 69.11 kB / 1.213 GB, free: 4.039 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.762e-06/0.4031, allocations: 4 kB / 1.213 GB, free: 4.035 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.443e-05/0.4031, allocations: 0 / 1.213 GB, free: 4.035 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.093e-05/0.4031, allocations: 4 kB / 1.213 GB, free: 4.031 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.711e-06/0.4031, allocations: 0 / 1.213 GB, free: 4.031 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003305/0.4035, allocations: 59.95 kB / 1.213 GB, free: 3.973 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.816e-05/0.4035, allocations: 8 kB / 1.213 GB, free: 3.965 MB / 0.9669 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,and1.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.0001175/0.4036, allocations: 137.6 kB / 1.213 GB, free: 3.82 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.462e-05/0.4037, allocations: 7.906 kB / 1.213 GB, free: 3.812 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.708e-05/0.4037, allocations: 4.375 kB / 1.213 GB, free: 3.805 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.737e-06/0.4037, allocations: 4 kB / 1.213 GB, free: 3.801 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.701e-06/0.4037, allocations: 0 / 1.213 GB, free: 3.801 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.246e-06/0.4037, allocations: 0 / 1.213 GB, free: 3.801 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001478/0.4039, allocations: 189.6 kB / 1.213 GB, free: 3.566 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.753e-06/0.4039, allocations: 0 / 1.213 GB, free: 3.566 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.315e-06/0.4039, allocations: 0 / 1.213 GB, free: 3.566 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.124e-06/0.4039, allocations: 0 / 1.213 GB, free: 3.566 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.898e-06/0.4039, allocations: 4.062 kB / 1.213 GB, free: 3.562 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.066e-06/0.4039, allocations: 4 kB / 1.213 GB, free: 3.559 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.062e-06/0.4039, allocations: 0 / 1.213 GB, free: 3.559 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002283/0.4042, allocations: 109.5 kB / 1.213 GB, free: 3.434 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 4.039e-05/0.4042, allocations: 84.95 kB / 1.213 GB, free: 3.332 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.299e-05/0.4042, allocations: 4 kB / 1.213 GB, free: 3.328 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.122e-05/0.4043, allocations: 7.984 kB / 1.213 GB, free: 3.32 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.493e-05/0.4043, allocations: 0 / 1.213 GB, free: 3.32 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.295e-06/0.4043, allocations: 8 kB / 1.213 GB, free: 3.312 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 4.932e-05/0.4044, allocations: 91.27 kB / 1.214 GB, free: 3.223 MB / 0.9669 GB Notification: Performance of sort global known variables: time 1.31e-07/0.4044, allocations: 0 / 1.214 GB, free: 3.223 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0002329/0.4046, allocations: 28.28 kB / 1.214 GB, free: 3.195 MB / 0.9669 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,and1.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.000169/0.4048, allocations: 107.2 kB / 1.214 GB, free: 3.082 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.0003343/0.4051, allocations: 250.6 kB / 1.214 GB, free: 2.812 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 2.234e-06/0.4051, allocations: 3.938 kB / 1.214 GB, free: 2.809 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 5.029e-05/0.4052, allocations: 27.94 kB / 1.214 GB, free: 2.781 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002315/0.4054, allocations: 16.47 kB / 1.214 GB, free: 2.766 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003689/0.4058, allocations: 154.7 kB / 1.214 GB, free: 2.586 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002532/0.4061, allocations: 0.6926 MB / 1.215 GB, free: 1.867 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 2.89e-05/0.4061, allocations: 4 kB / 1.215 GB, free: 1.863 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.236e-05/0.4061, allocations: 11.44 kB / 1.215 GB, free: 1.852 MB / 0.9669 GB Notification: Performance of SimCode: time 2.2e-07/0.4061, allocations: 0 / 1.215 GB, free: 1.852 MB / 0.9669 GB Notification: Performance of Templates: time 0.00475/0.4109, allocations: 1.909 MB / 1.217 GB, free: 15.96 MB / 0.9825 GB make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.And.makefile (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.And.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.And.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.And.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.And.sim & ./Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.And -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.And.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.And_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Logical_Validation_And.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.And.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches