Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-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.Controls.OBC.CDL.Logical.Validation.And,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|and1.u1|and1.u2|and1.y",fileNamePrefix="Buildings_latest_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_latest_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.001505/0.001506, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.002179/0.00218, allocations: 194.5 kB / 16.25 MB, free: 6.629 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.518/1.518, allocations: 222.9 MB / 239.9 MB, free: 4.496 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.938/2.938, allocations: 461.9 MB / 0.7343 GB, free: 15 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001323/0.001323, allocations: 70.56 kB / 0.8986 GB, free: 37.21 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4096/0.4109, allocations: 157.4 MB / 1.052 GB, free: 8.73 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.And): time 0.002716/0.4137, allocations: 0.7194 MB / 1.053 GB, free: 8.008 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.002282/0.416, allocations: 1.19 MB / 1.054 GB, free: 6.805 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.391e-05/0.4161, allocations: 0 / 1.054 GB, free: 6.805 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 4.889e-05/0.4162, allocations: 4 kB / 1.054 GB, free: 6.801 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 0.0001094/0.4164, allocations: 15.91 kB / 1.054 GB, free: 6.785 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009308/0.4173, allocations: 197.2 kB / 1.054 GB, free: 6.598 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.0003052/0.4176, allocations: 187.7 kB / 1.055 GB, free: 6.414 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001268/0.4178, allocations: 11.98 kB / 1.055 GB, free: 6.402 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001623/0.4179, allocations: 71.81 kB / 1.055 GB, free: 6.332 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001296/0.4181, allocations: 47.88 kB / 1.055 GB, free: 6.285 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 4.316e-05/0.4181, allocations: 16 kB / 1.055 GB, free: 6.27 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001006/0.4182, allocations: 27.98 kB / 1.055 GB, free: 6.242 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 2.55e-05/0.4183, allocations: 11.94 kB / 1.055 GB, free: 6.23 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 9.176e-05/0.4184, allocations: 59.88 kB / 1.055 GB, free: 6.172 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0002581/0.4186, allocations: 147.6 kB / 1.055 GB, free: 6.027 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 5.781e-06/0.4186, allocations: 4 kB / 1.055 GB, free: 6.023 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.723e-06/0.4186, allocations: 0 / 1.055 GB, free: 6.023 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 7.194e-06/0.4187, allocations: 0 / 1.055 GB, free: 6.023 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0005962/0.4193, allocations: 434.9 kB / 1.055 GB, free: 5.535 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 9.709e-05/0.4194, allocations: 12.62 kB / 1.055 GB, free: 5.523 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.244e-05/0.4194, allocations: 12.84 kB / 1.055 GB, free: 5.512 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001363/0.4196, allocations: 172.3 kB / 1.056 GB, free: 5.305 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.021e-05/0.4196, allocations: 4.375 kB / 1.056 GB, free: 5.301 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.91e-05/0.4197, allocations: 16.3 kB / 1.056 GB, free: 5.285 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001327/0.4198, allocations: 50.25 kB / 1.056 GB, free: 5.23 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.567e-06/0.4199, allocations: 192 / 1.056 GB, free: 5.23 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.449e-05/0.4199, allocations: 3.938 kB / 1.056 GB, free: 5.227 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.298e-06/0.4199, allocations: 0 / 1.056 GB, free: 5.227 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.347e-05/0.4199, allocations: 15.98 kB / 1.056 GB, free: 5.211 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005433/0.4205, allocations: 356.7 kB / 1.056 GB, free: 4.812 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 8.51e-05/0.4206, allocations: 38.45 kB / 1.056 GB, free: 4.766 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.599e-05/0.4206, allocations: 24.92 kB / 1.056 GB, free: 4.738 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 8.195e-06/0.4206, allocations: 0 / 1.056 GB, free: 4.738 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002373/0.4209, allocations: 75.38 kB / 1.056 GB, free: 4.652 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=7): time 1.363e-06/0.4209, allocations: 0 / 1.056 GB, free: 4.652 MB / 0.8106 GB Notification: Performance of matching and sorting (n=7): time 0.00027/0.4212, allocations: 113.7 kB / 1.056 GB, free: 4.535 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.416e-05/0.4212, allocations: 51.41 kB / 1.056 GB, free: 4.473 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001045/0.4213, allocations: 117.8 kB / 1.056 GB, free: 4.348 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 3.145e-05/0.4214, allocations: 29.7 kB / 1.056 GB, free: 4.312 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 6.937e-05/0.4214, allocations: 88.14 kB / 1.056 GB, free: 4.223 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 1.902e-05/0.4215, allocations: 15.81 kB / 1.056 GB, free: 4.207 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.829e-05/0.4216, allocations: 49.69 kB / 1.057 GB, free: 4.152 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001292/0.4217, allocations: 322.8 kB / 1.057 GB, free: 3.828 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001377/0.4218, allocations: 59.97 kB / 1.057 GB, free: 3.77 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001517/0.422, allocations: 99.56 kB / 1.057 GB, free: 3.66 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002047/0.4222, allocations: 160.1 kB / 1.057 GB, free: 3.477 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.124e-06/0.4222, allocations: 0 / 1.057 GB, free: 3.477 MB / 0.8106 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0004667/0.4227, allocations: 264.7 kB / 1.057 GB, free: 3.199 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 7.38e-05/0.4228, allocations: 71.33 kB / 1.057 GB, free: 3.117 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.133e-06/0.4228, allocations: 4 kB / 1.057 GB, free: 3.113 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.957e-05/0.4228, allocations: 0 / 1.057 GB, free: 3.113 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.086e-05/0.4229, allocations: 4 kB / 1.057 GB, free: 3.109 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.402e-05/0.4229, allocations: 8.047 kB / 1.057 GB, free: 3.102 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004079/0.4233, allocations: 52.06 kB / 1.058 GB, free: 3.051 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.915e-05/0.4234, allocations: 19.98 kB / 1.058 GB, free: 3.031 MB / 0.8106 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.0001609/0.4235, allocations: 129.7 kB / 1.058 GB, free: 2.895 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.624e-05/0.4235, allocations: 3.906 kB / 1.058 GB, free: 2.891 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.646e-05/0.4236, allocations: 8.375 kB / 1.058 GB, free: 2.883 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.366e-06/0.4236, allocations: 0 / 1.058 GB, free: 2.883 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.844e-06/0.4236, allocations: 4 kB / 1.058 GB, free: 2.879 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.773e-06/0.4236, allocations: 3.984 kB / 1.058 GB, free: 2.875 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001719/0.4238, allocations: 181.6 kB / 1.058 GB, free: 2.648 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.777e-06/0.4238, allocations: 4 kB / 1.058 GB, free: 2.645 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.058e-05/0.4238, allocations: 0 / 1.058 GB, free: 2.645 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.16e-06/0.4238, allocations: 4 kB / 1.058 GB, free: 2.641 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.708e-06/0.4238, allocations: 0 / 1.058 GB, free: 2.641 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.789e-06/0.4239, allocations: 3.984 kB / 1.058 GB, free: 2.637 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.833e-06/0.4239, allocations: 0 / 1.058 GB, free: 2.637 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001678/0.424, allocations: 116.9 kB / 1.058 GB, free: 2.504 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 5.941e-05/0.4241, allocations: 85 kB / 1.058 GB, free: 2.402 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.907e-05/0.4241, allocations: 4 kB / 1.058 GB, free: 2.398 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.037e-05/0.4242, allocations: 0 / 1.058 GB, free: 2.398 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.838e-05/0.4242, allocations: 11.98 kB / 1.058 GB, free: 2.387 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.562e-06/0.4242, allocations: 0 / 1.058 GB, free: 2.387 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 6.016e-05/0.4243, allocations: 91.22 kB / 1.058 GB, free: 2.297 MB / 0.8106 GB Notification: Performance of sort global known variables: time 9e-08/0.4243, allocations: 0 / 1.058 GB, free: 2.297 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0002634/0.4246, allocations: 35.98 kB / 1.058 GB, free: 2.262 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: 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.0002225/0.4248, allocations: 107.2 kB / 1.058 GB, free: 2.148 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.0003982/0.4252, allocations: 246.6 kB / 1.059 GB, free: 1.883 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 2.776e-06/0.4252, allocations: 4 kB / 1.059 GB, free: 1.879 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 6.027e-05/0.4253, allocations: 31.92 kB / 1.059 GB, free: 1.848 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002607/0.4255, allocations: 15.98 kB / 1.059 GB, free: 1.832 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004441/0.426, allocations: 170.9 kB / 1.059 GB, free: 1.637 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003824/0.4264, allocations: 0.6846 MB / 1.059 GB, free: 0.9258 MB / 0.8106 GB Notification: Performance of simCode: alias equations: time 4.221e-05/0.4264, allocations: 7.984 kB / 1.059 GB, free: 0.918 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.035e-05/0.4265, allocations: 11.44 kB / 1.059 GB, free: 0.9062 MB / 0.8106 GB Notification: Performance of SimCode: time 4.41e-07/0.4265, allocations: 4 kB / 1.059 GB, free: 0.9023 MB / 0.8106 GB Notification: Performance of Templates: time 0.005812/0.4323, allocations: 1.819 MB / 1.061 GB, free: 15.11 MB / 0.8262 GB make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.And.makefile (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.And.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.And.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.And.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.And.sim & ./Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.And -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.And.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.And_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Logical_Validation_And.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.And.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches