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.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-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.001074/0.001074, allocations: 101.4 kB / 16.35 MB, free: 5.875 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.001097/0.001097, allocations: 198.8 kB / 17.3 MB, free: 5.516 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.388/1.388, allocations: 222.9 MB / 241 MB, free: 14.98 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.48/2.48, allocations: 442.6 MB / 0.7165 GB, free: 14.63 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001391/0.001391, allocations: 68.61 kB / 0.8773 GB, free: 10.94 MB / 0.6544 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.297/0.2984, allocations: 153 MB / 1.027 GB, free: 2.023 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.And): time 0.002092/0.3006, allocations: 0.6583 MB / 1.027 GB, free: 1.367 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.001456/0.3021, allocations: 1.193 MB / 1.029 GB, free: 164 kB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.926e-05/0.3021, allocations: 0 / 1.029 GB, free: 164 kB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 2.734e-05/0.3022, allocations: 0 / 1.029 GB, free: 164 kB / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 5.966e-05/0.3022, allocations: 15.86 kB / 1.029 GB, free: 148 kB / 0.795 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006288/0.3029, allocations: 222.9 kB / 1.029 GB, free: 15.93 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.0002418/0.3031, allocations: 179.7 kB / 1.029 GB, free: 15.76 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 9.795e-05/0.3032, allocations: 15.98 kB / 1.029 GB, free: 15.74 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 9.08e-05/0.3033, allocations: 63.83 kB / 1.029 GB, free: 15.68 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001366/0.3035, allocations: 67.78 kB / 1.029 GB, free: 15.61 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 3.04e-05/0.3035, allocations: 12 kB / 1.029 GB, free: 15.6 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 7.969e-05/0.3036, allocations: 31.98 kB / 1.029 GB, free: 15.57 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 2.325e-05/0.3036, allocations: 19.92 kB / 1.029 GB, free: 15.55 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 8.349e-05/0.3037, allocations: 55.88 kB / 1.029 GB, free: 15.5 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.000196/0.3039, allocations: 151.6 kB / 1.029 GB, free: 15.35 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 4.198e-06/0.3039, allocations: 0 / 1.029 GB, free: 15.35 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.763e-06/0.3039, allocations: 0 / 1.029 GB, free: 15.35 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 8.325e-06/0.3039, allocations: 0 / 1.029 GB, free: 15.35 MB / 0.8106 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.0005759/0.3045, allocations: 434.7 kB / 1.03 GB, free: 14.86 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 4.1e-05/0.3046, allocations: 8.031 kB / 1.03 GB, free: 14.86 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.156e-05/0.3046, allocations: 12.84 kB / 1.03 GB, free: 14.84 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001339/0.3048, allocations: 164.4 kB / 1.03 GB, free: 14.64 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.042e-05/0.3048, allocations: 12.31 kB / 1.03 GB, free: 14.63 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.602e-05/0.3048, allocations: 16.36 kB / 1.03 GB, free: 14.62 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001185/0.305, allocations: 46.23 kB / 1.03 GB, free: 14.57 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.867e-06/0.305, allocations: 3.938 kB / 1.03 GB, free: 14.56 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.059e-05/0.305, allocations: 0 / 1.03 GB, free: 14.56 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.554e-06/0.305, allocations: 4 kB / 1.03 GB, free: 14.56 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.944e-05/0.305, allocations: 8 kB / 1.03 GB, free: 14.55 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004953/0.3056, allocations: 364.6 kB / 1.03 GB, free: 14.14 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 8.061e-05/0.3056, allocations: 34.5 kB / 1.03 GB, free: 14.1 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.922e-05/0.3057, allocations: 16.86 kB / 1.03 GB, free: 14.08 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 1.173e-05/0.3057, allocations: 0 / 1.03 GB, free: 14.08 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000157/0.3059, allocations: 79.45 kB / 1.03 GB, free: 13.99 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=7): time 1.402e-06/0.3059, allocations: 0 / 1.03 GB, free: 13.99 MB / 0.8106 GB Notification: Performance of matching and sorting (n=7): time 0.0002558/0.3061, allocations: 109.7 kB / 1.031 GB, free: 13.88 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.258e-05/0.3062, allocations: 55.41 kB / 1.031 GB, free: 13.81 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.861e-05/0.3063, allocations: 117.8 kB / 1.031 GB, free: 13.69 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 4.198e-05/0.3063, allocations: 33.7 kB / 1.031 GB, free: 13.65 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 6.616e-05/0.3064, allocations: 96.12 kB / 1.031 GB, free: 13.55 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 1.49e-05/0.3064, allocations: 11.75 kB / 1.031 GB, free: 13.54 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.498e-05/0.3065, allocations: 49.69 kB / 1.031 GB, free: 13.48 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001355/0.3067, allocations: 322.8 kB / 1.031 GB, free: 13.16 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001293/0.3068, allocations: 67.97 kB / 1.031 GB, free: 13.09 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001774/0.307, allocations: 92.25 kB / 1.031 GB, free: 12.99 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001889/0.3072, allocations: 155.6 kB / 1.032 GB, free: 12.81 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.535e-06/0.3072, allocations: 4 kB / 1.032 GB, free: 12.8 MB / 0.8106 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0004083/0.3076, allocations: 260.8 kB / 1.032 GB, free: 12.53 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 6.206e-05/0.3077, allocations: 71.39 kB / 1.032 GB, free: 12.45 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.591e-06/0.3077, allocations: 0 / 1.032 GB, free: 12.45 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.871e-05/0.3077, allocations: 4 kB / 1.032 GB, free: 12.45 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.071e-05/0.3077, allocations: 0 / 1.032 GB, free: 12.45 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.957e-06/0.3078, allocations: 8.062 kB / 1.032 GB, free: 12.44 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003394/0.3081, allocations: 56.06 kB / 1.032 GB, free: 12.38 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.373e-05/0.3081, allocations: 11.98 kB / 1.032 GB, free: 12.37 MB / 0.8106 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.0001172/0.3083, allocations: 133.6 kB / 1.032 GB, free: 12.23 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.776e-05/0.3083, allocations: 11.89 kB / 1.032 GB, free: 12.22 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.715e-05/0.3083, allocations: 8.375 kB / 1.032 GB, free: 12.21 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.873e-06/0.3083, allocations: 0 / 1.032 GB, free: 12.21 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.909e-06/0.3083, allocations: 0 / 1.032 GB, free: 12.21 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.785e-06/0.3083, allocations: 4.469 kB / 1.032 GB, free: 12.21 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001528/0.3085, allocations: 181.6 kB / 1.032 GB, free: 11.98 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.452e-06/0.3085, allocations: 0 / 1.032 GB, free: 11.98 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.042e-05/0.3085, allocations: 4 kB / 1.032 GB, free: 11.98 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.433e-06/0.3085, allocations: 0 / 1.032 GB, free: 11.98 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.416e-06/0.3085, allocations: 3.938 kB / 1.032 GB, free: 11.97 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.613e-06/0.3086, allocations: 0 / 1.032 GB, free: 11.97 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.41e-07/0.3086, allocations: 0 / 1.032 GB, free: 11.97 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001547/0.3087, allocations: 120.9 kB / 1.032 GB, free: 11.84 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 5.004e-05/0.3088, allocations: 85.02 kB / 1.032 GB, free: 11.73 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.737e-05/0.3088, allocations: 4 kB / 1.032 GB, free: 11.73 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.883e-05/0.3088, allocations: 0 / 1.032 GB, free: 11.73 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.511e-05/0.3089, allocations: 7.984 kB / 1.032 GB, free: 11.72 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.504e-06/0.3089, allocations: 4 kB / 1.032 GB, free: 11.72 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 5.266e-05/0.3089, allocations: 87.27 kB / 1.033 GB, free: 11.63 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.493e-06/0.309, allocations: 4 kB / 1.033 GB, free: 11.63 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0002479/0.3092, allocations: 35.94 kB / 1.033 GB, free: 11.59 MB / 0.8106 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.0001691/0.3094, allocations: 111.2 kB / 1.033 GB, free: 11.48 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.0003525/0.3097, allocations: 250.7 kB / 1.033 GB, free: 11.21 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 2.424e-06/0.3098, allocations: 0 / 1.033 GB, free: 11.21 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 4.747e-05/0.3098, allocations: 23.94 kB / 1.033 GB, free: 11.18 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002434/0.3101, allocations: 25.48 kB / 1.033 GB, free: 11.16 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003934/0.3105, allocations: 155.1 kB / 1.033 GB, free: 10.98 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003768/0.3108, allocations: 0.6885 MB / 1.034 GB, free: 10.26 MB / 0.8106 GB Notification: Performance of simCode: alias equations: time 4.429e-05/0.3109, allocations: 4 kB / 1.034 GB, free: 10.26 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.781e-05/0.3109, allocations: 11.44 kB / 1.034 GB, free: 10.25 MB / 0.8106 GB Notification: Performance of SimCode: time 2.31e-07/0.3109, allocations: 0 / 1.034 GB, free: 10.25 MB / 0.8106 GB Notification: Performance of Templates: time 0.004612/0.3156, allocations: 1.844 MB / 1.036 GB, free: 8.426 MB / 0.8106 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 -s gbode -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