Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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.And3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|and1.u1|and1.u2|and1.u3|and1.y",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.And3") translateModel(Buildings.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_9_Buildings.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.008681/0.008681, allocations: 95.05 kB / 15.73 MB, free: 6.039 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.002018/0.002017, allocations: 201.5 kB / 16.68 MB, free: 5.969 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.523/1.523, allocations: 222.9 MB / 240.4 MB, free: 4.332 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.508/2.508, allocations: 390.2 MB / 0.6648 GB, free: 176 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001245/0.001245, allocations: 63.98 kB / 0.9509 GB, free: 5.57 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2946/0.2959, allocations: 140.4 MB / 1.088 GB, free: 1.5 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.And3): time 0.001837/0.2978, allocations: 0.7041 MB / 1.089 GB, free: 0.7969 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.001618/0.2994, allocations: 1.262 MB / 1.09 GB, free: 15.52 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.365e-05/0.2995, allocations: 0 / 1.09 GB, free: 15.52 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 4.156e-05/0.2996, allocations: 7.922 kB / 1.09 GB, free: 15.51 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.0001041/0.2997, allocations: 19.86 kB / 1.09 GB, free: 15.49 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008285/0.3005, allocations: 312.7 kB / 1.09 GB, free: 15.2 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0003088/0.3008, allocations: 275.5 kB / 1.09 GB, free: 14.93 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001032/0.3009, allocations: 16.17 kB / 1.09 GB, free: 14.91 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001214/0.3011, allocations: 99.86 kB / 1.091 GB, free: 14.81 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001697/0.3012, allocations: 91.73 kB / 1.091 GB, free: 14.72 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 4.984e-05/0.3013, allocations: 24 kB / 1.091 GB, free: 14.7 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 8.774e-05/0.3014, allocations: 39.98 kB / 1.091 GB, free: 14.66 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 2.955e-05/0.3014, allocations: 15.92 kB / 1.091 GB, free: 14.64 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.0001118/0.3015, allocations: 83.8 kB / 1.091 GB, free: 14.56 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0002912/0.3018, allocations: 231.2 kB / 1.091 GB, free: 14.33 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 4.459e-06/0.3018, allocations: 0 / 1.091 GB, free: 14.33 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.723e-06/0.3019, allocations: 3.938 kB / 1.091 GB, free: 14.33 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 7.083e-06/0.3019, allocations: 4 kB / 1.091 GB, free: 14.32 MB / 0.8575 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.0006193/0.3025, allocations: 488.3 kB / 1.092 GB, free: 13.78 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.684e-05/0.3025, allocations: 8.031 kB / 1.092 GB, free: 13.77 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.556e-05/0.3026, allocations: 20.89 kB / 1.092 GB, free: 13.75 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001146/0.3027, allocations: 172.3 kB / 1.092 GB, free: 13.55 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.988e-05/0.3028, allocations: 8.359 kB / 1.092 GB, free: 13.54 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.371e-05/0.3028, allocations: 20.38 kB / 1.092 GB, free: 13.52 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001228/0.303, allocations: 54.23 kB / 1.092 GB, free: 13.46 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.636e-06/0.303, allocations: 3.938 kB / 1.092 GB, free: 13.46 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.224e-05/0.303, allocations: 0 / 1.092 GB, free: 13.46 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.703e-06/0.303, allocations: 4 kB / 1.092 GB, free: 13.45 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.261e-05/0.3031, allocations: 19.92 kB / 1.092 GB, free: 13.43 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005802/0.3036, allocations: 428.5 kB / 1.092 GB, free: 12.96 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 6.186e-05/0.3037, allocations: 30.58 kB / 1.092 GB, free: 12.93 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.867e-05/0.3038, allocations: 20.94 kB / 1.092 GB, free: 12.9 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 1.07e-05/0.3038, allocations: 0 / 1.092 GB, free: 12.9 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002335/0.304, allocations: 99.28 kB / 1.092 GB, free: 12.79 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=10): time 1.422e-06/0.304, allocations: 4 kB / 1.092 GB, free: 12.79 MB / 0.8575 GB Notification: Performance of matching and sorting (n=10): time 0.0003064/0.3043, allocations: 141.5 kB / 1.093 GB, free: 12.64 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.504e-05/0.3044, allocations: 51.41 kB / 1.093 GB, free: 12.58 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001069/0.3045, allocations: 136 kB / 1.093 GB, free: 12.44 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 4.729e-05/0.3046, allocations: 29.7 kB / 1.093 GB, free: 12.41 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 8.705e-05/0.3047, allocations: 104.1 kB / 1.093 GB, free: 12.3 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 2.359e-05/0.3047, allocations: 23.95 kB / 1.093 GB, free: 12.28 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001184/0.3048, allocations: 65.67 kB / 1.093 GB, free: 12.21 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.0001285/0.3049, allocations: 330.8 kB / 1.093 GB, free: 11.88 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00019/0.3051, allocations: 87.95 kB / 1.093 GB, free: 11.79 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002124/0.3054, allocations: 140.3 kB / 1.093 GB, free: 11.63 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002614/0.3056, allocations: 233.2 kB / 1.094 GB, free: 11.37 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.264e-06/0.3056, allocations: 0 / 1.094 GB, free: 11.37 MB / 0.8575 GB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0005788/0.3062, allocations: 382.4 kB / 1.094 GB, free: 10.97 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 7.207e-05/0.3063, allocations: 113.2 kB / 1.094 GB, free: 10.84 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.53e-06/0.3063, allocations: 0 / 1.094 GB, free: 10.84 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.505e-05/0.3063, allocations: 4 kB / 1.094 GB, free: 10.84 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.566e-05/0.3064, allocations: 3.984 kB / 1.094 GB, free: 10.83 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.887e-06/0.3064, allocations: 4 kB / 1.094 GB, free: 10.83 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004831/0.3069, allocations: 79.84 kB / 1.094 GB, free: 10.75 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.501e-05/0.3069, allocations: 19.98 kB / 1.094 GB, free: 10.73 MB / 0.8575 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.0001164/0.307, allocations: 135.1 kB / 1.094 GB, free: 10.59 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.839e-05/0.3071, allocations: 11.91 kB / 1.094 GB, free: 10.58 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.55e-05/0.3071, allocations: 16.36 kB / 1.094 GB, free: 10.56 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.773e-06/0.3071, allocations: 0 / 1.094 GB, free: 10.56 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.31e-06/0.3071, allocations: 0 / 1.094 GB, free: 10.56 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.196e-06/0.3071, allocations: 0 / 1.094 GB, free: 10.56 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001452/0.3073, allocations: 189.6 kB / 1.095 GB, free: 10.33 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.031e-06/0.3073, allocations: 4 kB / 1.095 GB, free: 10.32 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.477e-05/0.3073, allocations: 7.984 kB / 1.095 GB, free: 10.32 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.693e-06/0.3073, allocations: 0 / 1.095 GB, free: 10.32 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.019e-05/0.3073, allocations: 4 kB / 1.095 GB, free: 10.31 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.886e-06/0.3074, allocations: 4 kB / 1.095 GB, free: 10.31 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.232e-06/0.3074, allocations: 0 / 1.095 GB, free: 10.31 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001772/0.3075, allocations: 136.9 kB / 1.095 GB, free: 10.16 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 4.32e-05/0.3076, allocations: 85.06 kB / 1.095 GB, free: 10.05 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.75e-05/0.3076, allocations: 4 kB / 1.095 GB, free: 10.05 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.428e-05/0.3076, allocations: 0 / 1.095 GB, free: 10.05 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.75e-05/0.3077, allocations: 19.97 kB / 1.095 GB, free: 10.03 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.843e-06/0.3077, allocations: 3.938 kB / 1.095 GB, free: 10.03 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 6.45e-05/0.3078, allocations: 103.2 kB / 1.095 GB, free: 9.926 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.41e-07/0.3078, allocations: 0 / 1.095 GB, free: 9.926 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0002664/0.3081, allocations: 47.98 kB / 1.095 GB, free: 9.879 MB / 0.8575 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.0001669/0.3082, allocations: 99.78 kB / 1.095 GB, free: 9.773 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0004686/0.3087, allocations: 370 kB / 1.095 GB, free: 9.375 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 2.555e-06/0.3087, allocations: 4.031 kB / 1.095 GB, free: 9.371 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 6.895e-05/0.3088, allocations: 43.92 kB / 1.095 GB, free: 9.328 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002773/0.3091, allocations: 24.2 kB / 1.095 GB, free: 9.305 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004399/0.3095, allocations: 186.2 kB / 1.096 GB, free: 9.094 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003547/0.3099, allocations: 0.6962 MB / 1.096 GB, free: 8.371 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 3.976e-05/0.31, allocations: 12.42 kB / 1.096 GB, free: 8.359 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.083e-05/0.31, allocations: 15.44 kB / 1.096 GB, free: 8.344 MB / 0.8575 GB Notification: Performance of SimCode: time 2.11e-07/0.31, allocations: 0 / 1.096 GB, free: 8.344 MB / 0.8575 GB Notification: Performance of Templates: time 0.005894/0.3159, allocations: 2.618 MB / 1.099 GB, free: 5.754 MB / 0.8575 GB make -j1 -f Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.And3.makefile (rm -f Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.And3.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.And3.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.And3.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.And3.sim & ./Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.And3 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.And3.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.And3_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_CDL_Logical_Validation_And3.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.And3.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches