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.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-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.0008376/0.0008375, allocations: 87.11 kB / 15.06 MB, free: 1.09 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.001153/0.001153, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.568/1.568, allocations: 223.3 MB / 240 MB, free: 5.418 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.943/2.943, allocations: 437.7 MB / 0.7117 GB, free: 7.109 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0004199/0.00042, allocations: 15.94 kB / 0.8722 GB, free: 3.664 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8758/0.8762, allocations: 153.8 MB / 1.022 GB, free: 12 kB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.And): time 0.0009963/0.8773, allocations: 385 kB / 1.023 GB, free: 15.64 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.001907/0.8792, allocations: 1.163 MB / 1.024 GB, free: 14.46 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.584e-05/0.8793, allocations: 4 kB / 1.024 GB, free: 14.46 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 2.266e-05/0.8793, allocations: 3.984 kB / 1.024 GB, free: 14.45 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 8.29e-05/0.8794, allocations: 11.92 kB / 1.024 GB, free: 14.44 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007925/0.8802, allocations: 187 kB / 1.024 GB, free: 14.27 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.0001859/0.8804, allocations: 135.7 kB / 1.024 GB, free: 14.13 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 9.774e-05/0.8805, allocations: 8 kB / 1.024 GB, free: 14.12 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001385/0.8807, allocations: 59.88 kB / 1.024 GB, free: 14.07 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001126/0.8808, allocations: 51.88 kB / 1.024 GB, free: 14.02 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 3.726e-05/0.8808, allocations: 8 kB / 1.024 GB, free: 14.01 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 8.607e-05/0.8809, allocations: 15.98 kB / 1.024 GB, free: 13.99 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 4.336e-05/0.881, allocations: 11.98 kB / 1.024 GB, free: 13.98 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 7.117e-05/0.8811, allocations: 41.64 kB / 1.024 GB, free: 13.93 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0001566/0.8812, allocations: 99.77 kB / 1.025 GB, free: 13.84 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 7.374e-06/0.8812, allocations: 3.984 kB / 1.025 GB, free: 13.83 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.884e-06/0.8812, allocations: 0 / 1.025 GB, free: 13.83 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 5.44e-06/0.8812, allocations: 0 / 1.025 GB, free: 13.83 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.0005018/0.8818, allocations: 408.5 kB / 1.025 GB, free: 13.38 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 4.586e-05/0.8818, allocations: 16.02 kB / 1.025 GB, free: 13.36 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.766e-05/0.8819, allocations: 8 kB / 1.025 GB, free: 13.35 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001346/0.882, allocations: 174.9 kB / 1.025 GB, free: 13.14 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.628e-05/0.8821, allocations: 8 kB / 1.025 GB, free: 13.13 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.272e-05/0.8821, allocations: 8 kB / 1.025 GB, free: 13.12 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001305/0.8822, allocations: 57.56 kB / 1.025 GB, free: 13.06 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.095e-06/0.8823, allocations: 4 kB / 1.025 GB, free: 13.06 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.051e-05/0.8823, allocations: 0 / 1.025 GB, free: 13.06 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.1e-06/0.8823, allocations: 3.938 kB / 1.025 GB, free: 13.05 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.543e-05/0.8823, allocations: 16 kB / 1.025 GB, free: 13.04 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005442/0.8829, allocations: 352.7 kB / 1.026 GB, free: 12.64 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 8.979e-05/0.883, allocations: 42.5 kB / 1.026 GB, free: 12.59 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.988e-05/0.883, allocations: 8.859 kB / 1.026 GB, free: 12.58 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 9.718e-06/0.883, allocations: 4 kB / 1.026 GB, free: 12.58 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001569/0.8832, allocations: 91.44 kB / 1.026 GB, free: 12.48 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=7): time 1.463e-06/0.8832, allocations: 0 / 1.026 GB, free: 12.48 MB / 0.7794 GB Notification: Performance of matching and sorting (n=7): time 0.0002638/0.8835, allocations: 109.5 kB / 1.026 GB, free: 12.36 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.29e-05/0.8835, allocations: 55.41 kB / 1.026 GB, free: 12.3 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001068/0.8837, allocations: 114 kB / 1.026 GB, free: 12.17 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 2.899e-05/0.8837, allocations: 29.7 kB / 1.026 GB, free: 12.14 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 7.04e-05/0.8838, allocations: 96.22 kB / 1.026 GB, free: 12.04 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 1.722e-05/0.8838, allocations: 11.91 kB / 1.026 GB, free: 12.03 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.653e-05/0.8838, allocations: 4 kB / 1.026 GB, free: 12.02 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001232/0.8839, allocations: 322.8 kB / 1.026 GB, free: 11.7 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002212/0.8842, allocations: 51.97 kB / 1.026 GB, free: 11.65 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001393/0.8843, allocations: 92.27 kB / 1.027 GB, free: 11.54 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002714/0.8846, allocations: 127.3 kB / 1.027 GB, free: 11.41 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.525e-06/0.8846, allocations: 0 / 1.027 GB, free: 11.41 MB / 0.7794 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0004344/0.885, allocations: 257.3 kB / 1.027 GB, free: 11.14 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 5.87e-05/0.8851, allocations: 68.8 kB / 1.027 GB, free: 11.06 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.152e-06/0.8851, allocations: 4 kB / 1.027 GB, free: 11.05 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.374e-05/0.8852, allocations: 0 / 1.027 GB, free: 11.05 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.558e-05/0.8852, allocations: 7.938 kB / 1.027 GB, free: 11.05 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.811e-06/0.8852, allocations: 0 / 1.027 GB, free: 11.05 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004176/0.8856, allocations: 83.91 kB / 1.027 GB, free: 10.96 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.467e-05/0.8857, allocations: 15.98 kB / 1.027 GB, free: 10.95 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,$PRE.booPul1.y,booPul1.y,$PRE.booPul2.y,booPul2.y,and1.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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001132/0.8858, allocations: 132.1 kB / 1.027 GB, free: 10.81 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.327e-05/0.8858, allocations: 7.938 kB / 1.027 GB, free: 10.8 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.666e-05/0.8858, allocations: 12.36 kB / 1.027 GB, free: 10.79 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.618e-06/0.8859, allocations: 7.984 kB / 1.027 GB, free: 10.79 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.072e-06/0.8859, allocations: 0 / 1.027 GB, free: 10.79 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.567e-06/0.8859, allocations: 0 / 1.027 GB, free: 10.79 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002593/0.8861, allocations: 177.5 kB / 1.027 GB, free: 10.56 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.427e-06/0.8862, allocations: 3.953 kB / 1.027 GB, free: 10.56 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.044e-05/0.8862, allocations: 7.984 kB / 1.027 GB, free: 10.55 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.136e-06/0.8862, allocations: 0 / 1.027 GB, free: 10.55 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.154e-05/0.8862, allocations: 8 kB / 1.027 GB, free: 10.54 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.734e-06/0.8862, allocations: 0 / 1.027 GB, free: 10.54 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.42e-07/0.8862, allocations: 0 / 1.027 GB, free: 10.54 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002241/0.8864, allocations: 105 kB / 1.027 GB, free: 10.42 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 4.759e-05/0.8865, allocations: 84.97 kB / 1.028 GB, free: 10.32 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.888e-05/0.8865, allocations: 8.062 kB / 1.028 GB, free: 10.31 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.149e-05/0.8865, allocations: 8 kB / 1.028 GB, free: 10.3 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001396/0.8867, allocations: 3.984 kB / 1.028 GB, free: 10.3 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.809e-06/0.8867, allocations: 4 kB / 1.028 GB, free: 10.3 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 4.57e-05/0.8867, allocations: 91.27 kB / 1.028 GB, free: 10.21 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.11e-07/0.8868, allocations: 0 / 1.028 GB, free: 10.21 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002517/0.887, allocations: 32 kB / 1.028 GB, free: 10.18 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.000155/0.8872, allocations: 103.2 kB / 1.028 GB, free: 10.07 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0003264/0.8875, allocations: 242.8 kB / 1.028 GB, free: 9.805 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 2.455e-06/0.8875, allocations: 0 / 1.028 GB, free: 9.805 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 5.343e-05/0.8876, allocations: 35.91 kB / 1.028 GB, free: 9.77 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002367/0.8878, allocations: 12.27 kB / 1.028 GB, free: 9.758 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003458/0.8882, allocations: 171.4 kB / 1.028 GB, free: 9.566 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002406/0.8884, allocations: 0.6864 MB / 1.029 GB, free: 8.855 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 2.852e-05/0.8885, allocations: 7.938 kB / 1.029 GB, free: 8.848 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.119e-05/0.8885, allocations: 15.42 kB / 1.029 GB, free: 8.832 MB / 0.7794 GB Notification: Performance of SimCode: time 3.11e-07/0.8885, allocations: 0 / 1.029 GB, free: 8.832 MB / 0.7794 GB Notification: Performance of Templates: time 0.004572/0.8931, allocations: 1.677 MB / 1.031 GB, free: 7.184 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