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.Xor.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.Xor,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|xor1.u1|xor1.u2|xor1.y",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.Xor") translateModel(Buildings.Controls.OBC.CDL.Logical.Validation.Xor,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|xor1.u1|xor1.u2|xor1.y",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.Xor") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.489/1.489, 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.001515/0.001515, allocations: 179.9 kB / 326.5 MB, free: 2.234 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.79/1.79, allocations: 205.4 MB / 0.5775 GB, free: 20.25 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.0009001/0.0009001, allocations: 90.34 kB / 0.6821 GB, free: 12.86 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003396/0.0003397, allocations: 12.09 kB / 0.7963 GB, free: 135.1 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2213/0.2216, allocations: 106.3 MB / 0.9001 GB, free: 63.88 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1673/0.389, allocations: 131.4 MB / 1.028 GB, free: 12.27 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002361/0.3893, allocations: 75.89 kB / 1.029 GB, free: 12.2 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.002408/0.3917, allocations: 0.9034 MB / 1.029 GB, free: 11.29 MB / 0.6823 GB Notification: Performance of FrontEnd: time 2.424e-06/0.3917, allocations: 0 / 1.029 GB, free: 11.29 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 6.562e-06/0.3918, allocations: 0 / 1.029 GB, free: 11.29 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.0004439/0.3922, allocations: 371.1 kB / 1.03 GB, free: 10.88 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 4.022e-05/0.3923, allocations: 8.031 kB / 1.03 GB, free: 10.87 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.524e-05/0.3923, allocations: 4 kB / 1.03 GB, free: 10.86 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001278/0.3924, allocations: 198.8 kB / 1.03 GB, free: 10.63 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.538e-05/0.3925, allocations: 0 / 1.03 GB, free: 10.63 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.448e-05/0.3925, allocations: 4 kB / 1.03 GB, free: 10.62 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001139/0.3926, allocations: 53.69 kB / 1.03 GB, free: 10.57 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.464e-06/0.3926, allocations: 0 / 1.03 GB, free: 10.57 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.013e-05/0.3926, allocations: 0 / 1.03 GB, free: 10.57 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.258e-06/0.3926, allocations: 4 kB / 1.03 GB, free: 10.56 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.663e-05/0.3927, allocations: 23.98 kB / 1.03 GB, free: 10.54 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003964/0.3931, allocations: 284.8 kB / 1.03 GB, free: 10.21 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 9.296e-05/0.3932, allocations: 46.56 kB / 1.03 GB, free: 10.16 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 1.144e-05/0.3932, allocations: 0 / 1.03 GB, free: 10.16 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001607/0.3934, allocations: 75.5 kB / 1.03 GB, free: 10.07 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=7): time 1.153e-06/0.3934, allocations: 0 / 1.03 GB, free: 10.07 MB / 0.6823 GB Notification: Performance of matching and sorting (n=7): time 0.0002134/0.3936, allocations: 93.59 kB / 1.031 GB, free: 9.973 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.743e-05/0.3937, allocations: 51.41 kB / 1.031 GB, free: 9.91 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.002e-05/0.3938, allocations: 109 kB / 1.031 GB, free: 9.797 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 1.634e-05/0.3938, allocations: 25.7 kB / 1.031 GB, free: 9.766 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 4.852e-05/0.3938, allocations: 92.12 kB / 1.031 GB, free: 9.672 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 1.537e-05/0.3939, allocations: 11.81 kB / 1.031 GB, free: 9.66 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.873e-06/0.3939, allocations: 4 kB / 1.031 GB, free: 9.656 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0001046/0.394, allocations: 318.8 kB / 1.031 GB, free: 9.336 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.313e-05/0.394, allocations: 19.98 kB / 1.031 GB, free: 9.316 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.109e-05/0.3941, allocations: 34.5 kB / 1.031 GB, free: 9.273 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.903e-05/0.3941, allocations: 15.98 kB / 1.031 GB, free: 9.258 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.513e-06/0.3941, allocations: 0 / 1.031 GB, free: 9.258 MB / 0.6823 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0001042/0.3942, allocations: 85.72 kB / 1.031 GB, free: 9.168 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.414e-05/0.3943, allocations: 4 kB / 1.031 GB, free: 9.164 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.789e-06/0.3943, allocations: 3.938 kB / 1.031 GB, free: 9.16 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.363e-05/0.3943, allocations: 4 kB / 1.031 GB, free: 9.156 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.293e-05/0.3943, allocations: 8 kB / 1.031 GB, free: 9.148 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.601e-06/0.3944, allocations: 0 / 1.031 GB, free: 9.148 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.544e-05/0.3944, allocations: 11.98 kB / 1.031 GB, free: 9.137 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.092e-06/0.3945, allocations: 8.062 kB / 1.031 GB, free: 9.129 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,booPul1.y,$PRE.booPul1.pulseStart,booPul1.pulseStart,booPul2.y,$PRE.booPul2.pulseStart,booPul2.pulseStart,xor1.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.451e-05/0.3946, allocations: 127.4 kB / 1.031 GB, free: 8.996 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.173e-05/0.3946, allocations: 11.92 kB / 1.031 GB, free: 8.984 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.35e-05/0.3946, allocations: 8.375 kB / 1.031 GB, free: 8.98 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.352e-06/0.3946, allocations: 0 / 1.031 GB, free: 8.98 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.727e-06/0.3946, allocations: 4 kB / 1.031 GB, free: 8.977 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.835e-06/0.3946, allocations: 0 / 1.031 GB, free: 8.977 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001405/0.3948, allocations: 177.6 kB / 1.032 GB, free: 8.754 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.154e-06/0.3948, allocations: 4 kB / 1.032 GB, free: 8.75 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.844e-06/0.3948, allocations: 4 kB / 1.032 GB, free: 8.746 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.683e-06/0.3948, allocations: 0 / 1.032 GB, free: 8.746 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.835e-06/0.3948, allocations: 0 / 1.032 GB, free: 8.746 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.022e-06/0.3948, allocations: 0 / 1.032 GB, free: 8.746 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.615e-06/0.3948, allocations: 4 kB / 1.032 GB, free: 8.742 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001237/0.395, allocations: 105.7 kB / 1.032 GB, free: 8.621 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 4.385e-05/0.395, allocations: 81.02 kB / 1.032 GB, free: 8.523 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.724e-05/0.3951, allocations: 7.938 kB / 1.032 GB, free: 8.516 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.921e-05/0.3951, allocations: 19.98 kB / 1.032 GB, free: 8.496 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.287e-05/0.3952, allocations: 11.97 kB / 1.032 GB, free: 8.484 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.402e-06/0.3952, allocations: 4 kB / 1.032 GB, free: 8.48 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 4.831e-05/0.3953, allocations: 95.34 kB / 1.032 GB, free: 8.387 MB / 0.6823 GB Notification: Performance of sort global known variables: time 1.4e-07/0.3953, allocations: 0 / 1.032 GB, free: 8.387 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.000173/0.3954, allocations: 8 kB / 1.032 GB, free: 8.379 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.y,booPul1.pulseStart,booPul2.y,booPul2.pulseStart,xor1.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.0001274/0.3956, allocations: 107.2 kB / 1.032 GB, free: 8.262 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.0001138/0.3957, allocations: 43.92 kB / 1.032 GB, free: 8.219 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 1.633e-06/0.3957, allocations: 0 / 1.032 GB, free: 8.219 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 5.013e-05/0.3958, allocations: 24 kB / 1.032 GB, free: 8.195 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001774/0.3959, allocations: 15.94 kB / 1.032 GB, free: 8.18 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003145/0.3963, allocations: 170.9 kB / 1.032 GB, free: 7.98 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002214/0.3965, allocations: 0.6907 MB / 1.033 GB, free: 7.266 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 3.439e-05/0.3965, allocations: 11.84 kB / 1.033 GB, free: 7.254 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.87e-05/0.3966, allocations: 15.38 kB / 1.033 GB, free: 7.238 MB / 0.6823 GB Notification: Performance of SimCode: time 4.11e-07/0.3966, allocations: 0 / 1.033 GB, free: 7.238 MB / 0.6823 GB Notification: Performance of Templates: time 0.00264/0.3992, allocations: 0.7602 MB / 1.034 GB, free: 6.488 MB / 0.6823 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.Xor.makefile (rm -f Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.Xor.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.Xor.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.Xor.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.Xor.sim & ./Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.Xor -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.Xor.pipe 2>&1) diffSimulationResults("Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.Xor_res.mat","/mnt/ReferenceFiles/Buildings/csv/Buildings_Controls_OBC_CDL_Logical_Validation_Xor.csv","../files/Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.Xor.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches