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.00875/0.00875, allocations: 97.11 kB / 15.73 MB, free: 5.547 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.001465/0.001465, allocations: 191.9 kB / 16.67 MB, free: 5.48 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.416/1.416, allocations: 222.9 MB / 240.4 MB, free: 15.14 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.804/2.804, allocations: 469.8 MB / 0.7425 GB, free: 3.352 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001671/0.001671, allocations: 67.89 kB / 1.065 GB, free: 13.54 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9501/0.9517, allocations: 159.1 MB / 1.221 GB, free: 2.102 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.And): time 0.002032/0.9538, allocations: 0.647 MB / 1.221 GB, free: 1.457 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.001983/0.9557, allocations: 1.194 MB / 1.222 GB, free: 256 kB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.115e-05/0.9558, allocations: 0 / 1.222 GB, free: 256 kB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 4.716e-05/0.9559, allocations: 7.922 kB / 1.222 GB, free: 248 kB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 0.000106/0.956, allocations: 7.938 kB / 1.222 GB, free: 240 kB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008085/0.9568, allocations: 214.5 kB / 1.223 GB, free: 32 kB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.0003385/0.9571, allocations: 183.6 kB / 1.223 GB, free: 15.85 MB / 0.9512 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001285/0.9572, allocations: 12 kB / 1.223 GB, free: 15.84 MB / 0.9512 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001267/0.9574, allocations: 63.89 kB / 1.223 GB, free: 15.78 MB / 0.9512 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001691/0.9575, allocations: 59.84 kB / 1.223 GB, free: 15.72 MB / 0.9512 GB Notification: Performance of NFPackage.collectConstants: time 3.492e-05/0.9576, allocations: 12 kB / 1.223 GB, free: 15.71 MB / 0.9512 GB Notification: Performance of NFFlatten.collectFunctions: time 9.46e-05/0.9577, allocations: 31.98 kB / 1.223 GB, free: 15.68 MB / 0.9512 GB Notification: Performance of NFScalarize.scalarize: time 2.922e-05/0.9577, allocations: 11.98 kB / 1.223 GB, free: 15.66 MB / 0.9512 GB Notification: Performance of NFVerifyModel.verify: time 8.838e-05/0.9578, allocations: 55.83 kB / 1.223 GB, free: 15.61 MB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 0.000259/0.958, allocations: 155.1 kB / 1.223 GB, free: 15.46 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 9.398e-06/0.9581, allocations: 0 / 1.223 GB, free: 15.46 MB / 0.9512 GB Notification: Performance of FrontEnd: time 2.434e-06/0.9581, allocations: 0 / 1.223 GB, free: 15.46 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 1.029e-05/0.9581, allocations: 3.938 kB / 1.223 GB, free: 15.46 MB / 0.9512 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.000745/0.9588, allocations: 439.7 kB / 1.224 GB, free: 14.96 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 6.749e-05/0.9589, allocations: 8.031 kB / 1.224 GB, free: 14.96 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.491e-05/0.959, allocations: 12.89 kB / 1.224 GB, free: 14.95 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002625/0.9592, allocations: 176.2 kB / 1.224 GB, free: 14.73 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.877e-05/0.9592, allocations: 4.375 kB / 1.224 GB, free: 14.73 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.147e-05/0.9593, allocations: 12.38 kB / 1.224 GB, free: 14.72 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000154/0.9594, allocations: 46.23 kB / 1.224 GB, free: 14.67 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.211e-05/0.9595, allocations: 192 / 1.224 GB, free: 14.67 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.67e-05/0.9595, allocations: 3.938 kB / 1.224 GB, free: 14.66 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.123e-06/0.9595, allocations: 8 kB / 1.224 GB, free: 14.66 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.096e-05/0.9595, allocations: 12 kB / 1.224 GB, free: 14.64 MB / 0.9512 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006111/0.9601, allocations: 352.7 kB / 1.224 GB, free: 14.25 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000103/0.9602, allocations: 34.5 kB / 1.224 GB, free: 14.21 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.429e-05/0.9603, allocations: 12.86 kB / 1.224 GB, free: 14.19 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 9.478e-06/0.9603, allocations: 4 kB / 1.224 GB, free: 14.19 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003054/0.9606, allocations: 87.39 kB / 1.224 GB, free: 14.09 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=7): time 1.883e-06/0.9606, allocations: 0 / 1.224 GB, free: 14.09 MB / 0.9512 GB Notification: Performance of matching and sorting (n=7): time 0.0003129/0.9609, allocations: 105.8 kB / 1.224 GB, free: 13.98 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.353e-05/0.961, allocations: 55.41 kB / 1.225 GB, free: 13.91 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001257/0.9611, allocations: 113.8 kB / 1.225 GB, free: 13.79 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 3.792e-05/0.9612, allocations: 33.7 kB / 1.225 GB, free: 13.75 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 9.318e-05/0.9612, allocations: 96.08 kB / 1.225 GB, free: 13.66 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 2.097e-05/0.9613, allocations: 15.91 kB / 1.225 GB, free: 13.64 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001111/0.9614, allocations: 49.69 kB / 1.225 GB, free: 13.59 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.0001663/0.9615, allocations: 318.8 kB / 1.225 GB, free: 13.27 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001625/0.9617, allocations: 71.89 kB / 1.225 GB, free: 13.2 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001558/0.9619, allocations: 84.64 kB / 1.225 GB, free: 13.1 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002478/0.9621, allocations: 163.6 kB / 1.225 GB, free: 12.91 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.644e-06/0.9621, allocations: 4 kB / 1.225 GB, free: 12.91 MB / 0.9512 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0004861/0.9626, allocations: 264.9 kB / 1.226 GB, free: 12.63 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 8.056e-05/0.9627, allocations: 71.33 kB / 1.226 GB, free: 12.55 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.214e-06/0.9627, allocations: 128 / 1.226 GB, free: 12.55 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.201e-05/0.9627, allocations: 8 kB / 1.226 GB, free: 12.54 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.554e-05/0.9627, allocations: 0 / 1.226 GB, free: 12.54 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.122e-05/0.9628, allocations: 12 kB / 1.226 GB, free: 12.53 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003739/0.9631, allocations: 59.83 kB / 1.226 GB, free: 12.47 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.097e-05/0.9632, allocations: 11.98 kB / 1.226 GB, free: 12.46 MB / 0.9512 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.0001279/0.9633, allocations: 125.8 kB / 1.226 GB, free: 12.32 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.545e-05/0.9633, allocations: 7.953 kB / 1.226 GB, free: 12.32 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.671e-05/0.9633, allocations: 12.36 kB / 1.226 GB, free: 12.3 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.869e-06/0.9634, allocations: 4 kB / 1.226 GB, free: 12.3 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.366e-06/0.9634, allocations: 0 / 1.226 GB, free: 12.3 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.088e-06/0.9634, allocations: 0 / 1.226 GB, free: 12.3 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001913/0.9636, allocations: 173.6 kB / 1.226 GB, free: 12.08 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.72e-07/0.9636, allocations: 0 / 1.226 GB, free: 12.08 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.564e-06/0.9636, allocations: 0 / 1.226 GB, free: 12.08 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.403e-06/0.9636, allocations: 0 / 1.226 GB, free: 12.08 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.198e-05/0.9636, allocations: 7.984 kB / 1.226 GB, free: 12.07 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.162e-06/0.9636, allocations: 8 kB / 1.226 GB, free: 12.06 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.072e-06/0.9636, allocations: 0 / 1.226 GB, free: 12.06 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001639/0.9637, allocations: 108.9 kB / 1.226 GB, free: 11.94 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 5.817e-05/0.9638, allocations: 81.11 kB / 1.226 GB, free: 11.84 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.336e-05/0.9638, allocations: 4 kB / 1.226 GB, free: 11.84 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.904e-05/0.9638, allocations: 0 / 1.226 GB, free: 11.84 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.134e-05/0.9639, allocations: 7.984 kB / 1.226 GB, free: 11.83 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.224e-06/0.9639, allocations: 4 kB / 1.226 GB, free: 11.82 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 6.34e-05/0.964, allocations: 99.2 kB / 1.226 GB, free: 11.73 MB / 0.9512 GB Notification: Performance of sort global known variables: time 8e-08/0.964, allocations: 0 / 1.226 GB, free: 11.73 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.0002756/0.9643, allocations: 32 kB / 1.226 GB, free: 11.7 MB / 0.9512 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.0002803/0.9645, allocations: 111.1 kB / 1.227 GB, free: 11.58 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.0003813/0.9649, allocations: 226.6 kB / 1.227 GB, free: 11.33 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 2.234e-06/0.9649, allocations: 0 / 1.227 GB, free: 11.33 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 4.514e-05/0.965, allocations: 24.17 kB / 1.227 GB, free: 11.31 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002554/0.9652, allocations: 20.17 kB / 1.227 GB, free: 11.29 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003737/0.9656, allocations: 162.6 kB / 1.227 GB, free: 11.1 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002586/0.9659, allocations: 0.6885 MB / 1.228 GB, free: 10.39 MB / 0.9512 GB Notification: Performance of simCode: alias equations: time 3.198e-05/0.9659, allocations: 4 kB / 1.228 GB, free: 10.38 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.126e-05/0.9659, allocations: 11.44 kB / 1.228 GB, free: 10.37 MB / 0.9512 GB Notification: Performance of SimCode: time 3.41e-07/0.9659, allocations: 4 kB / 1.228 GB, free: 10.37 MB / 0.9512 GB Notification: Performance of Templates: time 0.005085/0.971, allocations: 1.83 MB / 1.229 GB, free: 8.562 MB / 0.9512 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=480 -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/jenkins/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