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.Not.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.Not,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|not1.u|not1.y",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.Not") translateModel(Buildings.Controls.OBC.CDL.Logical.Validation.Not,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|not1.u|not1.y",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.Not") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.382/1.382, allocations: 251.9 MB / 266.9 MB, free: 10.99 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.001092/0.001092, allocations: 187.1 kB / 326.5 MB, free: 2.23 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.75/1.75, allocations: 205.4 MB / 0.5775 GB, free: 20.26 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.0009157/0.0009156, allocations: 93.23 kB / 0.6821 GB, free: 12.88 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0004044/0.0004044, allocations: 9.5 kB / 0.7963 GB, free: 135.1 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2944/0.2948, allocations: 106.3 MB / 0.9001 GB, free: 63.9 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1998/0.4947, allocations: 131.4 MB / 1.028 GB, free: 12.33 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003644/0.4951, allocations: 83.88 kB / 1.029 GB, free: 12.25 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.001964/0.4971, allocations: 0.6294 MB / 1.029 GB, free: 11.62 MB / 0.6823 GB Notification: Performance of FrontEnd: time 4.678e-06/0.4971, allocations: 0 / 1.029 GB, free: 11.62 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 1.004e-05/0.4972, allocations: 0 / 1.029 GB, free: 11.62 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0005451/0.4977, allocations: 343.5 kB / 1.029 GB, free: 11.23 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 5.3e-05/0.4978, allocations: 8.031 kB / 1.029 GB, free: 11.23 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.437e-05/0.4978, allocations: 8 kB / 1.029 GB, free: 11.22 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001648/0.498, allocations: 174.9 kB / 1.03 GB, free: 11.01 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.585e-05/0.498, allocations: 4 kB / 1.03 GB, free: 11 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.799e-05/0.4981, allocations: 4 kB / 1.03 GB, free: 11 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001198/0.4982, allocations: 37.69 kB / 1.03 GB, free: 10.96 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.957e-06/0.4982, allocations: 0 / 1.03 GB, free: 10.96 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.343e-05/0.4982, allocations: 4 kB / 1.03 GB, free: 10.95 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.921e-06/0.4982, allocations: 0 / 1.03 GB, free: 10.95 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.994e-05/0.4983, allocations: 11.94 kB / 1.03 GB, free: 10.94 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004113/0.4987, allocations: 256.9 kB / 1.03 GB, free: 10.64 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 6.626e-05/0.4988, allocations: 26.56 kB / 1.03 GB, free: 10.61 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 1.166e-05/0.4988, allocations: 0 / 1.03 GB, free: 10.61 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001669/0.499, allocations: 59.39 kB / 1.03 GB, free: 10.54 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=3): time 1.032e-06/0.499, allocations: 0 / 1.03 GB, free: 10.54 MB / 0.6823 GB Notification: Performance of matching and sorting (n=3): time 0.0001851/0.4992, allocations: 57.69 kB / 1.03 GB, free: 10.47 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.253e-05/0.4992, allocations: 51.41 kB / 1.03 GB, free: 10.41 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.991e-05/0.4993, allocations: 93 kB / 1.03 GB, free: 10.31 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 1.837e-05/0.4994, allocations: 29.7 kB / 1.03 GB, free: 10.28 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 5.615e-05/0.4994, allocations: 84.12 kB / 1.03 GB, free: 10.19 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 1.594e-05/0.4995, allocations: 11.89 kB / 1.03 GB, free: 10.18 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.927e-06/0.4995, allocations: 0 / 1.03 GB, free: 10.18 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0001586/0.4996, allocations: 318.8 kB / 1.031 GB, free: 9.859 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.703e-05/0.4997, allocations: 8 kB / 1.031 GB, free: 9.852 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.203e-05/0.4997, allocations: 25.64 kB / 1.031 GB, free: 9.82 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.712e-05/0.4997, allocations: 8 kB / 1.031 GB, free: 9.812 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.854e-06/0.4997, allocations: 0 / 1.031 GB, free: 9.812 MB / 0.6823 GB Notification: Performance of matching and sorting (n=4) (initialization): time 7.457e-05/0.4998, allocations: 49.59 kB / 1.031 GB, free: 9.758 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.759e-05/0.4998, allocations: 4 kB / 1.031 GB, free: 9.754 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.095e-06/0.4999, allocations: 4 kB / 1.031 GB, free: 9.75 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.269e-05/0.4999, allocations: 0 / 1.031 GB, free: 9.75 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.627e-05/0.5, allocations: 7.969 kB / 1.031 GB, free: 9.742 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.809e-06/0.5, allocations: 4 kB / 1.031 GB, free: 9.738 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.369e-05/0.5, allocations: 4 kB / 1.031 GB, free: 9.734 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.05e-05/0.5, allocations: 11.92 kB / 1.031 GB, free: 9.723 MB / 0.6823 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 4 ($whenCondition1,booPul.y,$PRE.booPul.pulseStart,booPul.pulseStart) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (4): * Single equations (assignments): 4 * 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 0.0001017/0.5002, allocations: 113.8 kB / 1.031 GB, free: 9.602 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.654e-06/0.5002, allocations: 0 / 1.031 GB, free: 9.602 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.698e-05/0.5002, allocations: 11.5 kB / 1.031 GB, free: 9.586 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.162e-06/0.5002, allocations: 3.938 kB / 1.031 GB, free: 9.582 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.249e-06/0.5002, allocations: 4 kB / 1.031 GB, free: 9.578 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.05e-06/0.5002, allocations: 0 / 1.031 GB, free: 9.578 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001414/0.5004, allocations: 161.6 kB / 1.031 GB, free: 9.371 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.092e-06/0.5004, allocations: 0 / 1.031 GB, free: 9.371 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.736e-06/0.5004, allocations: 4 kB / 1.031 GB, free: 9.367 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.603e-06/0.5004, allocations: 0 / 1.031 GB, free: 9.367 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.394e-06/0.5004, allocations: 0 / 1.031 GB, free: 9.367 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.32e-07/0.5004, allocations: 0 / 1.031 GB, free: 9.367 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.62e-07/0.5004, allocations: 0 / 1.031 GB, free: 9.367 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001011/0.5005, allocations: 85.53 kB / 1.031 GB, free: 9.266 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 4.591e-05/0.5006, allocations: 77.11 kB / 1.031 GB, free: 9.172 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.349e-05/0.5006, allocations: 48 / 1.031 GB, free: 9.172 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.167e-05/0.5007, allocations: 15.97 kB / 1.031 GB, free: 9.156 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.675e-05/0.5007, allocations: 7.984 kB / 1.031 GB, free: 9.148 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.986e-06/0.5007, allocations: 0 / 1.031 GB, free: 9.148 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 4.544e-05/0.5008, allocations: 83.28 kB / 1.031 GB, free: 9.066 MB / 0.6823 GB Notification: Performance of sort global known variables: time 1.1e-07/0.5008, allocations: 0 / 1.031 GB, free: 9.066 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.0001745/0.501, allocations: 8 kB / 1.031 GB, free: 9.059 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: 3 ($whenCondition1,booPul.y,booPul.pulseStart) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (3): * Single equations (assignments): 2 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * 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.0001446/0.5011, allocations: 99.25 kB / 1.031 GB, free: 8.953 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.0001096/0.5013, allocations: 23.92 kB / 1.031 GB, free: 8.93 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 1.733e-06/0.5013, allocations: 0 / 1.031 GB, free: 8.93 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 3.167e-05/0.5013, allocations: 8 kB / 1.031 GB, free: 8.922 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001631/0.5015, allocations: 11.94 kB / 1.031 GB, free: 8.91 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003041/0.5018, allocations: 130.6 kB / 1.032 GB, free: 8.754 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002404/0.502, allocations: 0.6848 MB / 1.032 GB, free: 8.043 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 2.399e-05/0.5021, allocations: 4.25 kB / 1.032 GB, free: 8.039 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.499e-05/0.5021, allocations: 7.438 kB / 1.032 GB, free: 8.031 MB / 0.6823 GB Notification: Performance of SimCode: time 3.01e-07/0.5021, allocations: 0 / 1.032 GB, free: 8.031 MB / 0.6823 GB Notification: Performance of Templates: time 0.002261/0.5044, allocations: 447.5 kB / 1.033 GB, free: 7.602 MB / 0.6823 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.Not.makefile (rm -f Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.Not.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.Not.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.Not.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.Not.sim & ./Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.Not -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.Not.pipe 2>&1) diffSimulationResults("Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.Not_res.mat","/mnt/ReferenceFiles/Buildings/csv/Buildings_Controls_OBC_CDL_Logical_Validation_Not.csv","../files/Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.Not.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches