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.01078/0.01078, allocations: 105.9 kB / 15.73 MB, free: 6 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.002228/0.002228, allocations: 189 kB / 16.67 MB, free: 5.926 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.701/1.701, allocations: 222.9 MB / 240.3 MB, free: 15.1 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.9/2.9, allocations: 461.9 MB / 0.7348 GB, free: 11.12 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001307/0.001307, allocations: 67.89 kB / 1.054 GB, free: 7.734 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.063/1.065, allocations: 157.4 MB / 1.208 GB, free: 13.66 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.Xor): time 0.002098/1.067, allocations: 0.6534 MB / 1.208 GB, free: 13.01 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.001681/1.069, allocations: 1.19 MB / 1.21 GB, free: 11.81 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.452e-05/1.069, allocations: 4 kB / 1.21 GB, free: 11.8 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 3.708e-05/1.069, allocations: 3.938 kB / 1.21 GB, free: 11.8 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 8.127e-05/1.069, allocations: 11.86 kB / 1.21 GB, free: 11.79 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.000752/1.07, allocations: 211 kB / 1.21 GB, free: 11.59 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.0002841/1.07, allocations: 191.7 kB / 1.21 GB, free: 11.4 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001067/1.07, allocations: 11.98 kB / 1.21 GB, free: 11.39 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000103/1.07, allocations: 59.95 kB / 1.21 GB, free: 11.33 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001513/1.07, allocations: 75.77 kB / 1.21 GB, free: 11.25 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 3.065e-05/1.07, allocations: 12 kB / 1.21 GB, free: 11.24 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001038/1.07, allocations: 35.92 kB / 1.21 GB, free: 11.21 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 2.237e-05/1.07, allocations: 7.984 kB / 1.21 GB, free: 11.2 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 9.001e-05/1.071, allocations: 55.83 kB / 1.21 GB, free: 11.14 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.0002184/1.071, allocations: 151.7 kB / 1.21 GB, free: 11 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 4.91e-06/1.071, allocations: 0 / 1.21 GB, free: 11 MB / 0.9356 GB Notification: Performance of FrontEnd: time 1.553e-06/1.071, allocations: 0 / 1.21 GB, free: 11 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 6.202e-06/1.071, allocations: 0 / 1.21 GB, free: 11 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.0005591/1.071, allocations: 440.4 kB / 1.211 GB, free: 10.51 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 5.302e-05/1.071, allocations: 8.031 kB / 1.211 GB, free: 10.5 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.998e-05/1.071, allocations: 12.84 kB / 1.211 GB, free: 10.49 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001395/1.072, allocations: 176.2 kB / 1.211 GB, free: 10.28 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.137e-05/1.072, allocations: 4.375 kB / 1.211 GB, free: 10.27 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.567e-05/1.072, allocations: 8.375 kB / 1.211 GB, free: 10.27 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001426/1.072, allocations: 58.17 kB / 1.211 GB, free: 10.2 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.916e-06/1.072, allocations: 192 / 1.211 GB, free: 10.2 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.516e-05/1.072, allocations: 7.938 kB / 1.211 GB, free: 10.2 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.861e-06/1.072, allocations: 0 / 1.211 GB, free: 10.2 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.375e-05/1.072, allocations: 15.98 kB / 1.211 GB, free: 10.18 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005997/1.073, allocations: 352.7 kB / 1.211 GB, free: 9.785 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001018/1.073, allocations: 34.52 kB / 1.211 GB, free: 9.742 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.848e-05/1.073, allocations: 28.88 kB / 1.211 GB, free: 9.711 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 1.434e-05/1.073, allocations: 0 / 1.211 GB, free: 9.711 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002247/1.073, allocations: 79.38 kB / 1.212 GB, free: 9.621 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=7): time 1.353e-06/1.073, allocations: 0 / 1.212 GB, free: 9.621 MB / 0.9356 GB Notification: Performance of matching and sorting (n=7): time 0.0002876/1.073, allocations: 105.6 kB / 1.212 GB, free: 9.512 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.402e-05/1.073, allocations: 63.33 kB / 1.212 GB, free: 9.438 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001055/1.073, allocations: 117.8 kB / 1.212 GB, free: 9.312 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 3.311e-05/1.073, allocations: 33.7 kB / 1.212 GB, free: 9.273 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 7.272e-05/1.074, allocations: 92.05 kB / 1.212 GB, free: 9.18 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 1.716e-05/1.074, allocations: 11.89 kB / 1.212 GB, free: 9.168 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001045/1.074, allocations: 45.69 kB / 1.212 GB, free: 9.117 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001331/1.074, allocations: 322.8 kB / 1.212 GB, free: 8.793 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001343/1.074, allocations: 63.95 kB / 1.212 GB, free: 8.73 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001505/1.074, allocations: 89.77 kB / 1.212 GB, free: 8.629 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002005/1.074, allocations: 160.1 kB / 1.213 GB, free: 8.445 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.178e-06/1.074, allocations: 7.938 kB / 1.213 GB, free: 8.438 MB / 0.9356 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0004296/1.075, allocations: 260.8 kB / 1.213 GB, free: 8.164 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 6.815e-05/1.075, allocations: 67.39 kB / 1.213 GB, free: 8.086 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.846e-06/1.075, allocations: 4 kB / 1.213 GB, free: 8.082 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.167e-05/1.075, allocations: 3.984 kB / 1.213 GB, free: 8.078 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.27e-05/1.075, allocations: 11.88 kB / 1.213 GB, free: 8.066 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.346e-06/1.075, allocations: 0 / 1.213 GB, free: 8.066 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003314/1.075, allocations: 63.91 kB / 1.213 GB, free: 8.004 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.406e-05/1.075, allocations: 11.98 kB / 1.213 GB, free: 7.992 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 0.0001425/1.075, allocations: 127.2 kB / 1.213 GB, free: 7.859 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.057e-05/1.075, allocations: 0 / 1.213 GB, free: 7.859 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.512e-05/1.076, allocations: 12.38 kB / 1.213 GB, free: 7.844 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.288e-06/1.076, allocations: 3.984 kB / 1.213 GB, free: 7.84 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.3e-06/1.076, allocations: 0 / 1.213 GB, free: 7.84 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.406e-06/1.076, allocations: 0 / 1.213 GB, free: 7.84 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001546/1.076, allocations: 185.5 kB / 1.213 GB, free: 7.609 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.052e-06/1.076, allocations: 7.938 kB / 1.213 GB, free: 7.602 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.01e-05/1.076, allocations: 3.984 kB / 1.213 GB, free: 7.598 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.787e-06/1.076, allocations: 4 kB / 1.213 GB, free: 7.594 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.032e-05/1.076, allocations: 0 / 1.213 GB, free: 7.594 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.683e-06/1.076, allocations: 0 / 1.213 GB, free: 7.594 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.71e-07/1.076, allocations: 0 / 1.213 GB, free: 7.594 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001524/1.076, allocations: 109 kB / 1.213 GB, free: 7.469 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 4.494e-05/1.076, allocations: 81.02 kB / 1.213 GB, free: 7.371 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.583e-05/1.076, allocations: 4 kB / 1.213 GB, free: 7.367 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.957e-05/1.076, allocations: 4 kB / 1.213 GB, free: 7.363 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.789e-05/1.076, allocations: 11.98 kB / 1.213 GB, free: 7.352 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.654e-06/1.076, allocations: 4 kB / 1.214 GB, free: 7.348 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 5.392e-05/1.076, allocations: 99.14 kB / 1.214 GB, free: 7.25 MB / 0.9356 GB Notification: Performance of sort global known variables: time 2.9e-07/1.076, allocations: 0 / 1.214 GB, free: 7.25 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.000232/1.076, allocations: 24 kB / 1.214 GB, free: 7.227 MB / 0.9356 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001838/1.077, allocations: 115.2 kB / 1.214 GB, free: 7.105 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0003729/1.077, allocations: 259.1 kB / 1.214 GB, free: 6.828 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 1.853e-06/1.077, allocations: 0 / 1.214 GB, free: 6.828 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 5.044e-05/1.077, allocations: 23.98 kB / 1.214 GB, free: 6.805 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002352/1.077, allocations: 21.83 kB / 1.214 GB, free: 6.785 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003412/1.078, allocations: 162.6 kB / 1.214 GB, free: 6.598 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002559/1.078, allocations: 0.6926 MB / 1.215 GB, free: 5.879 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 2.622e-05/1.078, allocations: 7.938 kB / 1.215 GB, free: 5.871 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.08e-05/1.078, allocations: 7.438 kB / 1.215 GB, free: 5.863 MB / 0.9356 GB Notification: Performance of SimCode: time 2.41e-07/1.078, allocations: 4 kB / 1.215 GB, free: 5.859 MB / 0.9356 GB Notification: Performance of Templates: time 0.004505/1.082, allocations: 1.853 MB / 1.217 GB, free: 4.031 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/jenkins/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