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.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-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.00271/0.002709, allocations: 110.5 kB / 16.41 MB, free: 6.492 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.003459/0.00346, allocations: 187.9 kB / 17.34 MB, free: 5.738 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.615/1.615, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.944/2.944, allocations: 461.9 MB / 0.7354 GB, free: 11.05 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001473/0.001474, allocations: 71.88 kB / 1.055 GB, free: 7.664 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8287/0.8302, allocations: 157.4 MB / 1.208 GB, free: 13.6 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.Xor): time 0.001556/0.8318, allocations: 0.6537 MB / 1.209 GB, free: 12.95 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.001263/0.8331, allocations: 1.197 MB / 1.21 GB, free: 11.74 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.518e-05/0.8331, allocations: 0 / 1.21 GB, free: 11.74 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 3.032e-05/0.8332, allocations: 11.92 kB / 1.21 GB, free: 11.73 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 7.318e-05/0.8333, allocations: 7.938 kB / 1.21 GB, free: 11.72 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005902/0.8339, allocations: 210.8 kB / 1.21 GB, free: 11.52 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.0002186/0.8341, allocations: 195.7 kB / 1.211 GB, free: 11.33 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 8.304e-05/0.8342, allocations: 12 kB / 1.211 GB, free: 11.32 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001021/0.8343, allocations: 63.89 kB / 1.211 GB, free: 11.26 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001235/0.8344, allocations: 75.7 kB / 1.211 GB, free: 11.18 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 2.859e-05/0.8344, allocations: 16 kB / 1.211 GB, free: 11.17 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 7.37e-05/0.8345, allocations: 27.98 kB / 1.211 GB, free: 11.14 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 1.633e-05/0.8345, allocations: 4 kB / 1.211 GB, free: 11.14 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 7.679e-05/0.8346, allocations: 63.81 kB / 1.211 GB, free: 11.07 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.0001801/0.8348, allocations: 147.6 kB / 1.211 GB, free: 10.93 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 3.506e-06/0.8348, allocations: 0 / 1.211 GB, free: 10.93 MB / 0.9356 GB Notification: Performance of FrontEnd: time 1.503e-06/0.8348, allocations: 0 / 1.211 GB, free: 10.93 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 4.378e-06/0.8348, allocations: 0 / 1.211 GB, free: 10.93 MB / 0.9356 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.0004354/0.8353, allocations: 432.5 kB / 1.211 GB, free: 10.45 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 3.662e-05/0.8353, allocations: 15.97 kB / 1.211 GB, free: 10.43 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.836e-05/0.8354, allocations: 16.83 kB / 1.211 GB, free: 10.42 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.53e-05/0.8355, allocations: 172.3 kB / 1.212 GB, free: 10.21 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.37e-05/0.8355, allocations: 4.375 kB / 1.212 GB, free: 10.21 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.51e-05/0.8355, allocations: 12.38 kB / 1.212 GB, free: 10.2 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.376e-05/0.8356, allocations: 50.23 kB / 1.212 GB, free: 10.14 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.971e-06/0.8357, allocations: 192 / 1.212 GB, free: 10.14 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.578e-06/0.8357, allocations: 3.938 kB / 1.212 GB, free: 10.14 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.626e-06/0.8357, allocations: 4 kB / 1.212 GB, free: 10.13 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.77e-05/0.8357, allocations: 16 kB / 1.212 GB, free: 10.12 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000396/0.8361, allocations: 356.6 kB / 1.212 GB, free: 9.719 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 6.606e-05/0.8362, allocations: 38.52 kB / 1.212 GB, free: 9.672 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.593e-05/0.8362, allocations: 16.94 kB / 1.212 GB, free: 9.652 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 1.082e-05/0.8362, allocations: 4 kB / 1.212 GB, free: 9.648 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001254/0.8364, allocations: 79.38 kB / 1.212 GB, free: 9.559 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=7): time 1.422e-06/0.8364, allocations: 0 / 1.212 GB, free: 9.559 MB / 0.9356 GB Notification: Performance of matching and sorting (n=7): time 0.0002156/0.8366, allocations: 109.5 kB / 1.212 GB, free: 9.445 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.531e-05/0.8366, allocations: 51.41 kB / 1.212 GB, free: 9.383 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.119e-05/0.8367, allocations: 118.1 kB / 1.212 GB, free: 9.258 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 2.826e-05/0.8368, allocations: 33.7 kB / 1.212 GB, free: 9.219 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 5.032e-05/0.8368, allocations: 92.05 kB / 1.213 GB, free: 9.125 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 1.29e-05/0.8368, allocations: 12 kB / 1.213 GB, free: 9.113 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.621e-05/0.8369, allocations: 53.62 kB / 1.213 GB, free: 9.055 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 8.63e-05/0.837, allocations: 322.8 kB / 1.213 GB, free: 8.73 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000113/0.8371, allocations: 59.97 kB / 1.213 GB, free: 8.672 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001442/0.8373, allocations: 96.19 kB / 1.213 GB, free: 8.562 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001591/0.8375, allocations: 159.6 kB / 1.213 GB, free: 8.379 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.033e-06/0.8375, allocations: 0 / 1.213 GB, free: 8.379 MB / 0.9356 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0003611/0.8378, allocations: 268.8 kB / 1.214 GB, free: 8.098 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 4.655e-05/0.8379, allocations: 63.41 kB / 1.214 GB, free: 8.023 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.729e-06/0.8379, allocations: 128 / 1.214 GB, free: 8.023 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.471e-05/0.8379, allocations: 11.98 kB / 1.214 GB, free: 8.012 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.875e-05/0.8379, allocations: 0 / 1.214 GB, free: 8.012 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.242e-06/0.8379, allocations: 7.938 kB / 1.214 GB, free: 8.004 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002979/0.8382, allocations: 59.78 kB / 1.214 GB, free: 7.945 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.601e-05/0.8383, allocations: 12.3 kB / 1.214 GB, free: 7.934 MB / 0.9356 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,xor1.y,booPul2.y,$PRE.booPul2.y,booPul1.y,$PRE.booPul1.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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.791e-05/0.8384, allocations: 129.7 kB / 1.214 GB, free: 7.797 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.24e-05/0.8384, allocations: 4 kB / 1.214 GB, free: 7.793 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.346e-05/0.8384, allocations: 8.375 kB / 1.214 GB, free: 7.781 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.926e-06/0.8384, allocations: 0 / 1.214 GB, free: 7.781 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.132e-06/0.8384, allocations: 0 / 1.214 GB, free: 7.781 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 3.313e-05/0.8385, allocations: 92.98 kB / 1.214 GB, free: 7.672 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.387e-05/0.8385, allocations: 64 / 1.214 GB, free: 7.672 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.182e-05/0.8385, allocations: 7.938 kB / 1.214 GB, free: 7.664 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.712e-05/0.8386, allocations: 11.98 kB / 1.214 GB, free: 7.652 MB / 0.9356 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0001315/0.8387, allocations: 164.9 kB / 1.214 GB, free: 7.484 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0001514/0.8389, allocations: 258.6 kB / 1.214 GB, free: 7.215 MB / 0.9356 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 3.914e-05/0.8389, allocations: 28.08 kB / 1.214 GB, free: 7.188 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 4.044e-05/0.8389, allocations: 91.22 kB / 1.214 GB, free: 7.098 MB / 0.9356 GB Notification: Performance of Backend: time 5.31e-07/0.839, allocations: 0 / 1.214 GB, free: 7.098 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.00055/0.8395, allocations: 311 kB / 1.215 GB, free: 6.766 MB / 0.9356 GB Notification: Performance of SimCode: time 0.0004486/0.84, allocations: 0.6045 MB / 1.215 GB, free: 6.113 MB / 0.9356 GB Notification: Performance of Templates: time 0.2139/1.054, allocations: 1.97 MB / 1.217 GB, free: 4.172 MB / 0.9356 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","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Xor.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches