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.001248/0.001248, allocations: 105.6 kB / 15.98 MB, free: 6.336 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.001427/0.001427, allocations: 193.1 kB / 16.91 MB, free: 6.188 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.374/1.374, allocations: 222.9 MB / 240.6 MB, free: 15.42 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.694/2.694, allocations: 469.4 MB / 0.7423 GB, free: 3.867 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001517/0.001517, allocations: 67.95 kB / 0.9083 GB, free: 14.5 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3636/0.3651, allocations: 159.1 MB / 1.064 GB, free: 15.4 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.And): time 0.002622/0.3678, allocations: 0.7118 MB / 1.064 GB, free: 14.69 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.00239/0.3702, allocations: 1.194 MB / 1.066 GB, free: 13.48 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.801e-05/0.3703, allocations: 0 / 1.066 GB, free: 13.48 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 4.072e-05/0.3703, allocations: 3.938 kB / 1.066 GB, free: 13.48 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 9.071e-05/0.3704, allocations: 11.86 kB / 1.066 GB, free: 13.46 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007476/0.3712, allocations: 198 kB / 1.066 GB, free: 13.28 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 0.0002697/0.3715, allocations: 187.6 kB / 1.066 GB, free: 13.09 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001127/0.3716, allocations: 12 kB / 1.066 GB, free: 13.08 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001575/0.3718, allocations: 67.88 kB / 1.066 GB, free: 13.02 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001397/0.3719, allocations: 51.88 kB / 1.066 GB, free: 12.96 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 3.977e-05/0.372, allocations: 12 kB / 1.066 GB, free: 12.95 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 9.94e-05/0.3721, allocations: 31.98 kB / 1.066 GB, free: 12.92 MB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 2.768e-05/0.3721, allocations: 15.91 kB / 1.066 GB, free: 12.91 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 8.784e-05/0.3722, allocations: 47.91 kB / 1.066 GB, free: 12.86 MB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 0.0003017/0.3725, allocations: 107.8 kB / 1.066 GB, free: 12.75 MB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 5.27e-06/0.3725, allocations: 4 kB / 1.066 GB, free: 12.75 MB / 0.8419 GB Notification: Performance of FrontEnd: time 1.282e-06/0.3725, allocations: 7.938 kB / 1.066 GB, free: 12.74 MB / 0.8419 GB Notification: Performance of Transformations before backend: time 7.574e-06/0.3725, allocations: 0 / 1.066 GB, free: 12.74 MB / 0.8419 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.0005696/0.3731, allocations: 431 kB / 1.067 GB, free: 12.26 MB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 5.836e-05/0.3732, allocations: 12.62 kB / 1.067 GB, free: 12.25 MB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.339e-05/0.3732, allocations: 12.78 kB / 1.067 GB, free: 12.23 MB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001346/0.3734, allocations: 164.4 kB / 1.067 GB, free: 12.04 MB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.126e-05/0.3734, allocations: 4.375 kB / 1.067 GB, free: 12.03 MB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.465e-05/0.3735, allocations: 8.375 kB / 1.067 GB, free: 12.02 MB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001201/0.3736, allocations: 58.23 kB / 1.067 GB, free: 11.96 MB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.915e-06/0.3736, allocations: 192 / 1.067 GB, free: 11.96 MB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.31e-05/0.3736, allocations: 3.938 kB / 1.067 GB, free: 11.96 MB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.999e-06/0.3736, allocations: 0 / 1.067 GB, free: 11.96 MB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.759e-05/0.3737, allocations: 19.92 kB / 1.067 GB, free: 11.94 MB / 0.8419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005614/0.3742, allocations: 356.7 kB / 1.067 GB, free: 11.54 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 8.434e-05/0.3743, allocations: 34.5 kB / 1.067 GB, free: 11.5 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.121e-05/0.3744, allocations: 20.86 kB / 1.067 GB, free: 11.47 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 1.076e-05/0.3744, allocations: 0 / 1.067 GB, free: 11.47 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002061/0.3746, allocations: 83.39 kB / 1.067 GB, free: 11.38 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=7): time 1.473e-06/0.3746, allocations: 0 / 1.067 GB, free: 11.38 MB / 0.8419 GB Notification: Performance of matching and sorting (n=7): time 0.000263/0.3749, allocations: 101.6 kB / 1.068 GB, free: 11.27 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.273e-05/0.3749, allocations: 51.41 kB / 1.068 GB, free: 11.21 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001505/0.3751, allocations: 117.8 kB / 1.068 GB, free: 11.09 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 3.873e-05/0.3751, allocations: 37.7 kB / 1.068 GB, free: 11.04 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 7.675e-05/0.3752, allocations: 96.02 kB / 1.068 GB, free: 10.95 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 1.975e-05/0.3752, allocations: 11.91 kB / 1.068 GB, free: 10.93 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001063/0.3754, allocations: 53.62 kB / 1.068 GB, free: 10.88 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 0.000125/0.3755, allocations: 322.8 kB / 1.068 GB, free: 10.55 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001403/0.3756, allocations: 59.97 kB / 1.068 GB, free: 10.49 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001589/0.3758, allocations: 92.25 kB / 1.068 GB, free: 10.39 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000187/0.376, allocations: 155.6 kB / 1.069 GB, free: 10.21 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.715e-06/0.376, allocations: 0 / 1.069 GB, free: 10.21 MB / 0.8419 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0004255/0.3764, allocations: 264.8 kB / 1.069 GB, free: 9.93 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 5.589e-05/0.3765, allocations: 67.39 kB / 1.069 GB, free: 9.852 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.57e-06/0.3765, allocations: 4 kB / 1.069 GB, free: 9.848 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.499e-05/0.3765, allocations: 0 / 1.069 GB, free: 9.848 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.275e-05/0.3766, allocations: 7.938 kB / 1.069 GB, free: 9.84 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.871e-06/0.3766, allocations: 0 / 1.069 GB, free: 9.84 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003666/0.3769, allocations: 56.3 kB / 1.069 GB, free: 9.785 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.973e-05/0.377, allocations: 24.08 kB / 1.069 GB, free: 9.762 MB / 0.8419 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.3771, allocations: 129.7 kB / 1.069 GB, free: 9.625 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.373e-05/0.3771, allocations: 0 / 1.069 GB, free: 9.625 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.161e-05/0.3772, allocations: 12.38 kB / 1.069 GB, free: 9.613 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.184e-06/0.3772, allocations: 3.938 kB / 1.069 GB, free: 9.609 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.762e-06/0.3772, allocations: 4.062 kB / 1.069 GB, free: 9.605 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.486e-06/0.3772, allocations: 0 / 1.069 GB, free: 9.605 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000215/0.3774, allocations: 177.6 kB / 1.069 GB, free: 9.383 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.123e-06/0.3774, allocations: 0 / 1.069 GB, free: 9.383 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.498e-06/0.3775, allocations: 4 kB / 1.069 GB, free: 9.379 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.688e-06/0.3775, allocations: 4 kB / 1.069 GB, free: 9.375 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.556e-06/0.3775, allocations: 0 / 1.069 GB, free: 9.375 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.369e-06/0.3775, allocations: 0 / 1.069 GB, free: 9.375 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.02e-07/0.3775, allocations: 3.938 kB / 1.069 GB, free: 9.371 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001469/0.3776, allocations: 116.9 kB / 1.069 GB, free: 9.238 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 4.016e-05/0.3777, allocations: 81.02 kB / 1.069 GB, free: 9.141 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.808e-05/0.3777, allocations: 7.984 kB / 1.069 GB, free: 9.133 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.365e-05/0.3777, allocations: 8 kB / 1.069 GB, free: 9.125 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.836e-05/0.3778, allocations: 7.984 kB / 1.069 GB, free: 9.117 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.757e-06/0.3778, allocations: 3.984 kB / 1.069 GB, free: 9.113 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 4.894e-05/0.3779, allocations: 87.28 kB / 1.07 GB, free: 9.027 MB / 0.8419 GB Notification: Performance of sort global known variables: time 2.11e-07/0.3779, allocations: 0 / 1.07 GB, free: 9.027 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.0002889/0.3782, allocations: 36 kB / 1.07 GB, free: 8.992 MB / 0.8419 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.0001746/0.3783, allocations: 111.1 kB / 1.07 GB, free: 8.875 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.0004345/0.3788, allocations: 250.6 kB / 1.07 GB, free: 8.605 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 1.984e-06/0.3788, allocations: 4 kB / 1.07 GB, free: 8.602 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 5.222e-05/0.3788, allocations: 23.98 kB / 1.07 GB, free: 8.578 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002341/0.3791, allocations: 17.53 kB / 1.07 GB, free: 8.562 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000392/0.3795, allocations: 196.6 kB / 1.07 GB, free: 8.336 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002964/0.3798, allocations: 0.6846 MB / 1.071 GB, free: 7.625 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.594e-05/0.3798, allocations: 11.72 kB / 1.071 GB, free: 7.613 MB / 0.8419 GB Notification: Performance of SimCode: time 4.11e-07/0.3798, allocations: 3.938 kB / 1.071 GB, free: 7.609 MB / 0.8419 GB Notification: Performance of Templates: time 0.003826/0.3837, allocations: 1.374 MB / 1.072 GB, free: 6.25 MB / 0.8419 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/jenkins1/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