Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.And.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/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_maint.7.0.x_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_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.And") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.367/1.367, allocations: 251.9 MB / 266.9 MB, free: 11.01 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001234/0.001234, allocations: 180.1 kB / 326.5 MB, free: 2.246 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.969/1.969, allocations: 205.4 MB / 0.5775 GB, free: 20.55 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009979/0.000998, allocations: 90.73 kB / 0.6821 GB, free: 13.35 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003255/0.0003255, allocations: 8.906 kB / 0.7963 GB, free: 134.9 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2312/0.2315, allocations: 106.3 MB / 0.9001 GB, free: 64.3 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1712/0.4027, allocations: 131.4 MB / 1.028 GB, free: 12.69 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002714/0.4031, allocations: 71.95 kB / 1.029 GB, free: 12.62 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.002327/0.4054, allocations: 0.8995 MB / 1.029 GB, free: 11.71 MB / 0.6823 GB Notification: Performance of FrontEnd: time 1.873e-06/0.4054, allocations: 0 / 1.029 GB, free: 11.71 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 7.003e-06/0.4055, allocations: 0 / 1.029 GB, free: 11.71 MB / 0.6823 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.0004732/0.4059, allocations: 375.8 kB / 1.03 GB, free: 11.3 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 4.004e-05/0.406, allocations: 8.031 kB / 1.03 GB, free: 11.29 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.589e-05/0.406, allocations: 4 kB / 1.03 GB, free: 11.29 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001298/0.4062, allocations: 182.8 kB / 1.03 GB, free: 11.07 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.639e-05/0.4062, allocations: 0 / 1.03 GB, free: 11.07 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.69e-05/0.4062, allocations: 12 kB / 1.03 GB, free: 11.05 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001145/0.4063, allocations: 45.67 kB / 1.03 GB, free: 11 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.597e-06/0.4063, allocations: 0 / 1.03 GB, free: 11 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.108e-05/0.4064, allocations: 4 kB / 1.03 GB, free: 11 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.061e-06/0.4064, allocations: 3.984 kB / 1.03 GB, free: 11 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.826e-05/0.4064, allocations: 20 kB / 1.03 GB, free: 10.98 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005147/0.407, allocations: 308.8 kB / 1.03 GB, free: 10.62 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 9.196e-05/0.4071, allocations: 46.56 kB / 1.03 GB, free: 10.57 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 1.084e-05/0.4071, allocations: 0 / 1.03 GB, free: 10.57 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001601/0.4072, allocations: 71.52 kB / 1.03 GB, free: 10.49 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=7): time 1.513e-06/0.4073, allocations: 0 / 1.03 GB, free: 10.49 MB / 0.6823 GB Notification: Performance of matching and sorting (n=7): time 0.000194/0.4075, allocations: 93.58 kB / 1.031 GB, free: 10.39 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.832e-05/0.4075, allocations: 55.34 kB / 1.031 GB, free: 10.32 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.595e-05/0.4076, allocations: 109 kB / 1.031 GB, free: 10.21 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 1.411e-05/0.4076, allocations: 25.7 kB / 1.031 GB, free: 10.18 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 4.995e-05/0.4077, allocations: 88.14 kB / 1.031 GB, free: 10.09 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 1.895e-05/0.4077, allocations: 11.81 kB / 1.031 GB, free: 10.08 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.797e-06/0.4077, allocations: 0 / 1.031 GB, free: 10.08 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0001078/0.4078, allocations: 330.8 kB / 1.031 GB, free: 9.746 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.752e-05/0.4078, allocations: 12 kB / 1.031 GB, free: 9.734 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.264e-05/0.4079, allocations: 34.5 kB / 1.031 GB, free: 9.691 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.265e-05/0.4079, allocations: 16 kB / 1.031 GB, free: 9.676 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.784e-06/0.4079, allocations: 0 / 1.031 GB, free: 9.676 MB / 0.6823 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0001173/0.4081, allocations: 81.52 kB / 1.031 GB, free: 9.59 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.607e-05/0.4081, allocations: 12.06 kB / 1.031 GB, free: 9.578 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.969e-06/0.4081, allocations: 0 / 1.031 GB, free: 9.578 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.482e-05/0.4081, allocations: 0 / 1.031 GB, free: 9.578 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.385e-05/0.4082, allocations: 7.984 kB / 1.031 GB, free: 9.57 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.695e-06/0.4082, allocations: 4 kB / 1.031 GB, free: 9.566 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.706e-05/0.4083, allocations: 15.98 kB / 1.031 GB, free: 9.551 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.001e-05/0.4083, allocations: 4 kB / 1.031 GB, free: 9.547 MB / 0.6823 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 9 ($whenCondition2,$whenCondition1,$PRE.booPul1.pulseStart,booPul1.pulseStart,$PRE.booPul2.pulseStart,booPul2.pulseStart,and1.u1,and1.u2,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): 9 * Array equations: 0 * Algorithm blocks: 0 * 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 8.929e-05/0.4084, allocations: 133.6 kB / 1.031 GB, free: 9.406 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.143e-05/0.4084, allocations: 4 kB / 1.031 GB, free: 9.402 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.846e-05/0.4085, allocations: 8.375 kB / 1.031 GB, free: 9.398 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.893e-06/0.4085, allocations: 0 / 1.031 GB, free: 9.398 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.14e-06/0.4085, allocations: 0 / 1.031 GB, free: 9.398 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.166e-06/0.4085, allocations: 0 / 1.031 GB, free: 9.398 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001485/0.4086, allocations: 181.6 kB / 1.032 GB, free: 9.172 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.41e-07/0.4086, allocations: 0 / 1.032 GB, free: 9.172 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.957e-06/0.4087, allocations: 4 kB / 1.032 GB, free: 9.168 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.116e-06/0.4087, allocations: 3.984 kB / 1.032 GB, free: 9.164 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.576e-06/0.4087, allocations: 0 / 1.032 GB, free: 9.164 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.594e-06/0.4087, allocations: 7.984 kB / 1.032 GB, free: 9.156 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.32e-07/0.4087, allocations: 0 / 1.032 GB, free: 9.156 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001234/0.4088, allocations: 101.7 kB / 1.032 GB, free: 9.039 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 4.084e-05/0.4089, allocations: 85.02 kB / 1.032 GB, free: 8.938 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.533e-05/0.4089, allocations: 3.938 kB / 1.032 GB, free: 8.934 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.961e-05/0.409, allocations: 15.98 kB / 1.032 GB, free: 8.918 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.379e-05/0.409, allocations: 20.16 kB / 1.032 GB, free: 8.898 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.609e-06/0.4091, allocations: 0 / 1.032 GB, free: 8.898 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 4.45e-05/0.4091, allocations: 95.28 kB / 1.032 GB, free: 8.805 MB / 0.6823 GB Notification: Performance of sort global known variables: time 1e-07/0.4091, allocations: 0 / 1.032 GB, free: 8.805 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.000174/0.4093, allocations: 12 kB / 1.032 GB, free: 8.793 MB / 0.6823 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 ($whenCondition2,$whenCondition1,booPul1.pulseStart,booPul2.pulseStart,and1.u1,and1.u2,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.0001193/0.4094, allocations: 103.2 kB / 1.032 GB, free: 8.68 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.0001165/0.4095, allocations: 39.92 kB / 1.032 GB, free: 8.641 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 3.176e-06/0.4095, allocations: 8.125 kB / 1.032 GB, free: 8.633 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 4.423e-05/0.4096, allocations: 20 kB / 1.032 GB, free: 8.613 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001819/0.4098, allocations: 18.17 kB / 1.032 GB, free: 8.598 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000301/0.4101, allocations: 162.8 kB / 1.032 GB, free: 8.406 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002227/0.4103, allocations: 0.6926 MB / 1.033 GB, free: 7.688 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 3.762e-05/0.4104, allocations: 7.844 kB / 1.033 GB, free: 7.68 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.717e-05/0.4104, allocations: 15.38 kB / 1.033 GB, free: 7.664 MB / 0.6823 GB Notification: Performance of SimCode: time 3.21e-07/0.4104, allocations: 0 / 1.033 GB, free: 7.664 MB / 0.6823 GB Notification: Performance of Templates: time 0.003213/0.4136, allocations: 0.7435 MB / 1.034 GB, free: 6.93 MB / 0.6823 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.And.makefile (rm -f Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.And.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.And.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.And.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.And.sim & ./Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.And -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.And.pipe 2>&1) diffSimulationResults("Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.And_res.mat","/mnt/ReferenceFiles/Buildings/csv/Buildings_Controls_OBC_CDL_Logical_Validation_And.csv","../files/Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.And.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches