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.0009492/0.000949, allocations: 84.38 kB / 15.06 MB, free: 1.09 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.001065/0.001065, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.444/1.444, allocations: 223.3 MB / 240 MB, free: 5.422 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.952/2.952, allocations: 462.6 MB / 0.736 GB, free: 15.77 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0003602/0.0003603, allocations: 10.72 kB / 0.9021 GB, free: 36.67 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3893/0.3897, allocations: 159.6 MB / 1.058 GB, free: 5.301 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.And): time 0.0009233/0.3907, allocations: 373.9 kB / 1.058 GB, free: 4.938 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.001701/0.3924, allocations: 1.167 MB / 1.06 GB, free: 3.758 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.066e-05/0.3925, allocations: 0 / 1.06 GB, free: 3.758 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 1.643e-05/0.3925, allocations: 4 kB / 1.06 GB, free: 3.754 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 7.482e-05/0.3926, allocations: 11.88 kB / 1.06 GB, free: 3.742 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006573/0.3932, allocations: 187.7 kB / 1.06 GB, free: 3.562 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.0001688/0.3934, allocations: 131.7 kB / 1.06 GB, free: 3.434 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000101/0.3935, allocations: 11.98 kB / 1.06 GB, free: 3.422 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 9.908e-05/0.3936, allocations: 55.91 kB / 1.06 GB, free: 3.367 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 9.696e-05/0.3937, allocations: 47.86 kB / 1.06 GB, free: 3.32 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 2.697e-05/0.3938, allocations: 8 kB / 1.06 GB, free: 3.312 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 7.668e-05/0.3939, allocations: 27.98 kB / 1.06 GB, free: 3.285 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 2.384e-05/0.3939, allocations: 11.92 kB / 1.06 GB, free: 3.273 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 5.929e-05/0.394, allocations: 37.7 kB / 1.06 GB, free: 3.23 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0001592/0.3941, allocations: 99.75 kB / 1.06 GB, free: 3.133 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 6.262e-06/0.3941, allocations: 0 / 1.06 GB, free: 3.133 MB / 0.8106 GB Notification: Performance of FrontEnd: time 2.445e-06/0.3941, allocations: 0 / 1.06 GB, free: 3.133 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 4.228e-06/0.3942, allocations: 0 / 1.06 GB, free: 3.133 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.0005926/0.3948, allocations: 418.8 kB / 1.061 GB, free: 2.664 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 4.561e-05/0.3948, allocations: 8.031 kB / 1.061 GB, free: 2.656 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.131e-05/0.3949, allocations: 8 kB / 1.061 GB, free: 2.648 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000157/0.395, allocations: 174.9 kB / 1.061 GB, free: 2.438 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.509e-05/0.3951, allocations: 7.938 kB / 1.061 GB, free: 2.43 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.589e-05/0.3951, allocations: 15.94 kB / 1.061 GB, free: 2.414 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001599/0.3953, allocations: 45.69 kB / 1.061 GB, free: 2.363 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.322e-05/0.3953, allocations: 0 / 1.061 GB, free: 2.363 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.858e-05/0.3953, allocations: 7.938 kB / 1.061 GB, free: 2.355 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.616e-06/0.3953, allocations: 0 / 1.061 GB, free: 2.355 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.378e-05/0.3954, allocations: 19.98 kB / 1.061 GB, free: 2.336 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006128/0.396, allocations: 348.7 kB / 1.061 GB, free: 1.945 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 9.983e-05/0.3961, allocations: 38.52 kB / 1.061 GB, free: 1.898 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.284e-05/0.3962, allocations: 16.94 kB / 1.061 GB, free: 1.879 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 1.369e-05/0.3962, allocations: 0 / 1.061 GB, free: 1.879 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002134/0.3964, allocations: 87.36 kB / 1.061 GB, free: 1.781 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=7): time 1.513e-06/0.3964, allocations: 0 / 1.061 GB, free: 1.781 MB / 0.8106 GB Notification: Performance of matching and sorting (n=7): time 0.0002754/0.3967, allocations: 101.5 kB / 1.061 GB, free: 1.676 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.834e-05/0.3968, allocations: 51.41 kB / 1.061 GB, free: 1.613 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001214/0.3969, allocations: 121.9 kB / 1.062 GB, free: 1.48 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 3.788e-05/0.3969, allocations: 29.7 kB / 1.062 GB, free: 1.445 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 7.96e-05/0.397, allocations: 92.33 kB / 1.062 GB, free: 1.352 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 2.041e-05/0.397, allocations: 19.8 kB / 1.062 GB, free: 1.332 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.993e-05/0.3971, allocations: 4 kB / 1.062 GB, free: 1.328 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001616/0.3972, allocations: 326.8 kB / 1.062 GB, free: 1 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001265/0.3974, allocations: 55.97 kB / 1.062 GB, free: 0.9453 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001506/0.3975, allocations: 96.19 kB / 1.062 GB, free: 0.8359 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001858/0.3977, allocations: 115.4 kB / 1.062 GB, free: 0.7109 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.706e-06/0.3977, allocations: 0 / 1.062 GB, free: 0.7109 MB / 0.8106 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0004069/0.3981, allocations: 253.4 kB / 1.063 GB, free: 456 kB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 5.964e-05/0.3982, allocations: 67.39 kB / 1.063 GB, free: 376 kB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.092e-05/0.3982, allocations: 7.984 kB / 1.063 GB, free: 368 kB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.381e-05/0.3982, allocations: 3.938 kB / 1.063 GB, free: 364 kB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.416e-05/0.3983, allocations: 4 kB / 1.063 GB, free: 360 kB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.494e-06/0.3983, allocations: 0 / 1.063 GB, free: 360 kB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003791/0.3987, allocations: 86.2 kB / 1.063 GB, free: 276 kB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.032e-05/0.3987, allocations: 12 kB / 1.063 GB, free: 264 kB / 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,$PRE.booPul1.y,booPul1.y,$PRE.booPul2.y,booPul2.y,and1.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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001113/0.3988, allocations: 133.7 kB / 1.063 GB, free: 120 kB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.499e-05/0.3988, allocations: 7.906 kB / 1.063 GB, free: 112 kB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.86e-05/0.3989, allocations: 12.31 kB / 1.063 GB, free: 100 kB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.516e-06/0.3989, allocations: 4 kB / 1.063 GB, free: 96 kB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.993e-06/0.3989, allocations: 0 / 1.063 GB, free: 96 kB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.857e-06/0.3989, allocations: 0 / 1.063 GB, free: 96 kB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001715/0.3991, allocations: 177.6 kB / 1.063 GB, free: 15.87 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.393e-06/0.3991, allocations: 4 kB / 1.063 GB, free: 15.87 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.201e-05/0.3991, allocations: 8.062 kB / 1.063 GB, free: 15.86 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.643e-06/0.3991, allocations: 0 / 1.063 GB, free: 15.86 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.386e-06/0.3991, allocations: 0 / 1.063 GB, free: 15.86 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.233e-06/0.3992, allocations: 4 kB / 1.063 GB, free: 15.86 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.61e-07/0.3992, allocations: 0 / 1.063 GB, free: 15.86 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001463/0.3993, allocations: 113.3 kB / 1.063 GB, free: 15.73 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 5.08e-05/0.3994, allocations: 88.97 kB / 1.063 GB, free: 15.62 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.592e-05/0.3994, allocations: 0 / 1.063 GB, free: 15.62 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.864e-05/0.3994, allocations: 7.984 kB / 1.063 GB, free: 15.61 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.013e-05/0.3995, allocations: 4 kB / 1.063 GB, free: 15.61 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.374e-06/0.3995, allocations: 4 kB / 1.063 GB, free: 15.61 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 4.878e-05/0.3995, allocations: 91.27 kB / 1.063 GB, free: 15.52 MB / 0.8262 GB Notification: Performance of sort global known variables: time 9e-08/0.3995, allocations: 0 / 1.063 GB, free: 15.52 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0002281/0.3998, allocations: 28 kB / 1.063 GB, free: 15.49 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001868/0.4, allocations: 103.2 kB / 1.063 GB, free: 15.38 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0003338/0.4003, allocations: 246.7 kB / 1.064 GB, free: 15.11 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 1.673e-06/0.4003, allocations: 4 kB / 1.064 GB, free: 15.11 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 5.074e-05/0.4004, allocations: 27.94 kB / 1.064 GB, free: 15.08 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002282/0.4006, allocations: 19.19 kB / 1.064 GB, free: 15.07 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003418/0.401, allocations: 172.5 kB / 1.064 GB, free: 14.86 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003099/0.4013, allocations: 0.6848 MB / 1.065 GB, free: 14.15 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 3.003e-05/0.4013, allocations: 11.98 kB / 1.065 GB, free: 14.14 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.02e-05/0.4013, allocations: 7.438 kB / 1.065 GB, free: 14.13 MB / 0.8262 GB Notification: Performance of SimCode: time 2.3e-07/0.4013, allocations: 0 / 1.065 GB, free: 14.13 MB / 0.8262 GB Notification: Performance of Templates: time 0.005164/0.4065, allocations: 1.68 MB / 1.066 GB, free: 12.48 MB / 0.8262 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