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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.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.001171/0.001171, allocations: 98.03 kB / 15.36 MB, free: 0.7344 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.01094/0.01094, allocations: 168.9 kB / 16.26 MB, free: 6.648 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.594/1.594, allocations: 223.3 MB / 240.3 MB, free: 5.32 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 3.285/3.285, allocations: 473.4 MB / 0.7469 GB, free: 5.996 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0003675/0.0003675, allocations: 17.66 kB / 0.9158 GB, free: 32.98 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3976/0.398, allocations: 162.2 MB / 1.074 GB, free: 7.477 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.And): time 0.0009822/0.3991, allocations: 395.9 kB / 1.075 GB, free: 7.094 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.001619/0.4007, allocations: 1.198 MB / 1.076 GB, free: 5.883 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.918e-05/0.4007, allocations: 0 / 1.076 GB, free: 5.883 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 2.394e-05/0.4008, allocations: 0 / 1.076 GB, free: 5.883 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 8.726e-05/0.4009, allocations: 11.92 kB / 1.076 GB, free: 5.871 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.000617/0.4015, allocations: 209.8 kB / 1.076 GB, free: 5.672 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0001624/0.4017, allocations: 151.7 kB / 1.076 GB, free: 5.523 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001002/0.4018, allocations: 8 kB / 1.076 GB, free: 5.516 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 8.79e-05/0.4019, allocations: 59.88 kB / 1.076 GB, free: 5.457 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 9.204e-05/0.402, allocations: 43.88 kB / 1.076 GB, free: 5.414 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 2.664e-05/0.402, allocations: 11.98 kB / 1.076 GB, free: 5.402 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 7.918e-05/0.4021, allocations: 27.98 kB / 1.076 GB, free: 5.375 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 2.142e-05/0.4021, allocations: 7.938 kB / 1.076 GB, free: 5.367 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 8.702e-05/0.4022, allocations: 73.59 kB / 1.076 GB, free: 5.289 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0001851/0.4024, allocations: 143.5 kB / 1.076 GB, free: 5.148 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 5.019e-06/0.4024, allocations: 0 / 1.076 GB, free: 5.148 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.964e-06/0.4024, allocations: 0 / 1.076 GB, free: 5.148 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 4.038e-06/0.4024, allocations: 0 / 1.076 GB, free: 5.148 MB / 0.8262 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.0004995/0.4029, allocations: 411.1 kB / 1.077 GB, free: 4.684 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 4.418e-05/0.403, allocations: 8.031 kB / 1.077 GB, free: 4.676 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.849e-05/0.403, allocations: 16.83 kB / 1.077 GB, free: 4.66 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001208/0.4032, allocations: 172.3 kB / 1.077 GB, free: 4.453 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.227e-05/0.4032, allocations: 8.375 kB / 1.077 GB, free: 4.445 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.149e-05/0.4032, allocations: 8.375 kB / 1.077 GB, free: 4.438 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001304/0.4034, allocations: 50.23 kB / 1.077 GB, free: 4.383 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.808e-06/0.4034, allocations: 192 / 1.077 GB, free: 4.383 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.3e-05/0.4034, allocations: 3.938 kB / 1.077 GB, free: 4.379 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.039e-06/0.4034, allocations: 0 / 1.077 GB, free: 4.379 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.408e-05/0.4035, allocations: 16 kB / 1.077 GB, free: 4.363 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004985/0.404, allocations: 360.6 kB / 1.077 GB, free: 3.961 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 8.067e-05/0.4041, allocations: 38.5 kB / 1.077 GB, free: 3.914 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.985e-05/0.4041, allocations: 16.86 kB / 1.077 GB, free: 3.895 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 1.08e-05/0.4041, allocations: 0 / 1.077 GB, free: 3.895 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001809/0.4043, allocations: 87.38 kB / 1.078 GB, free: 3.797 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=7): time 1.152e-06/0.4043, allocations: 4 kB / 1.078 GB, free: 3.793 MB / 0.8262 GB Notification: Performance of matching and sorting (n=7): time 0.0002521/0.4046, allocations: 97.58 kB / 1.078 GB, free: 3.691 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.432e-05/0.4046, allocations: 59.41 kB / 1.078 GB, free: 3.621 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001037/0.4047, allocations: 113.8 kB / 1.078 GB, free: 3.5 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 3.467e-05/0.4048, allocations: 29.7 kB / 1.078 GB, free: 3.465 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 6.787e-05/0.4049, allocations: 92.12 kB / 1.078 GB, free: 3.371 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 2.097e-05/0.4049, allocations: 19.8 kB / 1.078 GB, free: 3.352 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.759e-05/0.4049, allocations: 21.72 kB / 1.078 GB, free: 3.324 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001187/0.4051, allocations: 323.1 kB / 1.078 GB, free: 3 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001317/0.4052, allocations: 59.97 kB / 1.078 GB, free: 2.941 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001519/0.4054, allocations: 104.1 kB / 1.078 GB, free: 2.824 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001917/0.4056, allocations: 159.6 kB / 1.079 GB, free: 2.641 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.456e-06/0.4056, allocations: 0 / 1.079 GB, free: 2.641 MB / 0.8262 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0004033/0.406, allocations: 256.8 kB / 1.079 GB, free: 2.371 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 5.861e-05/0.406, allocations: 71.39 kB / 1.079 GB, free: 2.289 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.332e-06/0.4061, allocations: 4 kB / 1.079 GB, free: 2.285 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.219e-05/0.4061, allocations: 0 / 1.079 GB, free: 2.285 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.777e-05/0.4061, allocations: 11.98 kB / 1.079 GB, free: 2.273 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.62e-06/0.4061, allocations: 0 / 1.079 GB, free: 2.273 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004124/0.4065, allocations: 72.06 kB / 1.079 GB, free: 2.203 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.053e-05/0.4066, allocations: 15.98 kB / 1.079 GB, free: 2.188 MB / 0.8262 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.0001178/0.4067, allocations: 133.7 kB / 1.079 GB, free: 2.047 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.275e-05/0.4067, allocations: 3.906 kB / 1.079 GB, free: 2.043 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.245e-05/0.4067, allocations: 12.38 kB / 1.079 GB, free: 2.031 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.679e-06/0.4068, allocations: 3.984 kB / 1.079 GB, free: 2.027 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.011e-06/0.4068, allocations: 0 / 1.079 GB, free: 2.027 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.933e-06/0.4068, allocations: 3.984 kB / 1.079 GB, free: 2.023 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001495/0.4069, allocations: 177.6 kB / 1.079 GB, free: 1.801 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.102e-06/0.4069, allocations: 0 / 1.079 GB, free: 1.801 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.594e-06/0.407, allocations: 4 kB / 1.079 GB, free: 1.797 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.563e-06/0.407, allocations: 0 / 1.079 GB, free: 1.797 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.058e-05/0.407, allocations: 7.984 kB / 1.079 GB, free: 1.789 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.112e-06/0.407, allocations: 0 / 1.079 GB, free: 1.789 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.172e-06/0.407, allocations: 0 / 1.079 GB, free: 1.789 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001643/0.4072, allocations: 120.9 kB / 1.079 GB, free: 1.652 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 5.774e-05/0.4072, allocations: 81.02 kB / 1.08 GB, free: 1.555 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.006e-05/0.4073, allocations: 4 kB / 1.08 GB, free: 1.551 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.963e-05/0.4073, allocations: 4.094 kB / 1.08 GB, free: 1.547 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.68e-05/0.4073, allocations: 7.922 kB / 1.08 GB, free: 1.539 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.551e-06/0.4074, allocations: 4 kB / 1.08 GB, free: 1.535 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 5.31e-05/0.4074, allocations: 91.27 kB / 1.08 GB, free: 1.445 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1e-07/0.4074, allocations: 0 / 1.08 GB, free: 1.445 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0002352/0.4077, allocations: 32 kB / 1.08 GB, free: 1.414 MB / 0.8262 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.0001897/0.4079, allocations: 99.25 kB / 1.08 GB, free: 1.309 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0003628/0.4082, allocations: 250.6 kB / 1.08 GB, free: 1.039 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 2.795e-06/0.4082, allocations: 0 / 1.08 GB, free: 1.039 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 5.207e-05/0.4083, allocations: 31.92 kB / 1.08 GB, free: 1.008 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002439/0.4085, allocations: 15.92 kB / 1.08 GB, free: 0.9922 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003765/0.4089, allocations: 171.6 kB / 1.08 GB, free: 0.7891 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002682/0.4092, allocations: 0.6848 MB / 1.081 GB, free: 80 kB / 0.8262 GB Notification: Performance of simCode: alias equations: time 2.612e-05/0.4092, allocations: 7.781 kB / 1.081 GB, free: 72 kB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.923e-05/0.4093, allocations: 11.44 kB / 1.081 GB, free: 60 kB / 0.8262 GB Notification: Performance of SimCode: time 5.61e-07/0.4093, allocations: 0 / 1.081 GB, free: 60 kB / 0.8262 GB Notification: Performance of Templates: time 0.004598/0.4139, allocations: 1.758 MB / 1.083 GB, free: 14.33 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/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