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.001315/0.001315, allocations: 108.2 kB / 16.45 MB, free: 6.5 MB / 14.72 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.001402/0.001402, allocations: 210.4 kB / 19.43 MB, free: 3.656 MB / 14.72 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 1.452/1.452, allocations: 230.6 MB / 252.8 MB, free: 8.965 MB / 206.1 MB " [Timeout remaining time 178] 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 3.382/3.382, allocations: 0.505 GB / 0.8066 GB, free: 23.06 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.0 (/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: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002442/0.002442, allocations: 72.53 kB / 1.172 GB, free: 17.51 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3831/0.3855, allocations: 180.2 MB / 1.348 GB, free: 9.98 MB / 1.045 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.Xor): time 0.001937/0.3875, allocations: 0.6606 MB / 1.348 GB, free: 9.32 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.001747/0.3892, allocations: 1.218 MB / 1.35 GB, free: 8.09 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.328e-05/0.3893, allocations: 0 / 1.35 GB, free: 8.09 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 2.94e-05/0.3893, allocations: 3.938 kB / 1.35 GB, free: 8.086 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 7.568e-05/0.3894, allocations: 15.86 kB / 1.35 GB, free: 8.07 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006323/0.39, allocations: 222.9 kB / 1.35 GB, free: 7.859 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 0.0002438/0.3902, allocations: 171.7 kB / 1.35 GB, free: 7.691 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 9.62e-05/0.3903, allocations: 8 kB / 1.35 GB, free: 7.684 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000106/0.3904, allocations: 71.88 kB / 1.35 GB, free: 7.613 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001457/0.3906, allocations: 63.83 kB / 1.35 GB, free: 7.551 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 3.386e-05/0.3906, allocations: 16 kB / 1.35 GB, free: 7.535 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 7.566e-05/0.3907, allocations: 31.92 kB / 1.35 GB, free: 7.504 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 2.156e-05/0.3907, allocations: 12 kB / 1.35 GB, free: 7.492 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 8.412e-05/0.3908, allocations: 59.81 kB / 1.35 GB, free: 7.434 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.0002253/0.391, allocations: 151.8 kB / 1.35 GB, free: 7.285 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 4.669e-06/0.391, allocations: 0 / 1.35 GB, free: 7.285 MB / 1.045 GB Notification: Performance of FrontEnd: time 3.807e-06/0.391, allocations: 4 kB / 1.35 GB, free: 7.281 MB / 1.045 GB Notification: Performance of Transformations before backend: time 9.498e-06/0.3911, allocations: 3.938 kB / 1.35 GB, free: 7.277 MB / 1.045 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.0006392/0.3917, allocations: 434.6 kB / 1.351 GB, free: 6.789 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 4.303e-05/0.3917, allocations: 11.98 kB / 1.351 GB, free: 6.777 MB / 1.045 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.648e-05/0.3918, allocations: 38.73 kB / 1.351 GB, free: 6.73 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.278e-05/0.3918, allocations: 12.89 kB / 1.351 GB, free: 6.719 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001343/0.392, allocations: 168.4 kB / 1.351 GB, free: 6.516 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.812e-05/0.392, allocations: 8.375 kB / 1.351 GB, free: 6.508 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.595e-05/0.392, allocations: 16.31 kB / 1.351 GB, free: 6.492 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001201/0.3921, allocations: 46.23 kB / 1.351 GB, free: 6.441 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.808e-06/0.3921, allocations: 3.938 kB / 1.351 GB, free: 6.438 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.957e-06/0.3922, allocations: 0 / 1.351 GB, free: 6.438 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.821e-06/0.3922, allocations: 4 kB / 1.351 GB, free: 6.434 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.021e-05/0.3922, allocations: 19.98 kB / 1.351 GB, free: 6.414 MB / 1.045 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005145/0.3927, allocations: 356.7 kB / 1.351 GB, free: 6.016 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 8.942e-05/0.3928, allocations: 38.5 kB / 1.352 GB, free: 5.969 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.193e-05/0.3928, allocations: 12.86 kB / 1.352 GB, free: 5.953 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 1.039e-05/0.3929, allocations: 0 / 1.352 GB, free: 5.953 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001619/0.393, allocations: 75.47 kB / 1.352 GB, free: 5.867 MB / 1.045 GB Notification: Performance of pre-optimization done (n=7): time 1.193e-06/0.393, allocations: 4 kB / 1.352 GB, free: 5.863 MB / 1.045 GB Notification: Performance of matching and sorting (n=7): time 0.0002598/0.3933, allocations: 113.5 kB / 1.352 GB, free: 5.746 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.817e-05/0.3933, allocations: 59.41 kB / 1.352 GB, free: 5.676 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001066/0.3934, allocations: 117.8 kB / 1.352 GB, free: 5.551 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 4.089e-05/0.3935, allocations: 29.7 kB / 1.352 GB, free: 5.516 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 6.923e-05/0.3935, allocations: 92.09 kB / 1.352 GB, free: 5.422 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 1.959e-05/0.3936, allocations: 15.94 kB / 1.352 GB, free: 5.406 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001037/0.3937, allocations: 53.62 kB / 1.352 GB, free: 5.348 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0001346/0.3938, allocations: 318.8 kB / 1.352 GB, free: 5.027 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000143/0.3939, allocations: 67.95 kB / 1.352 GB, free: 4.961 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001677/0.3941, allocations: 92.64 kB / 1.353 GB, free: 4.855 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002222/0.3943, allocations: 171.6 kB / 1.353 GB, free: 4.66 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.364e-06/0.3943, allocations: 0 / 1.353 GB, free: 4.66 MB / 1.045 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0004545/0.3948, allocations: 264.8 kB / 1.353 GB, free: 4.383 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 6.285e-05/0.3949, allocations: 67.39 kB / 1.353 GB, free: 4.305 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.113e-06/0.3949, allocations: 4 kB / 1.353 GB, free: 4.301 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.197e-05/0.3949, allocations: 0 / 1.353 GB, free: 4.301 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.506e-05/0.3949, allocations: 4 kB / 1.353 GB, free: 4.297 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.931e-06/0.3949, allocations: 0 / 1.353 GB, free: 4.297 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003514/0.3953, allocations: 56.02 kB / 1.353 GB, free: 4.242 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.566e-05/0.3953, allocations: 15.98 kB / 1.353 GB, free: 4.227 MB / 1.045 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.0001136/0.3954, allocations: 125.7 kB / 1.353 GB, free: 4.094 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.55e-05/0.3954, allocations: 7.953 kB / 1.353 GB, free: 4.086 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.399e-05/0.3955, allocations: 16.34 kB / 1.353 GB, free: 4.07 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.957e-06/0.3955, allocations: 4 kB / 1.353 GB, free: 4.066 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.566e-06/0.3955, allocations: 4 kB / 1.353 GB, free: 4.062 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.065e-06/0.3955, allocations: 0 / 1.353 GB, free: 4.062 MB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001579/0.3956, allocations: 181.5 kB / 1.353 GB, free: 3.836 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.42e-07/0.3956, allocations: 0 / 1.353 GB, free: 3.836 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.07e-05/0.3956, allocations: 3.984 kB / 1.353 GB, free: 3.832 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.864e-06/0.3956, allocations: 0 / 1.353 GB, free: 3.832 MB / 1.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.184e-05/0.3957, allocations: 8 kB / 1.353 GB, free: 3.824 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.052e-06/0.3957, allocations: 0 / 1.353 GB, free: 3.824 MB / 1.045 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.72e-07/0.3957, allocations: 0 / 1.353 GB, free: 3.824 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001594/0.3958, allocations: 109.4 kB / 1.354 GB, free: 3.699 MB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 5.149e-05/0.3959, allocations: 85 kB / 1.354 GB, free: 3.598 MB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.835e-05/0.3959, allocations: 8 kB / 1.354 GB, free: 3.59 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.043e-05/0.3959, allocations: 0 / 1.354 GB, free: 3.59 MB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.661e-05/0.396, allocations: 7.984 kB / 1.354 GB, free: 3.582 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.436e-06/0.396, allocations: 4 kB / 1.354 GB, free: 3.578 MB / 1.045 GB Notification: Performance of sorting global known variables: time 5.696e-05/0.396, allocations: 95.2 kB / 1.354 GB, free: 3.484 MB / 1.045 GB Notification: Performance of sort global known variables: time 8e-08/0.396, allocations: 0 / 1.354 GB, free: 3.484 MB / 1.045 GB Notification: Performance of remove unused functions: time 0.0002342/0.3963, allocations: 31.94 kB / 1.354 GB, free: 3.453 MB / 1.045 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.0005555/0.3968, allocations: 0.6632 MB / 1.354 GB, free: 2.762 MB / 1.045 GB Notification: Performance of simCode: created initialization part: time 0.0003444/0.3972, allocations: 218.7 kB / 1.355 GB, free: 2.523 MB / 1.045 GB Notification: Performance of simCode: created event and clocks part: time 2.264e-06/0.3972, allocations: 0 / 1.355 GB, free: 2.523 MB / 1.045 GB Notification: Performance of simCode: created simulation system equations: time 4.469e-05/0.3972, allocations: 19.94 kB / 1.355 GB, free: 2.504 MB / 1.045 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000233/0.3974, allocations: 22.45 kB / 1.355 GB, free: 2.484 MB / 1.045 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002127/0.3996, allocations: 1.735 MB / 1.356 GB, free: 0.625 MB / 1.045 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004029/0.4, allocations: 0.6807 MB / 1.357 GB, free: 15.92 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 3.078e-05/0.4, allocations: 11.98 kB / 1.357 GB, free: 15.91 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.626e-05/0.4, allocations: 11.44 kB / 1.357 GB, free: 15.89 MB / 1.061 GB Notification: Performance of SimCode: time 3e-07/0.4, allocations: 0 / 1.357 GB, free: 15.89 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02947/0.4295, allocations: 2.921 MB / 1.36 GB, free: 13.09 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.357/8.787, allocations: 8.562 kB / 1.36 GB, free: 13.08 MB / 1.061 GB " [Timeout remaining time 291] (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/jenkins1/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: 15.830424385843799]