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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.000815/0.000815, allocations: 80.44 kB / 19.17 MB, free: 0.7422 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.0008838/0.0008838, allocations: 169.9 kB / 22.46 MB, free: 2.105 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.875/0.875, allocations: 177.1 MB / 202.8 MB, free: 5.727 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 1.779/1.779, allocations: 389 MB / 0.633 GB, free: 12.68 MB / 0.6042 GB " [Timeout remaining time 178] Using package Buildings with version 13.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Logical.Validation.Xor,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_CDL_Logical_Validation_Xor",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Logical.Validation.Xor,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_CDL_Logical_Validation_Xor",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.625e-06/2.625e-06, allocations: 7.938 kB / 0.9997 GB, free: 12.38 MB / 0.9167 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.485e-05/1.747e-05, allocations: 6.219 kB / 0.9997 GB, free: 12.37 MB / 0.9167 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.Xor): time 0.001088/0.001105, allocations: 0.6374 MB / 1 GB, free: 11.73 MB / 0.9167 GB Notification: Performance of NFInst.instExpressions: time 0.001308/0.002413, allocations: 1.214 MB / 1.001 GB, free: 10.51 MB / 0.9167 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.49e-05/0.002448, allocations: 4 kB / 1.001 GB, free: 10.5 MB / 0.9167 GB Notification: Performance of NFTyping.typeComponents: time 2.434e-05/0.002472, allocations: 3.938 kB / 1.001 GB, free: 10.5 MB / 0.9167 GB Notification: Performance of NFTyping.typeBindings: time 5.908e-05/0.002531, allocations: 11.88 kB / 1.002 GB, free: 10.49 MB / 0.9167 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004367/0.002968, allocations: 213.9 kB / 1.002 GB, free: 10.29 MB / 0.9167 GB Notification: Performance of NFFlatten.flatten: time 0.000159/0.003127, allocations: 183.6 kB / 1.002 GB, free: 10.11 MB / 0.9167 GB Notification: Performance of NFFlatten.resolveConnections: time 8.319e-05/0.00321, allocations: 11.98 kB / 1.002 GB, free: 10.09 MB / 0.9167 GB Notification: Performance of NFEvalConstants.evaluate: time 9.912e-05/0.003309, allocations: 95.92 kB / 1.002 GB, free: 10 MB / 0.9167 GB Notification: Performance of NFSimplifyModel.simplify: time 9.493e-05/0.003404, allocations: 51.84 kB / 1.002 GB, free: 9.949 MB / 0.9167 GB Notification: Performance of NFPackage.collectConstants: time 2.346e-05/0.003428, allocations: 16 kB / 1.002 GB, free: 9.934 MB / 0.9167 GB Notification: Performance of NFFlatten.collectFunctions: time 5.58e-05/0.003483, allocations: 27.98 kB / 1.002 GB, free: 9.906 MB / 0.9167 GB Notification: Performance of NFScalarize.scalarize: time 2.042e-05/0.003504, allocations: 8 kB / 1.002 GB, free: 9.898 MB / 0.9167 GB Notification: Performance of NFVerifyModel.verify: time 5.556e-05/0.003559, allocations: 55.88 kB / 1.002 GB, free: 9.844 MB / 0.9167 GB Notification: Performance of NFConvertDAE.convert: time 0.0001831/0.003742, allocations: 179.6 kB / 1.002 GB, free: 9.668 MB / 0.9167 GB Notification: Performance of FrontEnd - DAE generated: time 1.964e-06/0.003744, allocations: 0 / 1.002 GB, free: 9.668 MB / 0.9167 GB Notification: Performance of FrontEnd: time 1.423e-06/0.003746, allocations: 0 / 1.002 GB, free: 9.668 MB / 0.9167 GB Notification: Performance of Transformations before backend: time 3.817e-06/0.00375, allocations: 0 / 1.002 GB, free: 9.668 MB / 0.9167 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.0004264/0.004176, allocations: 357.5 kB / 1.003 GB, free: 9.273 MB / 0.9167 GB Notification: Performance of prepare preOptimizeDAE: time 3.994e-05/0.004216, allocations: 20.69 kB / 1.003 GB, free: 9.254 MB / 0.9167 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.593e-05/0.004242, allocations: 34.75 kB / 1.003 GB, free: 9.211 MB / 0.9167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.842e-05/0.00428, allocations: 12.89 kB / 1.003 GB, free: 9.199 MB / 0.9167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.874e-05/0.004359, allocations: 117.7 kB / 1.003 GB, free: 9.059 MB / 0.9167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.211e-05/0.004371, allocations: 4.375 kB / 1.003 GB, free: 9.055 MB / 0.9167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.971e-05/0.004391, allocations: 8.375 kB / 1.003 GB, free: 9.047 MB / 0.9167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.824e-05/0.004489, allocations: 54.23 kB / 1.003 GB, free: 8.988 MB / 0.9167 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.424e-06/0.004497, allocations: 4.172 kB / 1.003 GB, free: 8.984 MB / 0.9167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.116e-06/0.004505, allocations: 384 / 1.003 GB, free: 8.984 MB / 0.9167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.08e-06/0.00451, allocations: 4.125 kB / 1.003 GB, free: 8.98 MB / 0.9167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.568e-05/0.004545, allocations: 15.98 kB / 1.003 GB, free: 8.965 MB / 0.9167 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003603/0.004906, allocations: 303.9 kB / 1.003 GB, free: 8.625 MB / 0.9167 GB Notification: Performance of preOpt comSubExp (simulation): time 6.687e-05/0.004973, allocations: 38.56 kB / 1.003 GB, free: 8.578 MB / 0.9167 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.08e-05/0.004993, allocations: 16.8 kB / 1.003 GB, free: 8.559 MB / 0.9167 GB Notification: Performance of preOpt evalFunc (simulation): time 8.215e-06/0.005002, allocations: 3.938 kB / 1.003 GB, free: 8.555 MB / 0.9167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001228/0.005124, allocations: 87.39 kB / 1.003 GB, free: 8.457 MB / 0.9167 GB Notification: Performance of pre-optimization done (n=7): time 1.021e-06/0.005125, allocations: 0 / 1.003 GB, free: 8.457 MB / 0.9167 GB Notification: Performance of matching and sorting (n=7): time 0.0001869/0.005312, allocations: 105.6 kB / 1.003 GB, free: 8.348 MB / 0.9167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.216e-05/0.005345, allocations: 55.41 kB / 1.003 GB, free: 8.281 MB / 0.9167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.495e-05/0.005409, allocations: 117.8 kB / 1.004 GB, free: 8.156 MB / 0.9167 GB Notification: Performance of collectPreVariables (initialization): time 2.09e-05/0.00543, allocations: 33.7 kB / 1.004 GB, free: 8.117 MB / 0.9167 GB Notification: Performance of collectInitialEqns (initialization): time 4.437e-05/0.005475, allocations: 96.12 kB / 1.004 GB, free: 8.02 MB / 0.9167 GB Notification: Performance of collectInitialBindings (initialization): time 1.21e-05/0.005487, allocations: 11.91 kB / 1.004 GB, free: 8.008 MB / 0.9167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.987e-05/0.005547, allocations: 49.69 kB / 1.004 GB, free: 7.953 MB / 0.9167 GB Notification: Performance of setup shared object (initialization): time 6.873e-05/0.005615, allocations: 314.8 kB / 1.004 GB, free: 7.637 MB / 0.9167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001109/0.005726, allocations: 119.4 kB / 1.004 GB, free: 7.508 MB / 0.9167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001219/0.005848, allocations: 163.6 kB / 1.004 GB, free: 7.32 MB / 0.9167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001192/0.005967, allocations: 155.5 kB / 1.005 GB, free: 7.141 MB / 0.9167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.076e-06/0.005971, allocations: 7.938 kB / 1.005 GB, free: 7.133 MB / 0.9167 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002839/0.006254, allocations: 332.7 kB / 1.005 GB, free: 6.777 MB / 0.9167 GB Notification: Performance of prepare postOptimizeDAE: time 3.522e-05/0.00629, allocations: 63.39 kB / 1.005 GB, free: 6.703 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.701e-06/0.006295, allocations: 4 kB / 1.005 GB, free: 6.699 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.119e-05/0.006307, allocations: 0 / 1.005 GB, free: 6.699 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.658e-05/0.006323, allocations: 15.88 kB / 1.005 GB, free: 6.684 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.618e-06/0.006328, allocations: 0 / 1.005 GB, free: 6.684 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001828/0.006511, allocations: 52.06 kB / 1.005 GB, free: 6.633 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.628e-05/0.006537, allocations: 15.92 kB / 1.005 GB, free: 6.617 MB / 0.9167 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 6.91e-05/0.006606, allocations: 125.7 kB / 1.005 GB, free: 6.484 MB / 0.9167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.376e-06/0.006614, allocations: 11.95 kB / 1.005 GB, free: 6.473 MB / 0.9167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.067e-05/0.006635, allocations: 8.438 kB / 1.005 GB, free: 6.461 MB / 0.9167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.413e-06/0.006636, allocations: 0 / 1.005 GB, free: 6.461 MB / 0.9167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.28e-06/0.006642, allocations: 3.984 kB / 1.005 GB, free: 6.457 MB / 0.9167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.206e-06/0.006645, allocations: 0 / 1.005 GB, free: 6.457 MB / 0.9167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.126e-05/0.006726, allocations: 152.7 kB / 1.005 GB, free: 6.266 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.92e-07/0.006727, allocations: 0 / 1.005 GB, free: 6.266 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.729e-06/0.006737, allocations: 0 / 1.005 GB, free: 6.266 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.475e-06/0.006739, allocations: 4 kB / 1.005 GB, free: 6.262 MB / 0.9167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.674e-06/0.006747, allocations: 3.984 kB / 1.005 GB, free: 6.258 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.31e-07/0.006747, allocations: 0 / 1.005 GB, free: 6.258 MB / 0.9167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.21e-07/0.006748, allocations: 0 / 1.005 GB, free: 6.258 MB / 0.9167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.764e-05/0.006846, allocations: 117 kB / 1.005 GB, free: 6.125 MB / 0.9167 GB Notification: Performance of postOpt removeConstants (simulation): time 6.302e-06/0.006852, allocations: 7.953 kB / 1.005 GB, free: 6.117 MB / 0.9167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.248e-06/0.006861, allocations: 64 / 1.005 GB, free: 6.117 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.279e-05/0.006874, allocations: 8 kB / 1.005 GB, free: 6.109 MB / 0.9167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.465e-05/0.006909, allocations: 15.98 kB / 1.005 GB, free: 6.094 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.987e-06/0.006913, allocations: 0 / 1.005 GB, free: 6.094 MB / 0.9167 GB Notification: Performance of sorting global known variables: time 3.267e-05/0.006945, allocations: 91.27 kB / 1.006 GB, free: 6.004 MB / 0.9167 GB Notification: Performance of sort global known variables: time 6e-08/0.006945, allocations: 0 / 1.006 GB, free: 6.004 MB / 0.9167 GB Notification: Performance of remove unused functions: time 0.0001543/0.0071, allocations: 28 kB / 1.006 GB, free: 5.977 MB / 0.9167 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.0002802/0.00738, allocations: 0.6592 MB / 1.006 GB, free: 5.289 MB / 0.9167 GB Notification: Performance of simCode: created initialization part: time 0.0002465/0.007626, allocations: 274.1 kB / 1.006 GB, free: 4.984 MB / 0.9167 GB Notification: Performance of simCode: created event and clocks part: time 1.302e-06/0.007628, allocations: 0 / 1.006 GB, free: 4.984 MB / 0.9167 GB Notification: Performance of simCode: created simulation system equations: time 2.869e-05/0.007656, allocations: 24.23 kB / 1.006 GB, free: 4.961 MB / 0.9167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001707/0.007827, allocations: 21.75 kB / 1.006 GB, free: 4.941 MB / 0.9167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001551/0.009377, allocations: 1.982 MB / 1.008 GB, free: 2.789 MB / 0.9167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.032e-05/0.009418, allocations: 75.33 kB / 1.008 GB, free: 2.695 MB / 0.9167 GB Notification: Performance of simCode: alias equations: time 2.021e-05/0.009438, allocations: 4 kB / 1.008 GB, free: 2.691 MB / 0.9167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.321e-05/0.009471, allocations: 24.48 kB / 1.009 GB, free: 2.664 MB / 0.9167 GB Notification: Performance of SimCode: time 5.11e-07/0.009472, allocations: 0 / 1.009 GB, free: 2.664 MB / 0.9167 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0155/0.02497, allocations: 3.776 MB / 1.012 GB, free: 15.06 MB / 0.9323 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.77/6.795, allocations: 9.312 kB / 1.012 GB, free: 15.06 MB / 0.9323 GB " [Timeout remaining time 293] (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 & python3 -m fmpy simulate --output-file Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Xor_res.csv --start-time 0 --stop-time 5 --timeout 800 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.002 Buildings_latest_Buildings_Controls_OBC_CDL_Logical_Validation_Xor.fmu > Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Xor.pipe 2>&1) [Timeout 840.0] diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Xor_res.csv","/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) [Timeout 300] "Error: Could not read variable xor1.u1 in file Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Xor_res.csv. Warning: Get data of variable xor1.u1 from file Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Xor_res.csv failed! Error: Could not read variable xor1.u2 in file Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Xor_res.csv. Warning: Get data of variable xor1.u2 from file Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Xor_res.csv failed! Error: Could not read variable xor1.y in file Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Xor_res.csv. Warning: Get data of variable xor1.y from file Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Xor_res.csv failed! " [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 10.893719926476479]