Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Or.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.001987/0.001987, allocations: 104.2 kB / 16.45 MB, free: 6.449 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.002674/0.002674, allocations: 210.4 kB / 19.43 MB, free: 3.637 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.498/1.498, allocations: 230.6 MB / 252.8 MB, free: 9.113 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.399/3.399, allocations: 0.505 GB / 0.8066 GB, free: 23.21 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.Or,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_CDL_Logical_Validation_Or",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Logical.Validation.Or,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_CDL_Logical_Validation_Or",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.002315/0.002315, allocations: 74.22 kB / 1.172 GB, free: 17.43 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.38/0.3823, allocations: 180.2 MB / 1.348 GB, free: 9.965 MB / 1.045 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.Or): time 0.002104/0.3844, allocations: 0.658 MB / 1.348 GB, free: 9.312 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.001772/0.3862, allocations: 1.218 MB / 1.35 GB, free: 8.082 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.652e-05/0.3862, allocations: 0 / 1.35 GB, free: 8.082 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 3.082e-05/0.3863, allocations: 11.94 kB / 1.35 GB, free: 8.07 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 7.268e-05/0.3863, allocations: 11.92 kB / 1.35 GB, free: 8.059 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.000659/0.387, allocations: 207.7 kB / 1.35 GB, free: 7.859 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 0.0002462/0.3872, allocations: 179.6 kB / 1.35 GB, free: 7.684 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 8.782e-05/0.3873, allocations: 8 kB / 1.35 GB, free: 7.676 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001052/0.3874, allocations: 71.88 kB / 1.35 GB, free: 7.605 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001334/0.3876, allocations: 63.84 kB / 1.35 GB, free: 7.543 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 3.527e-05/0.3876, allocations: 16 kB / 1.35 GB, free: 7.527 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 8.187e-05/0.3877, allocations: 31.97 kB / 1.35 GB, free: 7.496 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 1.869e-05/0.3877, allocations: 4 kB / 1.35 GB, free: 7.492 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 8.175e-05/0.3878, allocations: 55.83 kB / 1.35 GB, free: 7.438 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.0002294/0.388, allocations: 155.8 kB / 1.35 GB, free: 7.285 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 4.999e-06/0.388, allocations: 0 / 1.35 GB, free: 7.285 MB / 1.045 GB Notification: Performance of FrontEnd: time 1.373e-06/0.388, allocations: 0 / 1.35 GB, free: 7.285 MB / 1.045 GB Notification: Performance of Transformations before backend: time 5.18e-06/0.388, allocations: 3.938 kB / 1.35 GB, free: 7.281 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.0006171/0.3886, allocations: 446.6 kB / 1.351 GB, free: 6.781 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 4.34e-05/0.3887, allocations: 11.98 kB / 1.351 GB, free: 6.77 MB / 1.045 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.756e-05/0.3887, allocations: 34.75 kB / 1.351 GB, free: 6.727 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.248e-05/0.3888, allocations: 12.89 kB / 1.351 GB, free: 6.715 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000128/0.3889, allocations: 168.4 kB / 1.351 GB, free: 6.512 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.624e-05/0.3889, allocations: 4.375 kB / 1.351 GB, free: 6.508 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.903e-05/0.3889, allocations: 8.375 kB / 1.351 GB, free: 6.5 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001194/0.3891, allocations: 50.25 kB / 1.351 GB, free: 6.445 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.917e-06/0.3891, allocations: 3.938 kB / 1.351 GB, free: 6.441 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.856e-06/0.3891, allocations: 0 / 1.351 GB, free: 6.441 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.41e-06/0.3891, allocations: 7.984 kB / 1.351 GB, free: 6.434 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001049/0.3892, allocations: 15.94 kB / 1.351 GB, free: 6.418 MB / 1.045 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004836/0.3897, allocations: 356.7 kB / 1.351 GB, free: 6.02 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 7.613e-05/0.3898, allocations: 30.56 kB / 1.351 GB, free: 5.98 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.959e-05/0.3898, allocations: 12.86 kB / 1.351 GB, free: 5.965 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 1.009e-05/0.3898, allocations: 0 / 1.351 GB, free: 5.965 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001931/0.39, allocations: 91.33 kB / 1.352 GB, free: 5.863 MB / 1.045 GB Notification: Performance of pre-optimization done (n=7): time 1.292e-06/0.39, allocations: 0 / 1.352 GB, free: 5.863 MB / 1.045 GB Notification: Performance of matching and sorting (n=7): time 0.0002524/0.3902, allocations: 101.6 kB / 1.352 GB, free: 5.758 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.064e-05/0.3903, allocations: 51.41 kB / 1.352 GB, free: 5.695 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001055/0.3904, allocations: 125.8 kB / 1.352 GB, free: 5.562 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 3.279e-05/0.3904, allocations: 33.64 kB / 1.352 GB, free: 5.523 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 8.067e-05/0.3905, allocations: 92.09 kB / 1.352 GB, free: 5.43 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 2.332e-05/0.3905, allocations: 15.92 kB / 1.352 GB, free: 5.414 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001024/0.3906, allocations: 57.69 kB / 1.352 GB, free: 5.352 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0001436/0.3908, allocations: 322.8 kB / 1.352 GB, free: 5.027 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001378/0.3909, allocations: 51.97 kB / 1.352 GB, free: 4.977 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001593/0.3911, allocations: 104.2 kB / 1.352 GB, free: 4.859 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002113/0.3913, allocations: 159.6 kB / 1.353 GB, free: 4.676 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.154e-06/0.3913, allocations: 0 / 1.353 GB, free: 4.676 MB / 1.045 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0004658/0.3918, allocations: 264.8 kB / 1.353 GB, free: 4.398 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 6.706e-05/0.3918, allocations: 71.86 kB / 1.353 GB, free: 4.316 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.841e-06/0.3918, allocations: 0 / 1.353 GB, free: 4.316 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.303e-05/0.3918, allocations: 128 / 1.353 GB, free: 4.316 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.621e-05/0.3919, allocations: 11.94 kB / 1.353 GB, free: 4.305 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.511e-06/0.3919, allocations: 0 / 1.353 GB, free: 4.305 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003473/0.3922, allocations: 59.83 kB / 1.353 GB, free: 4.246 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.651e-05/0.3923, allocations: 15.98 kB / 1.353 GB, free: 4.23 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,or1.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.0001141/0.3924, allocations: 121.8 kB / 1.353 GB, free: 4.102 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.611e-05/0.3924, allocations: 11.94 kB / 1.353 GB, free: 4.09 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.349e-05/0.3924, allocations: 12.38 kB / 1.353 GB, free: 4.078 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.834e-06/0.3924, allocations: 0 / 1.353 GB, free: 4.078 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.659e-06/0.3924, allocations: 0 / 1.353 GB, free: 4.078 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.07e-06/0.3924, allocations: 3.984 kB / 1.353 GB, free: 4.074 MB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001585/0.3926, allocations: 177.5 kB / 1.353 GB, free: 3.852 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.472e-06/0.3926, allocations: 0 / 1.353 GB, free: 3.852 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.606e-06/0.3926, allocations: 0 / 1.353 GB, free: 3.852 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.916e-06/0.3926, allocations: 4 kB / 1.353 GB, free: 3.848 MB / 1.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.775e-06/0.3926, allocations: 3.938 kB / 1.353 GB, free: 3.844 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.887e-06/0.3926, allocations: 3.984 kB / 1.353 GB, free: 3.84 MB / 1.045 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.202e-06/0.3926, allocations: 4 kB / 1.353 GB, free: 3.836 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001536/0.3928, allocations: 109 kB / 1.353 GB, free: 3.711 MB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 5.712e-05/0.3928, allocations: 85.05 kB / 1.354 GB, free: 3.609 MB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.635e-05/0.3928, allocations: 4 kB / 1.354 GB, free: 3.605 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.116e-05/0.3929, allocations: 4 kB / 1.354 GB, free: 3.602 MB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.1e-05/0.3929, allocations: 7.984 kB / 1.354 GB, free: 3.594 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.71e-06/0.3929, allocations: 0 / 1.354 GB, free: 3.594 MB / 1.045 GB Notification: Performance of sorting global known variables: time 5.959e-05/0.393, allocations: 91.28 kB / 1.354 GB, free: 3.504 MB / 1.045 GB Notification: Performance of sort global known variables: time 1e-07/0.393, allocations: 0 / 1.354 GB, free: 3.504 MB / 1.045 GB Notification: Performance of remove unused functions: time 0.000249/0.3932, allocations: 35.98 kB / 1.354 GB, free: 3.469 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,or1.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.0005148/0.3937, allocations: 0.6513 MB / 1.354 GB, free: 2.789 MB / 1.045 GB Notification: Performance of simCode: created initialization part: time 0.0003457/0.3941, allocations: 222.7 kB / 1.355 GB, free: 2.547 MB / 1.045 GB Notification: Performance of simCode: created event and clocks part: time 1.883e-06/0.3941, allocations: 3.938 kB / 1.355 GB, free: 2.543 MB / 1.045 GB Notification: Performance of simCode: created simulation system equations: time 4.774e-05/0.3941, allocations: 19.98 kB / 1.355 GB, free: 2.523 MB / 1.045 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002475/0.3944, allocations: 30.36 kB / 1.355 GB, free: 2.496 MB / 1.045 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002078/0.3965, allocations: 1.723 MB / 1.356 GB, free: 0.6523 MB / 1.045 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003197/0.3968, allocations: 0.6846 MB / 1.357 GB, free: 15.94 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 2.959e-05/0.3968, allocations: 4 kB / 1.357 GB, free: 15.94 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.162e-05/0.3968, allocations: 19.44 kB / 1.357 GB, free: 15.92 MB / 1.061 GB Notification: Performance of SimCode: time 5.31e-07/0.3968, allocations: 4 kB / 1.357 GB, free: 15.91 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02728/0.4241, allocations: 2.892 MB / 1.36 GB, free: 13.13 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.063/8.487, allocations: 5.422 kB / 1.36 GB, free: 13.12 MB / 1.061 GB " [Timeout remaining time 291] (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Or.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Or.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Or.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Or.sim & python3 -m fmpy simulate --output-file Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Or_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_Or.fmu > Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Or.pipe 2>&1) [Timeout 840.0] diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Or_res.csv","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Logical_Validation_Or.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Or.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "Error: Could not read variable or1.u1 in file Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Or_res.csv. Warning: Get data of variable or1.u1 from file Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Or_res.csv failed! Error: Could not read variable or1.u2 in file Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Or_res.csv. Warning: Get data of variable or1.u2 from file Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Or_res.csv failed! Error: Could not read variable or1.y in file Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Or_res.csv. Warning: Get data of variable or1.y from file Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Or_res.csv failed! " [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 15.605573830893263]