Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.1.0-maint.11.x/package.mo", uses=false)
Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/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_11_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_11_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.001463/0.001463, allocations: 107.5 kB / 15.99 MB, free: 6.355 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.001453/0.001453, allocations: 195.4 kB / 16.91 MB, free: 6.195 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.344/1.344, allocations: 222.9 MB / 240.6 MB, free: 13.73 MB / 206.1 MB
Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.575/2.575, allocations: 469.8 MB / 0.7427 GB, free: 3.652 MB / 0.6075 GB
Notification: Performance of FrontEnd - loaded program: time 0.001824/0.001824, allocations: 71.97 kB / 0.9087 GB, free: 14.22 MB / 0.6856 GB
Notification: Performance of FrontEnd - Absyn->SCode: time 0.2932/0.295, allocations: 159.1 MB / 1.064 GB, free: 15.11 MB / 0.8419 GB
Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.And): time 0.001909/0.297, allocations: 0.704 MB / 1.065 GB, free: 14.4 MB / 0.8419 GB
Notification: Performance of NFInst.instExpressions: time 0.001447/0.2985, allocations: 1.19 MB / 1.066 GB, free: 13.2 MB / 0.8419 GB
Notification: Performance of NFInst.updateImplicitVariability: time 3.526e-05/0.2985, allocations: 0 / 1.066 GB, free: 13.2 MB / 0.8419 GB
Notification: Performance of NFTyping.typeComponents: time 2.805e-05/0.2985, allocations: 4 kB / 1.066 GB, free: 13.19 MB / 0.8419 GB
Notification: Performance of NFTyping.typeBindings: time 6.014e-05/0.2986, allocations: 7.922 kB / 1.066 GB, free: 13.18 MB / 0.8419 GB
Notification: Performance of NFTyping.typeClassSections: time 0.0005805/0.2992, allocations: 209.2 kB / 1.066 GB, free: 12.98 MB / 0.8419 GB
Notification: Performance of NFFlatten.flatten: time 0.0002058/0.2994, allocations: 187.7 kB / 1.066 GB, free: 12.8 MB / 0.8419 GB
Notification: Performance of NFFlatten.resolveConnections: time 7.821e-05/0.2995, allocations: 8 kB / 1.066 GB, free: 12.79 MB / 0.8419 GB
Notification: Performance of NFEvalConstants.evaluate: time 9.87e-05/0.2996, allocations: 67.88 kB / 1.066 GB, free: 12.73 MB / 0.8419 GB
Notification: Performance of NFSimplifyModel.simplify: time 8.842e-05/0.2997, allocations: 47.88 kB / 1.067 GB, free: 12.68 MB / 0.8419 GB
Notification: Performance of NFPackage.collectConstants: time 3.287e-05/0.2997, allocations: 16 kB / 1.067 GB, free: 12.66 MB / 0.8419 GB
Notification: Performance of NFFlatten.collectFunctions: time 7.194e-05/0.2998, allocations: 27.98 kB / 1.067 GB, free: 12.64 MB / 0.8419 GB
Notification: Performance of NFScalarize.scalarize: time 1.952e-05/0.2998, allocations: 11.92 kB / 1.067 GB, free: 12.62 MB / 0.8419 GB
Notification: Performance of NFVerifyModel.verify: time 7.784e-05/0.2999, allocations: 59.89 kB / 1.067 GB, free: 12.57 MB / 0.8419 GB
Notification: Performance of NFConvertDAE.convert: time 0.0001465/0.3001, allocations: 107.8 kB / 1.067 GB, free: 12.46 MB / 0.8419 GB
Notification: Performance of FrontEnd - DAE generated: time 3.076e-06/0.3001, allocations: 0 / 1.067 GB, free: 12.46 MB / 0.8419 GB
Notification: Performance of FrontEnd: time 1.232e-06/0.3001, allocations: 3.938 kB / 1.067 GB, free: 12.46 MB / 0.8419 GB
Notification: Performance of Transformations before backend: time 4.909e-06/0.3001, allocations: 0 / 1.067 GB, free: 12.46 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.0005002/0.3006, allocations: 435 kB / 1.067 GB, free: 11.97 MB / 0.8419 GB
Notification: Performance of prepare preOptimizeDAE: time 3.065e-05/0.3007, allocations: 8.031 kB / 1.067 GB, free: 11.96 MB / 0.8419 GB
Notification: Performance of preOpt normalInlineFunction (simulation): time 5.994e-05/0.3007, allocations: 16.83 kB / 1.067 GB, free: 11.95 MB / 0.8419 GB
Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001147/0.3008, allocations: 168.3 kB / 1.067 GB, free: 11.74 MB / 0.8419 GB
Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.694e-05/0.3009, allocations: 8.375 kB / 1.067 GB, free: 11.73 MB / 0.8419 GB
Notification: Performance of preOpt expandDerOperator (simulation): time 3.001e-05/0.3009, allocations: 8.375 kB / 1.067 GB, free: 11.73 MB / 0.8419 GB
Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001043/0.301, allocations: 50.23 kB / 1.067 GB, free: 11.67 MB / 0.8419 GB
Notification: Performance of preOpt findStateOrder (simulation): time 6.973e-06/0.301, allocations: 192 / 1.067 GB, free: 11.67 MB / 0.8419 GB
Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.311e-05/0.301, allocations: 11.94 kB / 1.067 GB, free: 11.66 MB / 0.8419 GB
Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.546e-06/0.301, allocations: 0 / 1.067 GB, free: 11.66 MB / 0.8419 GB
Notification: Performance of preOpt removeEqualRHS (simulation): time 3.648e-05/0.3011, allocations: 12 kB / 1.067 GB, free: 11.65 MB / 0.8419 GB
Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000462/0.3016, allocations: 356.6 kB / 1.068 GB, free: 11.25 MB / 0.8419 GB
Notification: Performance of preOpt comSubExp (simulation): time 7.372e-05/0.3016, allocations: 42.5 kB / 1.068 GB, free: 11.2 MB / 0.8419 GB
Notification: Performance of preOpt resolveLoops (simulation): time 3.052e-05/0.3017, allocations: 12.86 kB / 1.068 GB, free: 11.18 MB / 0.8419 GB
Notification: Performance of preOpt evalFunc (simulation): time 8.846e-06/0.3017, allocations: 0 / 1.068 GB, free: 11.18 MB / 0.8419 GB
Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000152/0.3018, allocations: 91.42 kB / 1.068 GB, free: 11.08 MB / 0.8419 GB
Notification: Performance of pre-optimization done (n=7): time 1.212e-06/0.3019, allocations: 0 / 1.068 GB, free: 11.08 MB / 0.8419 GB
Notification: Performance of matching and sorting (n=7): time 0.0002232/0.3021, allocations: 101.5 kB / 1.068 GB, free: 10.98 MB / 0.8419 GB
Notification: Performance of inlineWhenForInitialization (initialization): time 4.361e-05/0.3021, allocations: 59.41 kB / 1.068 GB, free: 10.91 MB / 0.8419 GB
Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.061e-05/0.3022, allocations: 113.8 kB / 1.068 GB, free: 10.79 MB / 0.8419 GB
Notification: Performance of collectPreVariables (initialization): time 3.645e-05/0.3023, allocations: 33.7 kB / 1.068 GB, free: 10.75 MB / 0.8419 GB
Notification: Performance of collectInitialEqns (initialization): time 6.999e-05/0.3024, allocations: 92.03 kB / 1.068 GB, free: 10.65 MB / 0.8419 GB
Notification: Performance of collectInitialBindings (initialization): time 1.667e-05/0.3024, allocations: 15.89 kB / 1.068 GB, free: 10.64 MB / 0.8419 GB
Notification: Performance of simplifyInitialFunctions (initialization): time 9.171e-05/0.3025, allocations: 45.69 kB / 1.068 GB, free: 10.59 MB / 0.8419 GB
Notification: Performance of setup shared object (initialization): time 0.0001318/0.3026, allocations: 326.8 kB / 1.069 GB, free: 10.26 MB / 0.8419 GB
Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001315/0.3027, allocations: 55.97 kB / 1.069 GB, free: 10.2 MB / 0.8419 GB
Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001424/0.3029, allocations: 96.58 kB / 1.069 GB, free: 10.09 MB / 0.8419 GB
Notification: Performance of analyzeInitialSystem (initialization): time 0.000195/0.3031, allocations: 159.6 kB / 1.069 GB, free: 9.91 MB / 0.8419 GB
Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.844e-06/0.3031, allocations: 4 kB / 1.069 GB, free: 9.906 MB / 0.8419 GB
Notification: Performance of matching and sorting (n=13) (initialization): time 0.0004251/0.3035, allocations: 264.8 kB / 1.069 GB, free: 9.629 MB / 0.8419 GB
Notification: Performance of prepare postOptimizeDAE: time 6.106e-05/0.3036, allocations: 67.39 kB / 1.069 GB, free: 9.551 MB / 0.8419 GB
Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.278e-06/0.3036, allocations: 0 / 1.069 GB, free: 9.551 MB / 0.8419 GB
Notification: Performance of postOpt tearingSystem (initialization): time 1.149e-05/0.3036, allocations: 4 kB / 1.069 GB, free: 9.547 MB / 0.8419 GB
Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.673e-05/0.3037, allocations: 0 / 1.069 GB, free: 9.547 MB / 0.8419 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.656e-06/0.3037, allocations: 4 kB / 1.069 GB, free: 9.543 MB / 0.8419 GB
Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003547/0.304, allocations: 67.89 kB / 1.069 GB, free: 9.477 MB / 0.8419 GB
Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.833e-05/0.3041, allocations: 8 kB / 1.069 GB, free: 9.469 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.00011/0.3042, allocations: 134.9 kB / 1.069 GB, free: 9.328 MB / 0.8419 GB
Notification: Performance of postOpt lateInlineFunction (simulation): time 1.232e-05/0.3042, allocations: 4 kB / 1.069 GB, free: 9.324 MB / 0.8419 GB
Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.301e-05/0.3042, allocations: 8.375 kB / 1.069 GB, free: 9.316 MB / 0.8419 GB
Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.276e-06/0.3042, allocations: 4 kB / 1.069 GB, free: 9.312 MB / 0.8419 GB
Notification: Performance of postOpt constantLinearSystem (simulation): time 3.066e-06/0.3042, allocations: 0 / 1.069 GB, free: 9.312 MB / 0.8419 GB
Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.098e-06/0.3042, allocations: 7.984 kB / 1.069 GB, free: 9.305 MB / 0.8419 GB
Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001442/0.3044, allocations: 177.6 kB / 1.07 GB, free: 9.082 MB / 0.8419 GB
Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.002e-06/0.3044, allocations: 0 / 1.07 GB, free: 9.082 MB / 0.8419 GB
Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.985e-06/0.3044, allocations: 0 / 1.07 GB, free: 9.082 MB / 0.8419 GB
Notification: Performance of postOpt tearingSystem (simulation): time 1.323e-06/0.3044, allocations: 0 / 1.07 GB, free: 9.082 MB / 0.8419 GB
Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.294e-06/0.3044, allocations: 0 / 1.07 GB, free: 9.082 MB / 0.8419 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.192e-06/0.3044, allocations: 4 kB / 1.07 GB, free: 9.078 MB / 0.8419 GB
Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.01e-07/0.3044, allocations: 0 / 1.07 GB, free: 9.078 MB / 0.8419 GB
Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001478/0.3046, allocations: 120.9 kB / 1.07 GB, free: 8.941 MB / 0.8419 GB
Notification: Performance of postOpt removeConstants (simulation): time 4.619e-05/0.3046, allocations: 89.02 kB / 1.07 GB, free: 8.836 MB / 0.8419 GB
Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.31e-05/0.3047, allocations: 3.938 kB / 1.07 GB, free: 8.832 MB / 0.8419 GB
Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.624e-05/0.3047, allocations: 7.984 kB / 1.07 GB, free: 8.824 MB / 0.8419 GB
Notification: Performance of postOpt findZeroCrossings (simulation): time 2.83e-05/0.3047, allocations: 4 kB / 1.07 GB, free: 8.82 MB / 0.8419 GB
Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.033e-06/0.3047, allocations: 4 kB / 1.07 GB, free: 8.816 MB / 0.8419 GB
Notification: Performance of sorting global known variables: time 5.319e-05/0.3048, allocations: 91.27 kB / 1.07 GB, free: 8.727 MB / 0.8419 GB
Notification: Performance of sort global known variables: time 1e-07/0.3048, allocations: 0 / 1.07 GB, free: 8.727 MB / 0.8419 GB
Notification: Performance of remove unused functions: time 0.0002301/0.305, allocations: 36 kB / 1.07 GB, free: 8.691 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.0001346/0.3052, allocations: 103.2 kB / 1.07 GB, free: 8.582 MB / 0.8419 GB
Notification: Performance of simCode: created initialization part: time 0.0003442/0.3055, allocations: 250.6 kB / 1.07 GB, free: 8.312 MB / 0.8419 GB
Notification: Performance of simCode: created event and clocks part: time 1.783e-06/0.3055, allocations: 0 / 1.07 GB, free: 8.312 MB / 0.8419 GB
Notification: Performance of simCode: created simulation system equations: time 5.193e-05/0.3056, allocations: 27.92 kB / 1.07 GB, free: 8.285 MB / 0.8419 GB
Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00021/0.3058, allocations: 15.98 kB / 1.07 GB, free: 8.27 MB / 0.8419 GB
Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003354/0.3062, allocations: 199.9 kB / 1.071 GB, free: 8.043 MB / 0.8419 GB
Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003204/0.3065, allocations: 0.6846 MB / 1.071 GB, free: 7.332 MB / 0.8419 GB
Notification: Performance of simCode: all other stuff during SimCode phase: time 2.008e-05/0.3065, allocations: 11.44 kB / 1.071 GB, free: 7.32 MB / 0.8419 GB
Notification: Performance of SimCode: time 2.2e-07/0.3065, allocations: 0 / 1.071 GB, free: 7.32 MB / 0.8419 GB
Notification: Performance of Templates: time 0.002978/0.3095, allocations: 1.378 MB / 1.073 GB, free: 5.961 MB / 0.8419 GB
make -j1 -f Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.And.makefile
(rm -f Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.And.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.And.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.And.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.And.sim & ./Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.And  -abortSlowSimulation -alarm=400  -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.And.pipe 2>&1)
diffSimulationResults("Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.And_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_OBC_CDL_Logical_Validation_And.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.And.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001)
Reference file matches