Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Obsolete.Controls.OBC.CDL.Logical.Validation.And3.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.Obsolete.Controls.OBC.CDL.Logical.Validation.And3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|and1.u1|and1.u2|and1.u3|and1.y",fileNamePrefix="Buildings_latest_Buildings.Obsolete.Controls.OBC.CDL.Logical.Validation.And3") translateModel(Buildings.Obsolete.Controls.OBC.CDL.Logical.Validation.And3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|and1.u1|and1.u2|and1.u3|and1.y",fileNamePrefix="Buildings_latest_Buildings.Obsolete.Controls.OBC.CDL.Logical.Validation.And3") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001069/0.001069, allocations: 103 kB / 16.36 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.001063/0.001063, allocations: 198.3 kB / 17.3 MB, free: 5.883 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.333/1.333, allocations: 222.9 MB / 241 MB, free: 15.17 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.471/2.471, allocations: 442.6 MB / 0.7165 GB, free: 14.65 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001306/0.001307, allocations: 62.78 kB / 0.8773 GB, free: 10.94 MB / 0.6544 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2943/0.2956, allocations: 153 MB / 1.027 GB, free: 2.023 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Obsolete.Controls.OBC.CDL.Logical.Validation.And3): time 0.001863/0.2975, allocations: 0.7371 MB / 1.027 GB, free: 1.293 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.001401/0.2989, allocations: 1.265 MB / 1.029 GB, free: 12 kB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.381e-05/0.299, allocations: 3.938 kB / 1.029 GB, free: 8 kB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 3.402e-05/0.299, allocations: 7.875 kB / 1.029 GB, free: 0 / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 9.228e-05/0.2991, allocations: 19.91 kB / 1.029 GB, free: 15.98 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007702/0.2999, allocations: 315.1 kB / 1.029 GB, free: 15.68 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.0002812/0.3002, allocations: 271.7 kB / 1.029 GB, free: 15.42 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001012/0.3003, allocations: 24.16 kB / 1.029 GB, free: 15.39 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001103/0.3004, allocations: 103.8 kB / 1.029 GB, free: 15.29 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001565/0.3006, allocations: 87.8 kB / 1.029 GB, free: 15.2 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 3.963e-05/0.3006, allocations: 20 kB / 1.029 GB, free: 15.18 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 8.807e-05/0.3007, allocations: 39.97 kB / 1.03 GB, free: 15.14 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 2.489e-05/0.3008, allocations: 15.94 kB / 1.03 GB, free: 15.13 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 0.0001079/0.3009, allocations: 91.72 kB / 1.03 GB, free: 15.04 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0002353/0.3011, allocations: 215.4 kB / 1.03 GB, free: 14.83 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 3.647e-06/0.3011, allocations: 0 / 1.03 GB, free: 14.83 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.563e-06/0.3011, allocations: 0 / 1.03 GB, free: 14.83 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 4.89e-06/0.3011, allocations: 0 / 1.03 GB, free: 14.83 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.000549/0.3017, allocations: 496.4 kB / 1.03 GB, free: 14.28 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 3.049e-05/0.3017, allocations: 8.031 kB / 1.03 GB, free: 14.27 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.106e-05/0.3018, allocations: 16.84 kB / 1.03 GB, free: 14.25 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001119/0.3019, allocations: 172.3 kB / 1.031 GB, free: 14.05 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.607e-05/0.3019, allocations: 8.359 kB / 1.031 GB, free: 14.04 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.986e-05/0.302, allocations: 16.38 kB / 1.031 GB, free: 14.02 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001127/0.3021, allocations: 54.23 kB / 1.031 GB, free: 13.96 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.586e-06/0.3021, allocations: 3.938 kB / 1.031 GB, free: 13.96 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.194e-05/0.3021, allocations: 4 kB / 1.031 GB, free: 13.96 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.319e-06/0.3022, allocations: 4 kB / 1.031 GB, free: 13.95 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.028e-05/0.3022, allocations: 23.97 kB / 1.031 GB, free: 13.93 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005147/0.3027, allocations: 420.4 kB / 1.031 GB, free: 13.47 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 5.419e-05/0.3028, allocations: 30.58 kB / 1.031 GB, free: 13.43 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.956e-05/0.3028, allocations: 24.94 kB / 1.031 GB, free: 13.4 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 1.015e-05/0.3029, allocations: 0 / 1.031 GB, free: 13.4 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001705/0.303, allocations: 111.1 kB / 1.031 GB, free: 13.28 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=10): time 1.343e-06/0.303, allocations: 0 / 1.031 GB, free: 13.28 MB / 0.8106 GB Notification: Performance of matching and sorting (n=10): time 0.0002834/0.3033, allocations: 133.5 kB / 1.031 GB, free: 13.14 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.472e-05/0.3034, allocations: 55.41 kB / 1.031 GB, free: 13.08 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001011/0.3035, allocations: 133.8 kB / 1.031 GB, free: 12.94 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 4.626e-05/0.3035, allocations: 33.7 kB / 1.032 GB, free: 12.9 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 6.324e-05/0.3036, allocations: 96.12 kB / 1.032 GB, free: 12.8 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 2.128e-05/0.3036, allocations: 27.78 kB / 1.032 GB, free: 12.77 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001218/0.3038, allocations: 69.67 kB / 1.032 GB, free: 12.7 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001006/0.3039, allocations: 326.8 kB / 1.032 GB, free: 12.37 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001784/0.304, allocations: 83.95 kB / 1.032 GB, free: 12.29 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001921/0.3042, allocations: 137.9 kB / 1.032 GB, free: 12.13 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002418/0.3045, allocations: 235 kB / 1.032 GB, free: 11.86 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.375e-06/0.3045, allocations: 0 / 1.032 GB, free: 11.86 MB / 0.8106 GB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0005418/0.3051, allocations: 374.5 kB / 1.033 GB, free: 11.47 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 6.499e-05/0.3051, allocations: 101.1 kB / 1.033 GB, free: 11.36 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.015e-06/0.3051, allocations: 8 kB / 1.033 GB, free: 11.35 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.339e-05/0.3052, allocations: 0 / 1.033 GB, free: 11.35 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.542e-05/0.3052, allocations: 11.92 kB / 1.033 GB, free: 11.34 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.264e-06/0.3052, allocations: 4 kB / 1.033 GB, free: 11.33 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004358/0.3056, allocations: 83.94 kB / 1.033 GB, free: 11.25 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.227e-05/0.3057, allocations: 19.98 kB / 1.033 GB, free: 11.23 MB / 0.8106 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 13 ($whenCondition5,$whenCondition6,$whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2,booPul3.y,$PRE.booPul3.y,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 (13): * Single equations (assignments): 10 * Array equations: 0 * Algorithm blocks: 3 * 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.0001038/0.3058, allocations: 137.7 kB / 1.033 GB, free: 11.09 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.204e-05/0.3058, allocations: 11.89 kB / 1.033 GB, free: 11.07 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.84e-05/0.3059, allocations: 12.36 kB / 1.033 GB, free: 11.06 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.056e-06/0.3059, allocations: 4 kB / 1.033 GB, free: 11.06 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.258e-06/0.3059, allocations: 4 kB / 1.033 GB, free: 11.05 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.916e-06/0.3059, allocations: 0 / 1.033 GB, free: 11.05 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001381/0.306, allocations: 189.6 kB / 1.033 GB, free: 10.82 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.122e-06/0.306, allocations: 0 / 1.033 GB, free: 10.82 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.315e-05/0.3061, allocations: 7.984 kB / 1.033 GB, free: 10.81 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.512e-06/0.3061, allocations: 384 / 1.033 GB, free: 10.81 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.815e-06/0.3061, allocations: 0 / 1.033 GB, free: 10.81 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.373e-06/0.3061, allocations: 0 / 1.033 GB, free: 10.81 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.71e-07/0.3061, allocations: 0 / 1.033 GB, free: 10.81 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001665/0.3063, allocations: 152.8 kB / 1.034 GB, free: 10.64 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 4.206e-05/0.3063, allocations: 88.95 kB / 1.034 GB, free: 10.54 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.556e-05/0.3063, allocations: 0 / 1.034 GB, free: 10.54 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.366e-05/0.3064, allocations: 0 / 1.034 GB, free: 10.54 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.121e-05/0.3064, allocations: 11.98 kB / 1.034 GB, free: 10.53 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.246e-06/0.3064, allocations: 4 kB / 1.034 GB, free: 10.52 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 5.009e-05/0.3065, allocations: 97.8 kB / 1.034 GB, free: 10.43 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.2e-07/0.3065, allocations: 0 / 1.034 GB, free: 10.43 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0002557/0.3067, allocations: 47.98 kB / 1.034 GB, free: 10.38 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: 10 ($whenCondition5,$whenCondition6,$whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2,booPul1.y,booPul2.y,and1.y,booPul3.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (10): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 3 * 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.00013/0.3069, allocations: 111.2 kB / 1.034 GB, free: 10.27 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.0004289/0.3073, allocations: 362 kB / 1.034 GB, free: 9.875 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 2.064e-06/0.3073, allocations: 3.938 kB / 1.034 GB, free: 9.871 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 6.096e-05/0.3074, allocations: 39.92 kB / 1.034 GB, free: 9.832 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000256/0.3077, allocations: 29.95 kB / 1.034 GB, free: 9.805 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003302/0.308, allocations: 187 kB / 1.034 GB, free: 9.59 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00022/0.3082, allocations: 0.6926 MB / 1.035 GB, free: 8.871 MB / 0.8106 GB Notification: Performance of simCode: alias equations: time 2.992e-05/0.3083, allocations: 12.42 kB / 1.035 GB, free: 8.859 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.186e-05/0.3083, allocations: 11.44 kB / 1.035 GB, free: 8.848 MB / 0.8106 GB Notification: Performance of SimCode: time 2.4e-07/0.3083, allocations: 3.938 kB / 1.035 GB, free: 8.844 MB / 0.8106 GB Notification: Performance of Templates: time 0.004955/0.3133, allocations: 2.631 MB / 1.038 GB, free: 6.25 MB / 0.8106 GB make -j1 -f Buildings_latest_Buildings.Obsolete.Controls.OBC.CDL.Logical.Validation.And3.makefile (rm -f Buildings_latest_Buildings.Obsolete.Controls.OBC.CDL.Logical.Validation.And3.pipe ; mkfifo Buildings_latest_Buildings.Obsolete.Controls.OBC.CDL.Logical.Validation.And3.pipe ; head -c 1048576 < Buildings_latest_Buildings.Obsolete.Controls.OBC.CDL.Logical.Validation.And3.pipe >> ../files/Buildings_latest_Buildings.Obsolete.Controls.OBC.CDL.Logical.Validation.And3.sim & ./Buildings_latest_Buildings.Obsolete.Controls.OBC.CDL.Logical.Validation.And3 -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Obsolete.Controls.OBC.CDL.Logical.Validation.And3.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Obsolete.Controls.OBC.CDL.Logical.Validation.And3_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Obsolete_Controls_OBC_CDL_Logical_Validation_And3.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Obsolete.Controls.OBC.CDL.Logical.Validation.And3.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches