Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Xor.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 11.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/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.Xor,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|xor1.u1|xor1.u2|xor1.y",fileNamePrefix="Buildings_latest_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_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Xor") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00114/0.00114, allocations: 99.86 kB / 15.05 MB, free: 1.105 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.001309/0.001309, allocations: 177.3 kB / 15.95 MB, free: 216 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.433/1.433, allocations: 223.2 MB / 239.9 MB, free: 5.426 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.672/2.672, allocations: 436.5 MB / 0.7104 GB, free: 7.863 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0004348/0.0004349, allocations: 12 kB / 0.8708 GB, free: 4.789 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.764/0.7645, allocations: 153.7 MB / 1.021 GB, free: 1.086 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.Xor): time 0.0008814/0.7654, allocations: 385 kB / 1.021 GB, free: 0.7109 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.001478/0.7669, allocations: 1.124 MB / 1.022 GB, free: 15.57 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.286e-05/0.767, allocations: 4 kB / 1.022 GB, free: 15.57 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 1.531e-05/0.767, allocations: 0 / 1.022 GB, free: 15.57 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 8.203e-05/0.7671, allocations: 15.97 kB / 1.022 GB, free: 15.55 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.000644/0.7677, allocations: 193.1 kB / 1.022 GB, free: 15.37 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.0001161/0.7678, allocations: 75.91 kB / 1.023 GB, free: 15.29 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001108/0.768, allocations: 19.97 kB / 1.023 GB, free: 15.27 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 8.964e-05/0.7681, allocations: 51.89 kB / 1.023 GB, free: 15.22 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001007/0.7682, allocations: 51.86 kB / 1.023 GB, free: 15.17 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 2.83e-05/0.7682, allocations: 8 kB / 1.023 GB, free: 15.16 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 7.195e-05/0.7683, allocations: 23.92 kB / 1.023 GB, free: 15.14 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 1.592e-05/0.7683, allocations: 4 kB / 1.023 GB, free: 15.14 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 6.419e-05/0.7684, allocations: 41.7 kB / 1.023 GB, free: 15.09 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0001565/0.7685, allocations: 103.7 kB / 1.023 GB, free: 14.99 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 2.685e-06/0.7685, allocations: 0 / 1.023 GB, free: 14.99 MB / 0.7794 GB Notification: Performance of FrontEnd: time 2.054e-06/0.7685, allocations: 0 / 1.023 GB, free: 14.99 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 4.639e-06/0.7686, allocations: 0 / 1.023 GB, free: 14.99 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.0004814/0.769, allocations: 416.5 kB / 1.023 GB, free: 14.52 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 4.858e-05/0.7691, allocations: 23.91 kB / 1.023 GB, free: 14.5 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.382e-05/0.7692, allocations: 8 kB / 1.023 GB, free: 14.49 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001511/0.7693, allocations: 171 kB / 1.023 GB, free: 14.29 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.771e-05/0.7693, allocations: 4 kB / 1.023 GB, free: 14.28 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.983e-05/0.7694, allocations: 8 kB / 1.023 GB, free: 14.27 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001237/0.7695, allocations: 61.61 kB / 1.024 GB, free: 14.21 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.674e-06/0.7695, allocations: 0 / 1.024 GB, free: 14.21 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.27e-05/0.7695, allocations: 0 / 1.024 GB, free: 14.21 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.26e-06/0.7696, allocations: 4 kB / 1.024 GB, free: 14.2 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.088e-05/0.7696, allocations: 15.98 kB / 1.024 GB, free: 14.19 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005005/0.7701, allocations: 360.6 kB / 1.024 GB, free: 13.79 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 7.06e-05/0.7702, allocations: 34.58 kB / 1.024 GB, free: 13.74 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 9.047e-06/0.7702, allocations: 0 / 1.024 GB, free: 13.74 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000155/0.7704, allocations: 87.44 kB / 1.024 GB, free: 13.64 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=7): time 1.172e-06/0.7704, allocations: 3.938 kB / 1.024 GB, free: 13.64 MB / 0.7794 GB Notification: Performance of matching and sorting (n=7): time 0.0002271/0.7706, allocations: 105.6 kB / 1.024 GB, free: 13.53 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.304e-05/0.7707, allocations: 51.41 kB / 1.024 GB, free: 13.47 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.112e-05/0.7707, allocations: 114 kB / 1.024 GB, free: 13.34 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 3.522e-05/0.7708, allocations: 37.69 kB / 1.024 GB, free: 13.3 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 9.139e-05/0.7709, allocations: 96.23 kB / 1.024 GB, free: 13.2 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 1.509e-05/0.7709, allocations: 7.891 kB / 1.024 GB, free: 13.2 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.081e-05/0.7709, allocations: 12 kB / 1.024 GB, free: 13.18 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001498/0.7711, allocations: 318.8 kB / 1.025 GB, free: 12.86 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000119/0.7712, allocations: 55.97 kB / 1.025 GB, free: 12.81 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001493/0.7714, allocations: 100.2 kB / 1.025 GB, free: 12.7 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001399/0.7715, allocations: 115.8 kB / 1.025 GB, free: 12.57 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.388e-06/0.7715, allocations: 3.953 kB / 1.025 GB, free: 12.57 MB / 0.7794 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0003973/0.7719, allocations: 264.7 kB / 1.025 GB, free: 12.29 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 6.253e-05/0.772, allocations: 67.39 kB / 1.025 GB, free: 12.21 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.139e-06/0.772, allocations: 4 kB / 1.025 GB, free: 12.21 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.154e-05/0.772, allocations: 0 / 1.025 GB, free: 12.21 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.939e-05/0.7721, allocations: 4 kB / 1.025 GB, free: 12.2 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.089e-05/0.7721, allocations: 3.938 kB / 1.025 GB, free: 12.2 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004049/0.7725, allocations: 83.91 kB / 1.025 GB, free: 12.12 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.041e-05/0.7725, allocations: 15.98 kB / 1.025 GB, free: 12.1 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,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): 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.0001194/0.7727, allocations: 117.8 kB / 1.026 GB, free: 11.98 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.561e-05/0.7727, allocations: 11.94 kB / 1.026 GB, free: 11.96 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.77e-05/0.7727, allocations: 8.375 kB / 1.026 GB, free: 11.95 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.644e-06/0.7727, allocations: 4 kB / 1.026 GB, free: 11.95 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.178e-06/0.7727, allocations: 0 / 1.026 GB, free: 11.95 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.025e-06/0.7727, allocations: 0 / 1.026 GB, free: 11.95 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001463/0.7729, allocations: 173.6 kB / 1.026 GB, free: 11.73 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.523e-06/0.7729, allocations: 0 / 1.026 GB, free: 11.73 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.144e-05/0.7729, allocations: 11.95 kB / 1.026 GB, free: 11.72 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.543e-06/0.7729, allocations: 0 / 1.026 GB, free: 11.72 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.055e-06/0.7729, allocations: 4 kB / 1.026 GB, free: 11.71 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.182e-06/0.7729, allocations: 0 / 1.026 GB, free: 11.71 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.454e-06/0.7729, allocations: 4.062 kB / 1.026 GB, free: 11.71 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001456/0.7731, allocations: 116.9 kB / 1.026 GB, free: 11.58 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 4.528e-05/0.7731, allocations: 81.02 kB / 1.026 GB, free: 11.48 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.933e-05/0.7732, allocations: 7.953 kB / 1.026 GB, free: 11.47 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.257e-05/0.7732, allocations: 7.984 kB / 1.026 GB, free: 11.46 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.908e-05/0.7733, allocations: 11.98 kB / 1.026 GB, free: 11.45 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.531e-06/0.7733, allocations: 0 / 1.026 GB, free: 11.45 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 5.052e-05/0.7733, allocations: 95.2 kB / 1.026 GB, free: 11.36 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.3e-07/0.7733, allocations: 0 / 1.026 GB, free: 11.36 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002226/0.7736, allocations: 28 kB / 1.026 GB, free: 11.33 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,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.0001681/0.7737, allocations: 111.2 kB / 1.026 GB, free: 11.21 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0003427/0.7741, allocations: 246.7 kB / 1.026 GB, free: 10.95 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 3.096e-06/0.7741, allocations: 4 kB / 1.026 GB, free: 10.95 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 4.749e-05/0.7741, allocations: 27.92 kB / 1.026 GB, free: 10.92 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001834/0.7743, allocations: 15.92 kB / 1.026 GB, free: 10.9 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003234/0.7747, allocations: 171.5 kB / 1.027 GB, free: 10.71 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000285/0.775, allocations: 0.6887 MB / 1.027 GB, free: 9.996 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 2.693e-05/0.775, allocations: 7.984 kB / 1.027 GB, free: 9.988 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.875e-05/0.775, allocations: 11.44 kB / 1.027 GB, free: 9.977 MB / 0.7794 GB Notification: Performance of SimCode: time 2.61e-07/0.775, allocations: 0 / 1.027 GB, free: 9.977 MB / 0.7794 GB Notification: Performance of Templates: time 0.004032/0.7791, allocations: 1.696 MB / 1.029 GB, free: 8.305 MB / 0.7794 GB make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Xor.makefile (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Xor.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Xor.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Xor.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Xor.sim & ./Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Xor -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Xor.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Xor_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Logical_Validation_Xor.csv","../files/Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Xor.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches