Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.And.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.001953/0.001953, allocations: 99.64 kB / 18.95 MB, free: 2.668 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.002714/0.002714, allocations: 214.4 kB / 22.24 MB, free: 5.262 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.559/1.559, allocations: 230.6 MB / 256 MB, free: 7.809 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.359/3.359, allocations: 0.5107 GB / 0.8158 GB, free: 17.79 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.And,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_CDL_Logical_Validation_And",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Logical.Validation.And,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_CDL_Logical_Validation_And",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.002196/0.002196, allocations: 74.41 kB / 1.186 GB, free: 13.71 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3792/0.3814, allocations: 181.9 MB / 1.363 GB, free: 14.07 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.And): time 0.002116/0.3835, allocations: 0.6412 MB / 1.364 GB, free: 13.42 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.001747/0.3852, allocations: 1.198 MB / 1.365 GB, free: 12.21 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.855e-05/0.3853, allocations: 0 / 1.365 GB, free: 12.21 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 3.222e-05/0.3853, allocations: 3.938 kB / 1.365 GB, free: 12.21 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 7.212e-05/0.3854, allocations: 23.86 kB / 1.365 GB, free: 12.18 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006842/0.3861, allocations: 216 kB / 1.365 GB, free: 11.98 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.0002641/0.3863, allocations: 179.7 kB / 1.366 GB, free: 11.8 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 9.504e-05/0.3864, allocations: 11.98 kB / 1.366 GB, free: 11.79 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001334/0.3866, allocations: 71.89 kB / 1.366 GB, free: 11.72 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001404/0.3867, allocations: 47.86 kB / 1.366 GB, free: 11.67 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 4.118e-05/0.3867, allocations: 19.98 kB / 1.366 GB, free: 11.65 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 9.011e-05/0.3868, allocations: 35.92 kB / 1.366 GB, free: 11.62 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 2.03e-05/0.3869, allocations: 0 / 1.366 GB, free: 11.62 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 8.858e-05/0.3869, allocations: 59.83 kB / 1.366 GB, free: 11.56 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.0002362/0.3872, allocations: 151.9 kB / 1.366 GB, free: 11.41 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 3.998e-06/0.3872, allocations: 0 / 1.366 GB, free: 11.41 MB / 1.061 GB Notification: Performance of FrontEnd: time 2.004e-06/0.3872, allocations: 0 / 1.366 GB, free: 11.41 MB / 1.061 GB Notification: Performance of Transformations before backend: time 1.047e-05/0.3872, allocations: 0 / 1.366 GB, free: 11.41 MB / 1.061 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.0005515/0.3877, allocations: 357.5 kB / 1.366 GB, free: 11.02 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 3.684e-05/0.3878, allocations: 8.031 kB / 1.366 GB, free: 11.01 MB / 1.061 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.711e-05/0.3878, allocations: 38.73 kB / 1.366 GB, free: 10.96 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.213e-05/0.3879, allocations: 16.89 kB / 1.366 GB, free: 10.95 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001103/0.388, allocations: 106.5 kB / 1.366 GB, free: 10.82 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.59e-05/0.388, allocations: 8.375 kB / 1.366 GB, free: 10.81 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.306e-05/0.388, allocations: 12.31 kB / 1.367 GB, free: 10.8 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001146/0.3881, allocations: 54.17 kB / 1.367 GB, free: 10.74 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.022e-05/0.3882, allocations: 3.938 kB / 1.367 GB, free: 10.73 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.765e-06/0.3882, allocations: 0 / 1.367 GB, free: 10.73 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.218e-06/0.3882, allocations: 0 / 1.367 GB, free: 10.73 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.421e-05/0.3882, allocations: 19.98 kB / 1.367 GB, free: 10.71 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004955/0.3887, allocations: 303.8 kB / 1.367 GB, free: 10.38 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 8.068e-05/0.3888, allocations: 34.52 kB / 1.367 GB, free: 10.33 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.183e-05/0.3888, allocations: 16.94 kB / 1.367 GB, free: 10.31 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 1.043e-05/0.3888, allocations: 0 / 1.367 GB, free: 10.31 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001875/0.389, allocations: 79.38 kB / 1.367 GB, free: 10.22 MB / 1.061 GB Notification: Performance of pre-optimization done (n=7): time 1.132e-06/0.389, allocations: 0 / 1.367 GB, free: 10.22 MB / 1.061 GB Notification: Performance of matching and sorting (n=7): time 0.0002601/0.3893, allocations: 105.6 kB / 1.367 GB, free: 10.11 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.264e-05/0.3893, allocations: 51.41 kB / 1.367 GB, free: 10.05 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001076/0.3894, allocations: 121.8 kB / 1.367 GB, free: 9.922 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 3.327e-05/0.3895, allocations: 29.7 kB / 1.367 GB, free: 9.887 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 7.427e-05/0.3895, allocations: 101.1 kB / 1.367 GB, free: 9.785 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 1.752e-05/0.3896, allocations: 15.91 kB / 1.367 GB, free: 9.77 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.46e-05/0.3897, allocations: 49.69 kB / 1.367 GB, free: 9.715 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 0.0001433/0.3898, allocations: 326.8 kB / 1.368 GB, free: 9.387 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001756/0.39, allocations: 119.4 kB / 1.368 GB, free: 9.258 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001941/0.3902, allocations: 151.7 kB / 1.368 GB, free: 9.082 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002036/0.3904, allocations: 155.6 kB / 1.368 GB, free: 8.902 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.114e-06/0.3904, allocations: 3.938 kB / 1.368 GB, free: 8.898 MB / 1.061 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0004829/0.3909, allocations: 332.2 kB / 1.368 GB, free: 8.543 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 5.849e-05/0.3909, allocations: 67.39 kB / 1.369 GB, free: 8.465 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.71e-06/0.3909, allocations: 0 / 1.369 GB, free: 8.465 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.842e-05/0.3909, allocations: 4 kB / 1.369 GB, free: 8.461 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.774e-05/0.391, allocations: 0 / 1.369 GB, free: 8.461 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.043e-06/0.391, allocations: 4 kB / 1.369 GB, free: 8.457 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003476/0.3913, allocations: 52.53 kB / 1.369 GB, free: 8.406 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.282e-05/0.3913, allocations: 15.98 kB / 1.369 GB, free: 8.391 MB / 1.061 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,and1.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.0001159/0.3915, allocations: 125.7 kB / 1.369 GB, free: 8.258 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.822e-05/0.3915, allocations: 11.94 kB / 1.369 GB, free: 8.246 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.859e-05/0.3915, allocations: 4.375 kB / 1.369 GB, free: 8.234 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.047e-06/0.3915, allocations: 15.81 kB / 1.369 GB, free: 8.219 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.469e-06/0.3915, allocations: 0 / 1.369 GB, free: 8.219 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.805e-06/0.3915, allocations: 0 / 1.369 GB, free: 8.219 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001413/0.3917, allocations: 148.7 kB / 1.369 GB, free: 8.031 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.116e-06/0.3917, allocations: 8 kB / 1.369 GB, free: 8.023 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.897e-06/0.3917, allocations: 0 / 1.369 GB, free: 8.023 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.244e-06/0.3917, allocations: 0 / 1.369 GB, free: 8.023 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.638e-06/0.3917, allocations: 4 kB / 1.369 GB, free: 8.02 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.413e-06/0.3917, allocations: 0 / 1.369 GB, free: 8.02 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.011e-06/0.3917, allocations: 0 / 1.369 GB, free: 8.02 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001639/0.3918, allocations: 117 kB / 1.369 GB, free: 7.887 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 1.128e-05/0.3919, allocations: 4 kB / 1.369 GB, free: 7.883 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.431e-05/0.3919, allocations: 0 / 1.369 GB, free: 7.883 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.961e-05/0.3919, allocations: 0 / 1.369 GB, free: 7.883 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.057e-05/0.3919, allocations: 11.98 kB / 1.369 GB, free: 7.871 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.841e-06/0.3919, allocations: 3.938 kB / 1.369 GB, free: 7.867 MB / 1.061 GB Notification: Performance of sorting global known variables: time 6.233e-05/0.392, allocations: 95.27 kB / 1.369 GB, free: 7.773 MB / 1.061 GB Notification: Performance of sort global known variables: time 1.1e-07/0.392, allocations: 4 kB / 1.369 GB, free: 7.77 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0002412/0.3922, allocations: 27.95 kB / 1.369 GB, free: 7.742 MB / 1.061 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,and1.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.000491/0.3927, allocations: 0.6476 MB / 1.37 GB, free: 7.066 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.0003777/0.3931, allocations: 278.5 kB / 1.37 GB, free: 6.758 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 1.543e-06/0.3931, allocations: 0 / 1.37 GB, free: 6.758 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 4.66e-05/0.3932, allocations: 23.92 kB / 1.37 GB, free: 6.734 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002393/0.3934, allocations: 28.36 kB / 1.37 GB, free: 6.707 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002267/0.3957, allocations: 1.971 MB / 1.372 GB, free: 4.57 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.6e-05/0.3957, allocations: 71.33 kB / 1.372 GB, free: 4.48 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 3.465e-05/0.3958, allocations: 7.859 kB / 1.372 GB, free: 4.473 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.28e-05/0.3958, allocations: 19.44 kB / 1.372 GB, free: 4.453 MB / 1.061 GB Notification: Performance of SimCode: time 4.01e-07/0.3958, allocations: 4 kB / 1.372 GB, free: 4.449 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03225/0.4281, allocations: 3.627 MB / 1.376 GB, free: 0.9883 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.48/11.9, allocations: 0 / 1.376 GB, free: 0.9883 MB / 1.061 GB " [Timeout remaining time 288] (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.And.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.And.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.And.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.And.sim & python3 -m fmpy simulate --output-file Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.And_res.csv --start-time 0 --stop-time 10 --timeout 800 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.004 Buildings_latest_Buildings_Controls_OBC_CDL_Logical_Validation_And.fmu > Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.And.pipe 2>&1) [Timeout 840.0] diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.And_res.csv","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Logical_Validation_And.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.And.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "Error: Could not read variable and1.u1 in file Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.And_res.csv. Warning: Get data of variable and1.u1 from file Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.And_res.csv failed! Error: Could not read variable and1.u2 in file Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.And_res.csv. Warning: Get data of variable and1.u2 from file Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.And_res.csv failed! Error: Could not read variable and1.y in file Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.And_res.csv. Warning: Get data of variable and1.y from file Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.And_res.csv failed! " [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 19.05689064739272]