Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/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: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Logical.Validation.Xor,fileNamePrefix="Buildings_10_Buildings_Controls_OBC_CDL_Logical_Validation_Xor",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Logical.Validation.Xor,fileNamePrefix="Buildings_10_Buildings_Controls_OBC_CDL_Logical_Validation_Xor",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0103/0.0103, allocations: 100.8 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.001557/0.001557, allocations: 189.4 kB / 16.67 MB, free: 5.934 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 2.525/2.525, allocations: 222.9 MB / 240.4 MB, free: 4.316 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 4.931/4.931, allocations: 437 MB / 0.7105 GB, free: 5.012 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.003019/0.003019, allocations: 63.89 kB / 1.018 GB, free: 15.08 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6496/0.6527, allocations: 151.6 MB / 1.166 GB, free: 7.34 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.Xor): time 0.003027/0.6558, allocations: 0.6543 MB / 1.167 GB, free: 6.684 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.002578/0.6584, allocations: 1.187 MB / 1.168 GB, free: 5.48 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.714e-05/0.6585, allocations: 4 kB / 1.168 GB, free: 5.477 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 5.547e-05/0.6586, allocations: 3.938 kB / 1.168 GB, free: 5.473 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 0.0001165/0.6588, allocations: 15.86 kB / 1.168 GB, free: 5.457 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.001314/0.6601, allocations: 216.2 kB / 1.168 GB, free: 5.25 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.0004829/0.6606, allocations: 187.8 kB / 1.168 GB, free: 5.066 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001896/0.6608, allocations: 7.984 kB / 1.168 GB, free: 5.059 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001691/0.661, allocations: 71.88 kB / 1.168 GB, free: 4.988 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002454/0.6612, allocations: 63.8 kB / 1.169 GB, free: 4.926 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 5.578e-05/0.6613, allocations: 16 kB / 1.169 GB, free: 4.91 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001556/0.6615, allocations: 35.92 kB / 1.169 GB, free: 4.875 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 4.315e-05/0.6615, allocations: 19.91 kB / 1.169 GB, free: 4.855 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 0.0001395/0.6617, allocations: 51.83 kB / 1.169 GB, free: 4.805 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.0004302/0.6621, allocations: 151.9 kB / 1.169 GB, free: 4.656 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 8.596e-06/0.6621, allocations: 0 / 1.169 GB, free: 4.656 MB / 0.92 GB Notification: Performance of FrontEnd: time 1.983e-06/0.6621, allocations: 0 / 1.169 GB, free: 4.656 MB / 0.92 GB Notification: Performance of Transformations before backend: time 1.166e-05/0.6622, allocations: 0 / 1.169 GB, free: 4.656 MB / 0.92 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.00111/0.6633, allocations: 438.7 kB / 1.169 GB, free: 4.164 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 8.582e-05/0.6634, allocations: 8.031 kB / 1.169 GB, free: 4.156 MB / 0.92 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.451e-05/0.6635, allocations: 34.75 kB / 1.169 GB, free: 4.113 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.547e-05/0.6636, allocations: 16.89 kB / 1.169 GB, free: 4.098 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002293/0.6638, allocations: 176.3 kB / 1.169 GB, free: 3.887 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.947e-05/0.6639, allocations: 4.375 kB / 1.169 GB, free: 3.883 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.34e-05/0.6639, allocations: 8.375 kB / 1.169 GB, free: 3.875 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002083/0.6641, allocations: 58.17 kB / 1.17 GB, free: 3.812 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.688e-05/0.6642, allocations: 3.938 kB / 1.17 GB, free: 3.809 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.685e-05/0.6642, allocations: 0 / 1.17 GB, free: 3.809 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.123e-06/0.6642, allocations: 3.938 kB / 1.17 GB, free: 3.805 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.422e-05/0.6643, allocations: 12 kB / 1.17 GB, free: 3.793 MB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000839/0.6651, allocations: 360.7 kB / 1.17 GB, free: 3.391 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001337/0.6653, allocations: 38.5 kB / 1.17 GB, free: 3.344 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.355e-05/0.6653, allocations: 16.94 kB / 1.17 GB, free: 3.324 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 1.645e-05/0.6654, allocations: 0 / 1.17 GB, free: 3.324 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002597/0.6656, allocations: 91.34 kB / 1.17 GB, free: 3.223 MB / 0.92 GB Notification: Performance of pre-optimization done (n=7): time 1.783e-06/0.6657, allocations: 0 / 1.17 GB, free: 3.223 MB / 0.92 GB Notification: Performance of matching and sorting (n=7): time 0.0004154/0.6661, allocations: 105.6 kB / 1.17 GB, free: 3.113 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.814e-05/0.6662, allocations: 55.41 kB / 1.17 GB, free: 3.047 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000155/0.6663, allocations: 121.8 kB / 1.17 GB, free: 2.918 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 4.967e-05/0.6664, allocations: 29.7 kB / 1.17 GB, free: 2.883 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001118/0.6665, allocations: 92.09 kB / 1.17 GB, free: 2.789 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 3.566e-05/0.6666, allocations: 23.83 kB / 1.17 GB, free: 2.766 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001491/0.6667, allocations: 53.69 kB / 1.17 GB, free: 2.707 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0002132/0.6669, allocations: 326.8 kB / 1.171 GB, free: 2.379 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002097/0.6672, allocations: 59.97 kB / 1.171 GB, free: 2.32 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002396/0.6674, allocations: 92.25 kB / 1.171 GB, free: 2.215 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003084/0.6677, allocations: 155.6 kB / 1.171 GB, free: 2.035 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.234e-06/0.6678, allocations: 3.984 kB / 1.171 GB, free: 2.031 MB / 0.92 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0006954/0.6685, allocations: 252.9 kB / 1.171 GB, free: 1.766 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 9.541e-05/0.6686, allocations: 75.33 kB / 1.171 GB, free: 1.68 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.253e-06/0.6686, allocations: 0 / 1.171 GB, free: 1.68 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.399e-05/0.6686, allocations: 4 kB / 1.171 GB, free: 1.676 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.236e-05/0.6687, allocations: 3.984 kB / 1.171 GB, free: 1.672 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.069e-05/0.6687, allocations: 8.438 kB / 1.171 GB, free: 1.664 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005282/0.6692, allocations: 51.89 kB / 1.171 GB, free: 1.613 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.579e-05/0.6693, allocations: 15.98 kB / 1.171 GB, free: 1.598 MB / 0.92 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.0001735/0.6695, allocations: 121.8 kB / 1.172 GB, free: 1.469 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.597e-05/0.6695, allocations: 7.953 kB / 1.172 GB, free: 1.461 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.42e-05/0.6696, allocations: 12.84 kB / 1.172 GB, free: 1.445 MB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.612e-06/0.6696, allocations: 0 / 1.172 GB, free: 1.445 MB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.07e-05/0.6696, allocations: 3.938 kB / 1.172 GB, free: 1.441 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.861e-06/0.6696, allocations: 3.938 kB / 1.172 GB, free: 1.438 MB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002579/0.6699, allocations: 177.6 kB / 1.172 GB, free: 1.215 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.779e-06/0.6699, allocations: 8 kB / 1.172 GB, free: 1.207 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.489e-05/0.6699, allocations: 4 kB / 1.172 GB, free: 1.203 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.465e-06/0.6699, allocations: 0 / 1.172 GB, free: 1.203 MB / 0.92 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.945e-05/0.67, allocations: 4 kB / 1.172 GB, free: 1.199 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.689e-06/0.67, allocations: 3.984 kB / 1.172 GB, free: 1.195 MB / 0.92 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.394e-06/0.67, allocations: 3.984 kB / 1.172 GB, free: 1.191 MB / 0.92 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000264/0.6703, allocations: 117 kB / 1.172 GB, free: 1.059 MB / 0.92 GB Notification: Performance of postOpt removeConstants (simulation): time 9.234e-05/0.6704, allocations: 89.03 kB / 1.172 GB, free: 0.9531 MB / 0.92 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.603e-05/0.6704, allocations: 0 / 1.172 GB, free: 0.9531 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.397e-05/0.6705, allocations: 0 / 1.172 GB, free: 0.9531 MB / 0.92 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.902e-05/0.6706, allocations: 11.98 kB / 1.172 GB, free: 0.9414 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.099e-05/0.6706, allocations: 4 kB / 1.172 GB, free: 0.9375 MB / 0.92 GB Notification: Performance of sorting global known variables: time 9.34e-05/0.6707, allocations: 91.22 kB / 1.172 GB, free: 0.8477 MB / 0.92 GB Notification: Performance of sort global known variables: time 2.1e-07/0.6707, allocations: 4 kB / 1.172 GB, free: 0.8438 MB / 0.92 GB Notification: Performance of remove unused functions: time 0.0004364/0.6711, allocations: 31.98 kB / 1.172 GB, free: 0.8125 MB / 0.92 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.000847/0.672, allocations: 0.6475 MB / 1.173 GB, free: 140 kB / 0.92 GB Notification: Performance of simCode: created initialization part: time 0.0006454/0.6727, allocations: 242.7 kB / 1.173 GB, free: 15.88 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 3.136e-06/0.6727, allocations: 4.25 kB / 1.173 GB, free: 15.87 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 9.114e-05/0.6728, allocations: 35.91 kB / 1.173 GB, free: 15.84 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004399/0.6732, allocations: 15.98 kB / 1.173 GB, free: 15.82 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003471/0.6767, allocations: 1.714 MB / 1.175 GB, free: 13.99 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000479/0.6773, allocations: 0.6923 MB / 1.175 GB, free: 13.27 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 5.827e-05/0.6773, allocations: 4 kB / 1.175 GB, free: 13.27 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.493e-05/0.6774, allocations: 23.42 kB / 1.175 GB, free: 13.24 MB / 0.9356 GB Notification: Performance of SimCode: time 9.52e-07/0.6774, allocations: 0 / 1.175 GB, free: 13.24 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05688/0.7343, allocations: 2.888 MB / 1.178 GB, free: 10.46 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.24/14.97, allocations: 18.3 kB / 1.178 GB, free: 10.44 MB / 0.9356 GB (rm -f Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.Xor.pipe ; mkfifo Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.Xor.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.Xor.pipe >> ../files/Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.Xor.sim & python3 -m fmpy simulate --output-file Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.Xor_res.csv --start-time 0 --stop-time 5 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.002 Buildings_10_Buildings_Controls_OBC_CDL_Logical_Validation_Xor.fmu > Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.Xor.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.Xor_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_OBC_CDL_Logical_Validation_Xor.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.Xor.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches