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.001611/0.001611, allocations: 115.3 kB / 16.42 MB, free: 6.02 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.00174/0.00174, allocations: 186.1 kB / 17.35 MB, free: 5.633 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.391/1.391, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.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.251/2.251, allocations: 390.2 MB / 0.6655 GB, free: 0.6055 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001712/0.001712, allocations: 63.91 kB / 0.9516 GB, free: 7.609 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9814/0.9831, allocations: 140.4 MB / 1.089 GB, free: 5.504 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.And3): time 0.002026/0.9852, allocations: 0.7069 MB / 1.089 GB, free: 5.059 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.001639/0.9869, allocations: 1.265 MB / 1.091 GB, free: 4.137 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.898e-05/0.9869, allocations: 4 kB / 1.091 GB, free: 4.133 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 3.378e-05/0.987, allocations: 5.891 kB / 1.091 GB, free: 4.129 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 8.785e-05/0.9871, allocations: 17.98 kB / 1.091 GB, free: 4.117 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008473/0.9879, allocations: 317 kB / 1.091 GB, free: 3.957 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0003569/0.9883, allocations: 276 kB / 1.091 GB, free: 3.844 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000112/0.9884, allocations: 13.33 kB / 1.091 GB, free: 3.836 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000151/0.9886, allocations: 104.8 kB / 1.091 GB, free: 3.797 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002082/0.9888, allocations: 92.53 kB / 1.091 GB, free: 3.762 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 6.407e-05/0.9889, allocations: 22.91 kB / 1.091 GB, free: 3.762 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001197/0.989, allocations: 35.58 kB / 1.091 GB, free: 3.758 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 2.869e-05/0.989, allocations: 12.3 kB / 1.091 GB, free: 3.754 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.0001498/0.9892, allocations: 86.91 kB / 1.092 GB, free: 3.711 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0003544/0.9895, allocations: 225.1 kB / 1.092 GB, free: 3.637 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 4.728e-06/0.9896, allocations: 0 / 1.092 GB, free: 3.637 MB / 0.8575 GB Notification: Performance of FrontEnd: time 2.455e-06/0.9896, allocations: 0.8125 kB / 1.092 GB, free: 3.637 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 5.691e-06/0.9896, allocations: 0 / 1.092 GB, free: 3.637 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.0006039/0.9902, allocations: 493.1 kB / 1.092 GB, free: 3.16 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.603e-05/0.9902, allocations: 8.219 kB / 1.092 GB, free: 3.16 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.912e-05/0.9903, allocations: 16.3 kB / 1.092 GB, free: 3.156 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001025/0.9904, allocations: 178.7 kB / 1.092 GB, free: 2.949 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.073e-05/0.9905, allocations: 7.203 kB / 1.092 GB, free: 2.949 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.362e-05/0.9905, allocations: 17.83 kB / 1.092 GB, free: 2.945 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001356/0.9907, allocations: 56.69 kB / 1.092 GB, free: 2.906 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.085e-05/0.9907, allocations: 3.938 kB / 1.092 GB, free: 2.902 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.306e-05/0.9907, allocations: 1.109 kB / 1.092 GB, free: 2.902 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.732e-06/0.9907, allocations: 5.891 kB / 1.092 GB, free: 2.898 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.831e-05/0.9908, allocations: 25.73 kB / 1.093 GB, free: 2.887 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006143/0.9914, allocations: 408.2 kB / 1.093 GB, free: 2.566 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 6.192e-05/0.9915, allocations: 34.83 kB / 1.093 GB, free: 2.535 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.745e-05/0.9915, allocations: 18.75 kB / 1.093 GB, free: 2.523 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 6.913e-06/0.9915, allocations: 0 / 1.093 GB, free: 2.523 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002426/0.9918, allocations: 117 kB / 1.093 GB, free: 2.445 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=10): time 1.223e-06/0.9918, allocations: 5.031 kB / 1.093 GB, free: 2.441 MB / 0.8575 GB Notification: Performance of matching and sorting (n=10): time 0.0003371/0.9921, allocations: 136.2 kB / 1.093 GB, free: 2.379 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.596e-05/0.9921, allocations: 53.53 kB / 1.093 GB, free: 2.316 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001064/0.9923, allocations: 133.5 kB / 1.093 GB, free: 2.203 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 4.087e-05/0.9923, allocations: 31.92 kB / 1.093 GB, free: 2.172 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 6.686e-05/0.9924, allocations: 100.9 kB / 1.093 GB, free: 2.078 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 2.073e-05/0.9924, allocations: 17.31 kB / 1.094 GB, free: 2.066 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000141/0.9925, allocations: 71.14 kB / 1.094 GB, free: 2.035 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 6.983e-05/0.9926, allocations: 324.4 kB / 1.094 GB, free: 1.715 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00021/0.9928, allocations: 87.22 kB / 1.094 GB, free: 1.688 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002335/0.9931, allocations: 136 kB / 1.094 GB, free: 1.598 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002725/0.9934, allocations: 240.1 kB / 1.094 GB, free: 1.395 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.575e-06/0.9934, allocations: 0 / 1.094 GB, free: 1.395 MB / 0.8575 GB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0006439/0.994, allocations: 379.9 kB / 1.095 GB, free: 1.18 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 6.458e-05/0.9941, allocations: 97.62 kB / 1.095 GB, free: 1.082 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.889e-06/0.9941, allocations: 1.531 kB / 1.095 GB, free: 1.082 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.092e-05/0.9941, allocations: 2.797 kB / 1.095 GB, free: 1.082 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.903e-05/0.9942, allocations: 4.266 kB / 1.095 GB, free: 1.082 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.806e-06/0.9942, allocations: 2.75 kB / 1.095 GB, free: 1.082 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005368/0.9947, allocations: 91.67 kB / 1.095 GB, free: 1.062 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.1e-05/0.9948, allocations: 18.3 kB / 1.095 GB, free: 1.062 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.0001079/0.9949, allocations: 136.7 kB / 1.095 GB, free: 0.9336 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.124e-05/0.9949, allocations: 7.438 kB / 1.095 GB, free: 0.9297 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.183e-05/0.995, allocations: 11.95 kB / 1.095 GB, free: 0.9219 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.729e-06/0.995, allocations: 0.7031 kB / 1.095 GB, free: 0.9219 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.374e-06/0.995, allocations: 8.812 kB / 1.095 GB, free: 0.9141 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 2.811e-05/0.995, allocations: 84.45 kB / 1.095 GB, free: 0.8164 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.423e-05/0.995, allocations: 2.766 kB / 1.095 GB, free: 0.8164 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.532e-05/0.9951, allocations: 5.125 kB / 1.095 GB, free: 0.8125 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.705e-05/0.9951, allocations: 11.58 kB / 1.095 GB, free: 0.8086 MB / 0.8575 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0002016/0.9953, allocations: 181.6 kB / 1.095 GB, free: 0.6797 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0002075/0.9956, allocations: 278.9 kB / 1.096 GB, free: 460 kB / 0.8575 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 6.45e-05/0.9956, allocations: 38.02 kB / 1.096 GB, free: 444 kB / 0.8575 GB Notification: Performance of sorting global known variables: time 5.242e-05/0.9957, allocations: 101.2 kB / 1.096 GB, free: 360 kB / 0.8575 GB Notification: Performance of Backend: time 6.51e-07/0.9957, allocations: 0.75 kB / 1.096 GB, free: 360 kB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0007988/0.9965, allocations: 421.7 kB / 1.096 GB, free: 32 kB / 0.8575 GB Notification: Performance of SimCode: time 0.0007509/0.9973, allocations: 0.6443 MB / 1.097 GB, free: 15.4 MB / 0.8731 GB Notification: Performance of Templates: time 0.008175/1.005, allocations: 2.671 MB / 1.099 GB, free: 15.16 MB / 0.8731 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/jenkins1/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