Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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_10_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_10_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.0009906/0.0009906, allocations: 97.64 kB / 15.36 MB, free: 0.7344 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.007736/0.007736, allocations: 169 kB / 16.26 MB, free: 6.652 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.49/1.49, allocations: 223.3 MB / 240.3 MB, free: 5.34 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.69/2.69, allocations: 437.8 MB / 0.7121 GB, free: 6.914 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0005663/0.0005663, allocations: 8 kB / 0.8728 GB, free: 3.238 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9038/0.9044, allocations: 153.8 MB / 1.023 GB, free: 15.99 MB / 0.7794 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.And): time 0.0009632/0.9054, allocations: 396.9 kB / 1.023 GB, free: 15.6 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.00164/0.9071, allocations: 1.191 MB / 1.025 GB, free: 14.39 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.751e-05/0.9071, allocations: 0 / 1.025 GB, free: 14.39 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 1.941e-05/0.9071, allocations: 3.938 kB / 1.025 GB, free: 14.39 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 7.905e-05/0.9072, allocations: 11.92 kB / 1.025 GB, free: 14.38 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006658/0.9079, allocations: 202.9 kB / 1.025 GB, free: 14.19 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.0001762/0.9081, allocations: 155.6 kB / 1.025 GB, free: 14.04 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001033/0.9082, allocations: 11.98 kB / 1.025 GB, free: 14.02 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 8.639e-05/0.9083, allocations: 51.91 kB / 1.025 GB, free: 13.97 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 9.999e-05/0.9084, allocations: 47.86 kB / 1.025 GB, free: 13.93 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 2.767e-05/0.9084, allocations: 8 kB / 1.025 GB, free: 13.92 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 8.689e-05/0.9085, allocations: 23.98 kB / 1.025 GB, free: 13.89 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 2.006e-05/0.9086, allocations: 11.98 kB / 1.025 GB, free: 13.88 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 9.254e-05/0.9087, allocations: 73.53 kB / 1.025 GB, free: 13.8 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0001949/0.9089, allocations: 135.6 kB / 1.025 GB, free: 13.67 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 4.678e-06/0.9089, allocations: 0 / 1.025 GB, free: 13.67 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.784e-06/0.9089, allocations: 0 / 1.025 GB, free: 13.67 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 7.123e-06/0.9089, allocations: 0 / 1.025 GB, free: 13.67 MB / 0.7794 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.000459/0.9094, allocations: 420.7 kB / 1.026 GB, free: 13.2 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 4.631e-05/0.9094, allocations: 8.031 kB / 1.026 GB, free: 13.19 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.334e-05/0.9095, allocations: 8.938 kB / 1.026 GB, free: 13.18 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001284/0.9096, allocations: 188.2 kB / 1.026 GB, free: 12.96 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.321e-05/0.9096, allocations: 12.31 kB / 1.026 GB, free: 12.95 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.6e-05/0.9097, allocations: 12.36 kB / 1.026 GB, free: 12.94 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001152/0.9098, allocations: 50.25 kB / 1.026 GB, free: 12.88 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.833e-06/0.9098, allocations: 192 / 1.026 GB, free: 12.88 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.506e-05/0.9098, allocations: 7.922 kB / 1.026 GB, free: 12.88 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.189e-06/0.9098, allocations: 0 / 1.026 GB, free: 12.88 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.06e-05/0.9099, allocations: 15.94 kB / 1.026 GB, free: 12.86 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005146/0.9104, allocations: 344.8 kB / 1.026 GB, free: 12.47 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 7.794e-05/0.9105, allocations: 42.5 kB / 1.026 GB, free: 12.42 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.846e-05/0.9105, allocations: 12.86 kB / 1.026 GB, free: 12.41 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 1.066e-05/0.9106, allocations: 4 kB / 1.026 GB, free: 12.4 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001475/0.9107, allocations: 87.31 kB / 1.026 GB, free: 12.3 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=7): time 1.232e-06/0.9107, allocations: 0 / 1.026 GB, free: 12.3 MB / 0.7794 GB Notification: Performance of matching and sorting (n=7): time 0.0002493/0.911, allocations: 105.6 kB / 1.027 GB, free: 12.2 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.508e-05/0.911, allocations: 59.39 kB / 1.027 GB, free: 12.12 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001152/0.9111, allocations: 117.8 kB / 1.027 GB, free: 12 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 3.268e-05/0.9112, allocations: 29.7 kB / 1.027 GB, free: 11.96 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 6.537e-05/0.9113, allocations: 88.14 kB / 1.027 GB, free: 11.88 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 2.021e-05/0.9113, allocations: 19.8 kB / 1.027 GB, free: 11.86 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.695e-05/0.9113, allocations: 21.72 kB / 1.027 GB, free: 11.83 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.000152/0.9115, allocations: 322.8 kB / 1.027 GB, free: 11.5 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001259/0.9116, allocations: 63.91 kB / 1.027 GB, free: 11.44 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001391/0.9118, allocations: 96.25 kB / 1.027 GB, free: 11.33 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001823/0.912, allocations: 156.1 kB / 1.027 GB, free: 11.15 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.154e-06/0.912, allocations: 0 / 1.027 GB, free: 11.15 MB / 0.7794 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.000399/0.9124, allocations: 260.8 kB / 1.028 GB, free: 10.88 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 6.514e-05/0.9125, allocations: 71.39 kB / 1.028 GB, free: 10.8 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.709e-06/0.9125, allocations: 0 / 1.028 GB, free: 10.8 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.206e-05/0.9125, allocations: 0 / 1.028 GB, free: 10.8 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.465e-05/0.9125, allocations: 4 kB / 1.028 GB, free: 10.79 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.065e-06/0.9125, allocations: 7.875 kB / 1.028 GB, free: 10.79 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004178/0.9129, allocations: 86.42 kB / 1.028 GB, free: 10.7 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.131e-05/0.913, allocations: 15.98 kB / 1.028 GB, free: 10.69 MB / 0.7794 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.0001068/0.9131, allocations: 125.8 kB / 1.028 GB, free: 10.55 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.428e-05/0.9131, allocations: 7.906 kB / 1.028 GB, free: 10.55 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.514e-05/0.9131, allocations: 4.375 kB / 1.028 GB, free: 10.54 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.923e-06/0.9132, allocations: 4 kB / 1.028 GB, free: 10.54 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.107e-06/0.9132, allocations: 0 / 1.028 GB, free: 10.54 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.885e-06/0.9132, allocations: 0 / 1.028 GB, free: 10.54 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001426/0.9133, allocations: 185.6 kB / 1.028 GB, free: 10.31 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.233e-06/0.9133, allocations: 0 / 1.028 GB, free: 10.31 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.725e-06/0.9133, allocations: 0 / 1.028 GB, free: 10.31 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.813e-06/0.9133, allocations: 4 kB / 1.028 GB, free: 10.3 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.067e-05/0.9134, allocations: 4 kB / 1.028 GB, free: 10.3 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.182e-06/0.9134, allocations: 0 / 1.028 GB, free: 10.3 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.205e-06/0.9134, allocations: 4.062 kB / 1.028 GB, free: 10.3 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00014/0.9135, allocations: 113 kB / 1.028 GB, free: 10.17 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 5.042e-05/0.9136, allocations: 85 kB / 1.028 GB, free: 10.07 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.737e-05/0.9136, allocations: 0 / 1.028 GB, free: 10.07 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.222e-05/0.9136, allocations: 4 kB / 1.028 GB, free: 10.06 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.603e-05/0.9137, allocations: 8 kB / 1.028 GB, free: 10.05 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.338e-06/0.9137, allocations: 7.984 kB / 1.028 GB, free: 10.05 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 4.772e-05/0.9137, allocations: 87.28 kB / 1.029 GB, free: 9.961 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.1e-07/0.9137, allocations: 288 / 1.029 GB, free: 9.961 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002352/0.914, allocations: 31.98 kB / 1.029 GB, free: 9.93 MB / 0.7794 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.0001765/0.9142, allocations: 111.2 kB / 1.029 GB, free: 9.812 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0003508/0.9145, allocations: 250.7 kB / 1.029 GB, free: 9.543 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 3.106e-06/0.9145, allocations: 4.062 kB / 1.029 GB, free: 9.539 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 5.055e-05/0.9146, allocations: 31.92 kB / 1.029 GB, free: 9.508 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002327/0.9148, allocations: 11.98 kB / 1.029 GB, free: 9.496 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003763/0.9152, allocations: 179.2 kB / 1.029 GB, free: 9.297 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002849/0.9155, allocations: 0.6887 MB / 1.03 GB, free: 8.582 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 2.554e-05/0.9156, allocations: 4 kB / 1.03 GB, free: 8.578 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.713e-05/0.9156, allocations: 7.438 kB / 1.03 GB, free: 8.57 MB / 0.7794 GB Notification: Performance of SimCode: time 2.1e-07/0.9156, allocations: 0 / 1.03 GB, free: 8.57 MB / 0.7794 GB Notification: Performance of Templates: time 0.004586/0.9202, allocations: 1.754 MB / 1.031 GB, free: 6.844 MB / 0.7794 GB make -j1 -f Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.And.makefile (rm -f Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.And.pipe ; mkfifo Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.And.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.And.pipe >> ../files/Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.And.sim & ./Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.And -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.And.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.And_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_OBC_CDL_Logical_Validation_And.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.And.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches