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.00149/0.00149, allocations: 95.64 kB / 18.95 MB, free: 2.691 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.001517/0.001517, allocations: 215.1 kB / 22.24 MB, free: 5.242 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.579/1.579, allocations: 230.6 MB / 256 MB, free: 7.801 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.493/3.493, allocations: 0.5107 GB / 0.8158 GB, free: 17.84 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.002297/0.002297, allocations: 68.28 kB / 1.186 GB, free: 13.74 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3669/0.3692, allocations: 181.9 MB / 1.363 GB, free: 14.13 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.Or): time 0.002614/0.3718, allocations: 0.6401 MB / 1.364 GB, free: 13.49 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.001907/0.3737, allocations: 1.214 MB / 1.365 GB, free: 12.26 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.52e-05/0.3738, allocations: 0 / 1.365 GB, free: 12.26 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 3.544e-05/0.3738, allocations: 3.938 kB / 1.365 GB, free: 12.26 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 8.386e-05/0.3739, allocations: 15.88 kB / 1.365 GB, free: 12.24 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.000747/0.3746, allocations: 207.9 kB / 1.365 GB, free: 12.04 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.0002777/0.3749, allocations: 179.7 kB / 1.366 GB, free: 11.87 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001017/0.375, allocations: 8 kB / 1.366 GB, free: 11.86 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001446/0.3751, allocations: 71.88 kB / 1.366 GB, free: 11.79 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000155/0.3753, allocations: 51.86 kB / 1.366 GB, free: 11.74 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 4.253e-05/0.3753, allocations: 16 kB / 1.366 GB, free: 11.72 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 9.944e-05/0.3754, allocations: 27.98 kB / 1.366 GB, free: 11.7 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 2.656e-05/0.3755, allocations: 15.86 kB / 1.366 GB, free: 11.68 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 0.0001161/0.3756, allocations: 55.89 kB / 1.366 GB, free: 11.62 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.0002631/0.3758, allocations: 151.9 kB / 1.366 GB, free: 11.48 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 5.35e-06/0.3759, allocations: 3.938 kB / 1.366 GB, free: 11.47 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.533e-06/0.3759, allocations: 4 kB / 1.366 GB, free: 11.47 MB / 1.061 GB Notification: Performance of Transformations before backend: time 6.552e-06/0.3759, allocations: 0 / 1.366 GB, free: 11.47 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.0006332/0.3765, allocations: 353.5 kB / 1.366 GB, free: 11.08 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 5.091e-05/0.3765, allocations: 12.03 kB / 1.366 GB, free: 11.07 MB / 1.061 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.676e-05/0.3766, allocations: 34.73 kB / 1.366 GB, free: 11.02 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.444e-05/0.3767, allocations: 16.83 kB / 1.366 GB, free: 11.01 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001214/0.3768, allocations: 106.5 kB / 1.366 GB, free: 10.88 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.09e-05/0.3768, allocations: 4.375 kB / 1.366 GB, free: 10.88 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.372e-05/0.3768, allocations: 12.38 kB / 1.367 GB, free: 10.86 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001369/0.377, allocations: 54.17 kB / 1.367 GB, free: 10.8 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.088e-05/0.377, allocations: 7.938 kB / 1.367 GB, free: 10.8 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.907e-06/0.377, allocations: 0 / 1.367 GB, free: 10.8 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.077e-06/0.377, allocations: 0 / 1.367 GB, free: 10.8 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.1e-05/0.377, allocations: 12 kB / 1.367 GB, free: 10.79 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005218/0.3776, allocations: 303.8 kB / 1.367 GB, free: 10.45 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 9.283e-05/0.3776, allocations: 34.52 kB / 1.367 GB, free: 10.4 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.014e-05/0.3777, allocations: 12.94 kB / 1.367 GB, free: 10.39 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 1.205e-05/0.3777, allocations: 0 / 1.367 GB, free: 10.39 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002121/0.3779, allocations: 83.36 kB / 1.367 GB, free: 10.29 MB / 1.061 GB Notification: Performance of pre-optimization done (n=7): time 1.453e-06/0.3779, allocations: 0 / 1.367 GB, free: 10.29 MB / 1.061 GB Notification: Performance of matching and sorting (n=7): time 0.0002727/0.3782, allocations: 109.6 kB / 1.367 GB, free: 10.18 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.3e-05/0.3782, allocations: 55.41 kB / 1.367 GB, free: 10.11 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001183/0.3784, allocations: 117.8 kB / 1.367 GB, free: 9.988 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 3.407e-05/0.3784, allocations: 29.7 kB / 1.367 GB, free: 9.953 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 8.409e-05/0.3785, allocations: 93.16 kB / 1.367 GB, free: 9.859 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 2.265e-05/0.3785, allocations: 19.89 kB / 1.367 GB, free: 9.84 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.652e-05/0.3786, allocations: 49.69 kB / 1.367 GB, free: 9.785 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 0.000152/0.3788, allocations: 323.1 kB / 1.368 GB, free: 9.461 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001889/0.3789, allocations: 119.4 kB / 1.368 GB, free: 9.332 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002048/0.3791, allocations: 159.6 kB / 1.368 GB, free: 9.148 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002233/0.3794, allocations: 159.6 kB / 1.368 GB, free: 8.965 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.395e-06/0.3794, allocations: 0 / 1.368 GB, free: 8.965 MB / 1.061 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0004883/0.3799, allocations: 332.2 kB / 1.368 GB, free: 8.609 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 5.931e-05/0.3799, allocations: 69.52 kB / 1.369 GB, free: 8.531 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.44e-06/0.3799, allocations: 0 / 1.369 GB, free: 8.531 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.572e-05/0.3799, allocations: 0 / 1.369 GB, free: 8.531 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.039e-05/0.38, allocations: 12.12 kB / 1.369 GB, free: 8.52 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.941e-06/0.38, allocations: 0 / 1.369 GB, free: 8.52 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003344/0.3803, allocations: 47.94 kB / 1.369 GB, free: 8.473 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.971e-05/0.3803, allocations: 15.98 kB / 1.369 GB, free: 8.457 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,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.0001134/0.3804, allocations: 129.7 kB / 1.369 GB, free: 8.32 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.004e-05/0.3805, allocations: 11.95 kB / 1.369 GB, free: 8.309 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.063e-05/0.3805, allocations: 8.359 kB / 1.369 GB, free: 8.293 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.854e-06/0.3805, allocations: 4 kB / 1.369 GB, free: 8.289 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.22e-06/0.3805, allocations: 3.938 kB / 1.369 GB, free: 8.285 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.825e-06/0.3805, allocations: 0 / 1.369 GB, free: 8.285 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000145/0.3807, allocations: 140.7 kB / 1.369 GB, free: 8.105 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.036e-06/0.3807, allocations: 3.984 kB / 1.369 GB, free: 8.102 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.435e-06/0.3807, allocations: 4 kB / 1.369 GB, free: 8.098 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.933e-06/0.3807, allocations: 0 / 1.369 GB, free: 8.098 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.131e-05/0.3807, allocations: 4 kB / 1.369 GB, free: 8.094 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.273e-06/0.3807, allocations: 0 / 1.369 GB, free: 8.094 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.035e-06/0.3807, allocations: 7.984 kB / 1.369 GB, free: 8.086 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001681/0.3809, allocations: 121 kB / 1.369 GB, free: 7.949 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 8.135e-06/0.3809, allocations: 0 / 1.369 GB, free: 7.949 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.711e-05/0.3809, allocations: 4 kB / 1.369 GB, free: 7.945 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.899e-05/0.3809, allocations: 96 / 1.369 GB, free: 7.945 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.425e-05/0.3809, allocations: 11.92 kB / 1.369 GB, free: 7.934 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.277e-06/0.3809, allocations: 4 kB / 1.369 GB, free: 7.93 MB / 1.061 GB Notification: Performance of sorting global known variables: time 5.723e-05/0.381, allocations: 95.2 kB / 1.369 GB, free: 7.836 MB / 1.061 GB Notification: Performance of sort global known variables: time 6e-08/0.381, allocations: 0 / 1.369 GB, free: 7.836 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0002517/0.3812, allocations: 31.95 kB / 1.369 GB, free: 7.805 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,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.00053/0.3818, allocations: 0.6437 MB / 1.37 GB, free: 7.133 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.0004024/0.3822, allocations: 278.1 kB / 1.37 GB, free: 6.824 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 1.913e-06/0.3822, allocations: 0 / 1.37 GB, free: 6.824 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 5.264e-05/0.3822, allocations: 31.91 kB / 1.37 GB, free: 6.793 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002359/0.3825, allocations: 20.73 kB / 1.37 GB, free: 6.773 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002402/0.3849, allocations: 1.963 MB / 1.372 GB, free: 4.645 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.847e-05/0.3849, allocations: 75.58 kB / 1.372 GB, free: 4.551 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 3.758e-05/0.385, allocations: 7.859 kB / 1.372 GB, free: 4.543 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.519e-05/0.385, allocations: 19.44 kB / 1.372 GB, free: 4.523 MB / 1.061 GB Notification: Performance of SimCode: time 4.01e-07/0.385, allocations: 0 / 1.372 GB, free: 4.523 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03287/0.4179, allocations: 3.644 MB / 1.376 GB, free: 1.047 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.28/11.7, allocations: 1.719 kB / 1.376 GB, free: 1.047 MB / 1.061 GB " [Timeout remaining time 288] (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: 19.05290858959779]