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.479/1.479, allocations: 249.3 MB / 261.8 MB, free: 5.875 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001143/0.001143, allocations: 178.4 kB / 321.3 MB, free: 14.66 MB / 266.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.487/1.487, allocations: 205.2 MB / 0.572 GB, free: 10.68 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.0009672/0.0009674, allocations: 94.47 kB / 0.6764 GB, free: 15.65 MB / 0.5261 GB Notification: Performance of FrontEnd - loaded program: time 4.141e-05/4.155e-05, allocations: 4 kB / 0.788 GB, free: 97.1 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2403/0.2404, allocations: 106.3 MB / 0.8918 GB, free: 6.668 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7944/1.035, allocations: 131.4 MB / 1.02 GB, free: 3.375 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000252/1.035, allocations: 71.58 kB / 1.02 GB, free: 3.336 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.002556/1.038, allocations: 0.9054 MB / 1.021 GB, free: 2.5 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.923e-06/1.038, allocations: 0 / 1.021 GB, free: 2.5 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 9.778e-06/1.038, allocations: 4 kB / 1.021 GB, free: 2.496 MB / 0.6355 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.0004358/1.038, allocations: 357.3 kB / 1.021 GB, free: 2.109 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.387e-05/1.038, allocations: 8.031 kB / 1.021 GB, free: 2.102 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.1e-05/1.038, allocations: 7.906 kB / 1.021 GB, free: 2.094 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001452/1.039, allocations: 171 kB / 1.022 GB, free: 1.887 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.74e-05/1.039, allocations: 0 / 1.022 GB, free: 1.887 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.658e-05/1.039, allocations: 11.75 kB / 1.022 GB, free: 1.879 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001209/1.039, allocations: 52.38 kB / 1.022 GB, free: 1.828 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.826e-06/1.039, allocations: 0.625 kB / 1.022 GB, free: 1.828 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.259e-05/1.039, allocations: 0 / 1.022 GB, free: 1.828 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.318e-06/1.039, allocations: 0 / 1.022 GB, free: 1.828 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.679e-05/1.039, allocations: 30.22 kB / 1.022 GB, free: 1.805 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004513/1.039, allocations: 277.8 kB / 1.022 GB, free: 1.5 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001033/1.039, allocations: 49.14 kB / 1.022 GB, free: 1.453 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.725e-05/1.039, allocations: 23.98 kB / 1.022 GB, free: 1.434 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 1.196e-05/1.039, allocations: 2.625 kB / 1.022 GB, free: 1.434 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001401/1.04, allocations: 72.42 kB / 1.022 GB, free: 1.359 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=7): time 1.382e-06/1.04, allocations: 0 / 1.022 GB, free: 1.359 MB / 0.6355 GB Notification: Performance of matching and sorting (n=7): time 0.000184/1.04, allocations: 76.62 kB / 1.022 GB, free: 1.285 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.018e-05/1.04, allocations: 54.72 kB / 1.022 GB, free: 1.223 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.103e-05/1.04, allocations: 117.2 kB / 1.022 GB, free: 1.105 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 1.79e-05/1.04, allocations: 29.27 kB / 1.022 GB, free: 1.074 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 5.368e-05/1.04, allocations: 87.39 kB / 1.022 GB, free: 0.9883 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 1.899e-05/1.04, allocations: 11.7 kB / 1.022 GB, free: 0.9805 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.849e-06/1.04, allocations: 4 kB / 1.022 GB, free: 0.9766 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.000115/1.04, allocations: 316.8 kB / 1.023 GB, free: 0.6641 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.948e-05/1.04, allocations: 11.12 kB / 1.023 GB, free: 0.6562 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.554e-05/1.04, allocations: 36.02 kB / 1.023 GB, free: 0.6172 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.603e-05/1.04, allocations: 20.3 kB / 1.023 GB, free: 0.6016 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.813e-06/1.04, allocations: 0 / 1.023 GB, free: 0.6016 MB / 0.6355 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0001214/1.041, allocations: 84.45 kB / 1.023 GB, free: 0.5234 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.594e-05/1.041, allocations: 4 kB / 1.023 GB, free: 0.5195 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.192e-06/1.041, allocations: 0 / 1.023 GB, free: 0.5195 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.486e-05/1.041, allocations: 7.938 kB / 1.023 GB, free: 0.5117 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.158e-05/1.041, allocations: 4.062 kB / 1.023 GB, free: 0.5078 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.807e-06/1.041, allocations: 4 kB / 1.023 GB, free: 0.5039 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.012e-05/1.041, allocations: 19.11 kB / 1.023 GB, free: 500 kB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.327e-06/1.041, allocations: 3.953 kB / 1.023 GB, free: 496 kB / 0.6355 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 () * 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 0.000112/1.041, allocations: 107.2 kB / 1.023 GB, free: 384 kB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.591e-05/1.041, allocations: 15.83 kB / 1.023 GB, free: 368 kB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.809e-05/1.041, allocations: 10.75 kB / 1.023 GB, free: 360 kB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.305e-06/1.041, allocations: 4 kB / 1.023 GB, free: 356 kB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.566e-06/1.041, allocations: 0 / 1.023 GB, free: 356 kB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.797e-06/1.041, allocations: 0 / 1.023 GB, free: 356 kB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001604/1.041, allocations: 181 kB / 1.023 GB, free: 132 kB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.062e-06/1.041, allocations: 0 / 1.023 GB, free: 132 kB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.239e-05/1.041, allocations: 7.938 kB / 1.023 GB, free: 124 kB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.004e-06/1.041, allocations: 0 / 1.023 GB, free: 124 kB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.488e-06/1.041, allocations: 3.5 kB / 1.023 GB, free: 124 kB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.292e-06/1.041, allocations: 0 / 1.023 GB, free: 124 kB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.21e-07/1.041, allocations: 0 / 1.023 GB, free: 124 kB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001377/1.041, allocations: 107.3 kB / 1.023 GB, free: 8 kB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 5.845e-05/1.041, allocations: 81.09 kB / 1.023 GB, free: 15.91 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.468e-05/1.041, allocations: 0 / 1.023 GB, free: 15.91 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.049e-05/1.042, allocations: 19.92 kB / 1.023 GB, free: 15.89 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.328e-05/1.042, allocations: 11.97 kB / 1.023 GB, free: 15.88 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.884e-06/1.042, allocations: 7.938 kB / 1.023 GB, free: 15.88 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 5.516e-05/1.042, allocations: 91.08 kB / 1.024 GB, free: 15.79 MB / 0.6511 GB Notification: Performance of sort global known variables: time 1.8e-07/1.042, allocations: 4 kB / 1.024 GB, free: 15.79 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.0001737/1.042, allocations: 11.25 kB / 1.024 GB, free: 15.78 MB / 0.6511 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 () * 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.0001269/1.042, allocations: 103.2 kB / 1.024 GB, free: 15.67 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.0001194/1.042, allocations: 43.3 kB / 1.024 GB, free: 15.64 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 2.595e-06/1.042, allocations: 0 / 1.024 GB, free: 15.64 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 5.409e-05/1.042, allocations: 26.56 kB / 1.024 GB, free: 15.62 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001906/1.042, allocations: 25.41 kB / 1.024 GB, free: 15.6 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002417/1.043, allocations: 93.41 kB / 1.024 GB, free: 15.49 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002652/1.043, allocations: 0.6887 MB / 1.024 GB, free: 14.78 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 3.332e-05/1.043, allocations: 7.859 kB / 1.025 GB, free: 14.77 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.022e-05/1.043, allocations: 11.44 kB / 1.025 GB, free: 14.76 MB / 0.6511 GB Notification: Performance of SimCode: time 4.71e-07/1.043, allocations: 0 / 1.025 GB, free: 14.76 MB / 0.6511 GB Notification: Performance of Templates: time 0.002794/1.046, allocations: 0.7647 MB / 1.025 GB, free: 14.01 MB / 0.6511 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