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.006346/0.006346, allocations: 101.4 kB / 15.73 MB, free: 6.062 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.001295/0.001295, allocations: 196.4 kB / 16.68 MB, free: 5.977 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.461/1.461, allocations: 222.9 MB / 240.4 MB, free: 4.172 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.538/2.538, allocations: 390.2 MB / 0.6648 GB, free: 152 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001297/0.001297, allocations: 67.92 kB / 0.9509 GB, free: 5.582 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3435/0.3448, allocations: 140.4 MB / 1.088 GB, free: 1.461 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.And3): time 0.00181/0.3466, allocations: 0.6963 MB / 1.089 GB, free: 0.7656 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.001626/0.3483, allocations: 1.266 MB / 1.09 GB, free: 15.48 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.901e-05/0.3484, allocations: 0 / 1.09 GB, free: 15.48 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 3.014e-05/0.3484, allocations: 3.938 kB / 1.09 GB, free: 15.48 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 9.843e-05/0.3485, allocations: 27.84 kB / 1.09 GB, free: 15.45 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008095/0.3493, allocations: 303.5 kB / 1.09 GB, free: 15.16 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0003065/0.3497, allocations: 287.5 kB / 1.09 GB, free: 14.88 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001007/0.3498, allocations: 12.19 kB / 1.09 GB, free: 14.87 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001169/0.3499, allocations: 99.84 kB / 1.091 GB, free: 14.77 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001605/0.3501, allocations: 95.73 kB / 1.091 GB, free: 14.68 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 3.748e-05/0.3501, allocations: 24 kB / 1.091 GB, free: 14.65 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 8.507e-05/0.3502, allocations: 35.98 kB / 1.091 GB, free: 14.62 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 2.426e-05/0.3502, allocations: 23.86 kB / 1.091 GB, free: 14.59 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.0001099/0.3503, allocations: 79.8 kB / 1.091 GB, free: 14.52 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.000249/0.3506, allocations: 227.3 kB / 1.091 GB, free: 14.29 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 3.927e-06/0.3506, allocations: 0 / 1.091 GB, free: 14.29 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.543e-06/0.3506, allocations: 0 / 1.091 GB, free: 14.29 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 9.268e-06/0.3506, allocations: 0 / 1.091 GB, free: 14.29 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.0005607/0.3512, allocations: 496.3 kB / 1.092 GB, free: 13.74 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 3.559e-05/0.3512, allocations: 8.031 kB / 1.092 GB, free: 13.73 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.594e-05/0.3513, allocations: 24.84 kB / 1.092 GB, free: 13.71 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001131/0.3514, allocations: 171.2 kB / 1.092 GB, free: 13.51 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.029e-05/0.3515, allocations: 8.375 kB / 1.092 GB, free: 13.5 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.462e-05/0.3515, allocations: 20.36 kB / 1.092 GB, free: 13.48 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001235/0.3516, allocations: 54.23 kB / 1.092 GB, free: 13.42 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.827e-06/0.3517, allocations: 3.938 kB / 1.092 GB, free: 13.42 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.03e-05/0.3517, allocations: 0 / 1.092 GB, free: 13.42 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.338e-06/0.3517, allocations: 0 / 1.092 GB, free: 13.42 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.29e-05/0.3517, allocations: 27.92 kB / 1.092 GB, free: 13.39 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000501/0.3522, allocations: 420.5 kB / 1.092 GB, free: 12.93 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 6.271e-05/0.3523, allocations: 30.56 kB / 1.092 GB, free: 12.89 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.785e-05/0.3524, allocations: 16.86 kB / 1.092 GB, free: 12.87 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 1.14e-05/0.3524, allocations: 0 / 1.092 GB, free: 12.87 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001923/0.3526, allocations: 107.3 kB / 1.092 GB, free: 12.75 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=10): time 1.533e-06/0.3526, allocations: 4 kB / 1.092 GB, free: 12.75 MB / 0.8575 GB Notification: Performance of matching and sorting (n=10): time 0.0002923/0.3529, allocations: 133.5 kB / 1.092 GB, free: 12.61 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.564e-05/0.3529, allocations: 55.41 kB / 1.093 GB, free: 12.55 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.942e-05/0.353, allocations: 133.8 kB / 1.093 GB, free: 12.41 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 3.587e-05/0.3531, allocations: 33.7 kB / 1.093 GB, free: 12.37 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 6.743e-05/0.3532, allocations: 100 kB / 1.093 GB, free: 12.27 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 2.236e-05/0.3532, allocations: 24.19 kB / 1.093 GB, free: 12.24 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001296/0.3533, allocations: 69.66 kB / 1.093 GB, free: 12.17 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.0001019/0.3534, allocations: 326.8 kB / 1.093 GB, free: 11.84 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001843/0.3536, allocations: 87.94 kB / 1.093 GB, free: 11.75 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002321/0.3539, allocations: 141.8 kB / 1.093 GB, free: 11.59 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002605/0.3541, allocations: 237.6 kB / 1.094 GB, free: 11.32 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.945e-06/0.3541, allocations: 0 / 1.094 GB, free: 11.32 MB / 0.8575 GB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0005707/0.3547, allocations: 378.4 kB / 1.094 GB, free: 10.93 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 6.037e-05/0.3548, allocations: 97.22 kB / 1.094 GB, free: 10.82 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.059e-06/0.3548, allocations: 8.078 kB / 1.094 GB, free: 10.81 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.61e-05/0.3548, allocations: 4 kB / 1.094 GB, free: 10.8 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.376e-05/0.3548, allocations: 0 / 1.094 GB, free: 10.8 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.275e-06/0.3549, allocations: 7.984 kB / 1.094 GB, free: 10.8 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004436/0.3553, allocations: 79.81 kB / 1.094 GB, free: 10.72 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.385e-05/0.3554, allocations: 23.97 kB / 1.094 GB, free: 10.7 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.0001075/0.3555, allocations: 133.7 kB / 1.094 GB, free: 10.55 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.608e-05/0.3555, allocations: 7.906 kB / 1.094 GB, free: 10.55 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.925e-05/0.3555, allocations: 12.38 kB / 1.094 GB, free: 10.54 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.324e-06/0.3555, allocations: 0 / 1.094 GB, free: 10.54 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.059e-06/0.3556, allocations: 0 / 1.094 GB, free: 10.54 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.509e-06/0.3556, allocations: 3.984 kB / 1.094 GB, free: 10.53 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001445/0.3557, allocations: 197.5 kB / 1.095 GB, free: 10.29 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.613e-06/0.3557, allocations: 4 kB / 1.095 GB, free: 10.29 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.243e-05/0.3557, allocations: 8 kB / 1.095 GB, free: 10.28 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.743e-06/0.3557, allocations: 0 / 1.095 GB, free: 10.28 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.328e-05/0.3558, allocations: 7.984 kB / 1.095 GB, free: 10.27 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.232e-06/0.3558, allocations: 0 / 1.095 GB, free: 10.27 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.42e-07/0.3558, allocations: 4 kB / 1.095 GB, free: 10.27 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001659/0.3559, allocations: 132.9 kB / 1.095 GB, free: 10.12 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 3.813e-05/0.356, allocations: 85.02 kB / 1.095 GB, free: 10.02 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.839e-05/0.356, allocations: 3.984 kB / 1.095 GB, free: 10.01 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.512e-05/0.356, allocations: 8 kB / 1.095 GB, free: 10 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.249e-05/0.3561, allocations: 11.92 kB / 1.095 GB, free: 9.992 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.257e-06/0.3561, allocations: 8 kB / 1.095 GB, free: 9.984 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 4.969e-05/0.3562, allocations: 95.27 kB / 1.095 GB, free: 9.891 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.3e-07/0.3562, allocations: 0 / 1.095 GB, free: 9.891 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0002621/0.3564, allocations: 44 kB / 1.095 GB, free: 9.848 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.000138/0.3566, allocations: 103.8 kB / 1.095 GB, free: 9.738 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0004669/0.3571, allocations: 374 kB / 1.095 GB, free: 9.336 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 2.515e-06/0.3571, allocations: 4 kB / 1.095 GB, free: 9.332 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 6.167e-05/0.3571, allocations: 35.98 kB / 1.095 GB, free: 9.297 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002529/0.3574, allocations: 27.72 kB / 1.095 GB, free: 9.273 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003726/0.3578, allocations: 191.4 kB / 1.096 GB, free: 9.055 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002119/0.358, allocations: 0.6962 MB / 1.096 GB, free: 8.332 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 2.985e-05/0.358, allocations: 4.438 kB / 1.096 GB, free: 8.328 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.579e-05/0.3581, allocations: 19.42 kB / 1.096 GB, free: 8.309 MB / 0.8575 GB Notification: Performance of SimCode: time 2.3e-07/0.3581, allocations: 0 / 1.096 GB, free: 8.309 MB / 0.8575 GB Notification: Performance of Templates: time 0.005152/0.3632, allocations: 2.616 MB / 1.099 GB, free: 5.723 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