Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.0008627/0.0008627, 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.0008655/0.0008655, 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.9169/0.9169, allocations: 177.1 MB / 202.8 MB, free: 5.738 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 1.665/1.665, allocations: 359 MB / 0.6037 GB, free: 11.09 MB / 0.573 GB " [Timeout remaining time 178] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/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_11_Buildings_Controls_OBC_CDL_Logical_Validation_Or",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Logical.Validation.Or,fileNamePrefix="Buildings_11_Buildings_Controls_OBC_CDL_Logical_Validation_Or",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.432e-06/1.432e-06, allocations: 0 / 0.9505 GB, free: 3.492 MB / 0.9011 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.285e-05/1.429e-05, allocations: 6.281 kB / 0.9505 GB, free: 3.484 MB / 0.9011 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.Or): time 0.001089/0.001103, allocations: 0.653 MB / 0.9512 GB, free: 2.824 MB / 0.9011 GB Notification: Performance of NFInst.instExpressions: time 0.00106/0.002163, allocations: 1.202 MB / 0.9523 GB, free: 1.609 MB / 0.9011 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.887e-05/0.002202, allocations: 0 / 0.9523 GB, free: 1.609 MB / 0.9011 GB Notification: Performance of NFTyping.typeComponents: time 2.575e-05/0.002227, allocations: 0 / 0.9523 GB, free: 1.609 MB / 0.9011 GB Notification: Performance of NFTyping.typeBindings: time 6.183e-05/0.002289, allocations: 19.84 kB / 0.9523 GB, free: 1.59 MB / 0.9011 GB Notification: Performance of NFTyping.typeClassSections: time 0.000453/0.002742, allocations: 217.7 kB / 0.9526 GB, free: 1.383 MB / 0.9011 GB Notification: Performance of NFFlatten.flatten: time 0.0001574/0.0029, allocations: 175.6 kB / 0.9527 GB, free: 1.211 MB / 0.9011 GB Notification: Performance of NFFlatten.resolveConnections: time 8.335e-05/0.002983, allocations: 8 kB / 0.9527 GB, free: 1.203 MB / 0.9011 GB Notification: Performance of NFEvalConstants.evaluate: time 9.548e-05/0.003079, allocations: 87.94 kB / 0.9528 GB, free: 1.117 MB / 0.9011 GB Notification: Performance of NFSimplifyModel.simplify: time 9.826e-05/0.003177, allocations: 55.84 kB / 0.9529 GB, free: 1.062 MB / 0.9011 GB Notification: Performance of NFPackage.collectConstants: time 2.241e-05/0.003199, allocations: 12 kB / 0.9529 GB, free: 1.051 MB / 0.9011 GB Notification: Performance of NFFlatten.collectFunctions: time 5.812e-05/0.003257, allocations: 35.97 kB / 0.9529 GB, free: 1.016 MB / 0.9011 GB Notification: Performance of NFScalarize.scalarize: time 1.582e-05/0.003273, allocations: 0 / 0.9529 GB, free: 1.016 MB / 0.9011 GB Notification: Performance of NFVerifyModel.verify: time 5.302e-05/0.003326, allocations: 59.88 kB / 0.953 GB, free: 0.957 MB / 0.9011 GB Notification: Performance of NFConvertDAE.convert: time 0.0001741/0.0035, allocations: 179.6 kB / 0.9531 GB, free: 0.7812 MB / 0.9011 GB Notification: Performance of FrontEnd - DAE generated: time 1.764e-06/0.003502, allocations: 3.938 kB / 0.9531 GB, free: 0.7773 MB / 0.9011 GB Notification: Performance of FrontEnd: time 1.012e-06/0.003503, allocations: 0 / 0.9531 GB, free: 0.7773 MB / 0.9011 GB Notification: Performance of Transformations before backend: time 3.406e-06/0.003506, allocations: 0 / 0.9531 GB, free: 0.7773 MB / 0.9011 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.0003639/0.00387, allocations: 369.4 kB / 0.9535 GB, free: 380 kB / 0.9011 GB Notification: Performance of prepare preOptimizeDAE: time 3.313e-05/0.003903, allocations: 11.97 kB / 0.9535 GB, free: 368 kB / 0.9011 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.432e-05/0.003928, allocations: 30.75 kB / 0.9535 GB, free: 328 kB / 0.9011 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.487e-05/0.003963, allocations: 12.89 kB / 0.9535 GB, free: 316 kB / 0.9011 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.659e-05/0.004029, allocations: 109.8 kB / 0.9537 GB, free: 180 kB / 0.9011 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.263e-05/0.004042, allocations: 8.375 kB / 0.9537 GB, free: 172 kB / 0.9011 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.803e-05/0.00406, allocations: 12.38 kB / 0.9537 GB, free: 160 kB / 0.9011 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.226e-05/0.004142, allocations: 46.25 kB / 0.9537 GB, free: 108 kB / 0.9011 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.604e-06/0.00415, allocations: 4.172 kB / 0.9537 GB, free: 104 kB / 0.9011 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.005e-06/0.004158, allocations: 384 / 0.9537 GB, free: 104 kB / 0.9011 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.11e-06/0.004163, allocations: 4.125 kB / 0.9537 GB, free: 100 kB / 0.9011 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.178e-05/0.004195, allocations: 15.94 kB / 0.9537 GB, free: 84 kB / 0.9011 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000349/0.004544, allocations: 295.9 kB / 0.954 GB, free: 15.75 MB / 0.9167 GB Notification: Performance of preOpt comSubExp (simulation): time 6.154e-05/0.004605, allocations: 34.56 kB / 0.9541 GB, free: 15.71 MB / 0.9167 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.847e-05/0.004624, allocations: 8.859 kB / 0.9541 GB, free: 15.7 MB / 0.9167 GB Notification: Performance of preOpt evalFunc (simulation): time 8.336e-06/0.004632, allocations: 7.938 kB / 0.9541 GB, free: 15.69 MB / 0.9167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001131/0.004745, allocations: 91.38 kB / 0.9542 GB, free: 15.59 MB / 0.9167 GB Notification: Performance of pre-optimization done (n=7): time 8.41e-07/0.004746, allocations: 0 / 0.9542 GB, free: 15.59 MB / 0.9167 GB Notification: Performance of matching and sorting (n=7): time 0.0001796/0.004925, allocations: 105.6 kB / 0.9543 GB, free: 15.48 MB / 0.9167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.007e-05/0.004955, allocations: 51.41 kB / 0.9543 GB, free: 15.41 MB / 0.9167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.099e-05/0.005016, allocations: 117.8 kB / 0.9544 GB, free: 15.29 MB / 0.9167 GB Notification: Performance of collectPreVariables (initialization): time 1.839e-05/0.005035, allocations: 29.7 kB / 0.9544 GB, free: 15.25 MB / 0.9167 GB Notification: Performance of collectInitialEqns (initialization): time 4.306e-05/0.005078, allocations: 96.08 kB / 0.9545 GB, free: 15.16 MB / 0.9167 GB Notification: Performance of collectInitialBindings (initialization): time 1.244e-05/0.00509, allocations: 15.89 kB / 0.9546 GB, free: 15.14 MB / 0.9167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.622e-05/0.005147, allocations: 49.69 kB / 0.9546 GB, free: 15.09 MB / 0.9167 GB Notification: Performance of setup shared object (initialization): time 7.3e-05/0.00522, allocations: 322.8 kB / 0.9549 GB, free: 14.76 MB / 0.9167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000114/0.005334, allocations: 115.4 kB / 0.955 GB, free: 14.64 MB / 0.9167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001299/0.005464, allocations: 168 kB / 0.9552 GB, free: 14.45 MB / 0.9167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001335/0.005597, allocations: 155.7 kB / 0.9553 GB, free: 14.27 MB / 0.9167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.208e-06/0.005601, allocations: 3.938 kB / 0.9553 GB, free: 14.26 MB / 0.9167 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0006539/0.006255, allocations: 324.3 kB / 0.9556 GB, free: 13.91 MB / 0.9167 GB Notification: Performance of prepare postOptimizeDAE: time 4.521e-05/0.0063, allocations: 73.67 kB / 0.9557 GB, free: 13.83 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.911e-06/0.006306, allocations: 128 / 0.9557 GB, free: 13.83 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.428e-05/0.006321, allocations: 8 kB / 0.9557 GB, free: 13.82 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.774e-05/0.006338, allocations: 0 / 0.9557 GB, free: 13.82 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.584e-06/0.006346, allocations: 7.938 kB / 0.9557 GB, free: 13.82 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002009/0.006547, allocations: 55.89 kB / 0.9558 GB, free: 13.76 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.178e-05/0.006569, allocations: 11.98 kB / 0.9558 GB, free: 13.75 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,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 7.773e-05/0.006646, allocations: 125.7 kB / 0.9559 GB, free: 13.62 MB / 0.9167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.354e-06/0.006654, allocations: 11.95 kB / 0.9559 GB, free: 13.61 MB / 0.9167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.295e-05/0.006677, allocations: 8.438 kB / 0.9559 GB, free: 13.59 MB / 0.9167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.785e-06/0.006679, allocations: 4 kB / 0.9559 GB, free: 13.59 MB / 0.9167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.789e-06/0.006684, allocations: 0 / 0.9559 GB, free: 13.59 MB / 0.9167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.86e-06/0.006689, allocations: 3.984 kB / 0.9559 GB, free: 13.59 MB / 0.9167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.998e-05/0.006779, allocations: 140.7 kB / 0.9561 GB, free: 13.41 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.21e-07/0.00678, allocations: 0 / 0.9561 GB, free: 13.41 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.396e-06/0.006783, allocations: 0 / 0.9561 GB, free: 13.41 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.553e-06/0.006785, allocations: 0 / 0.9561 GB, free: 13.41 MB / 0.9167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.634e-06/0.006792, allocations: 7.984 kB / 0.9561 GB, free: 13.4 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.12e-07/0.006793, allocations: 320 / 0.9561 GB, free: 13.4 MB / 0.9167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.32e-07/0.006794, allocations: 4 kB / 0.9561 GB, free: 13.39 MB / 0.9167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001043/0.006898, allocations: 124.9 kB / 0.9562 GB, free: 13.25 MB / 0.9167 GB Notification: Performance of postOpt removeConstants (simulation): time 7.063e-06/0.006905, allocations: 4 kB / 0.9562 GB, free: 13.25 MB / 0.9167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.102e-05/0.006916, allocations: 0 / 0.9562 GB, free: 13.25 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.166e-05/0.006928, allocations: 4 kB / 0.9562 GB, free: 13.25 MB / 0.9167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.853e-05/0.006966, allocations: 11.97 kB / 0.9562 GB, free: 13.23 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.59e-06/0.006972, allocations: 4 kB / 0.9562 GB, free: 13.23 MB / 0.9167 GB Notification: Performance of sorting global known variables: time 3.702e-05/0.007009, allocations: 95.2 kB / 0.9563 GB, free: 13.14 MB / 0.9167 GB Notification: Performance of sort global known variables: time 5e-08/0.007009, allocations: 0 / 0.9563 GB, free: 13.14 MB / 0.9167 GB Notification: Performance of remove unused functions: time 0.000161/0.00717, allocations: 28 kB / 0.9563 GB, free: 13.11 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,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.0002889/0.007459, allocations: 0.6553 MB / 0.957 GB, free: 12.43 MB / 0.9167 GB Notification: Performance of simCode: created initialization part: time 0.0002434/0.007702, allocations: 278.1 kB / 0.9573 GB, free: 12.12 MB / 0.9167 GB Notification: Performance of simCode: created event and clocks part: time 1.452e-06/0.007704, allocations: 0 / 0.9573 GB, free: 12.12 MB / 0.9167 GB Notification: Performance of simCode: created simulation system equations: time 3.061e-05/0.007734, allocations: 27.97 kB / 0.9573 GB, free: 12.09 MB / 0.9167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001556/0.00789, allocations: 16.17 kB / 0.9573 GB, free: 12.07 MB / 0.9167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001292/0.009182, allocations: 1.971 MB / 0.9592 GB, free: 9.93 MB / 0.9167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.093e-05/0.009223, allocations: 75.23 kB / 0.9593 GB, free: 9.836 MB / 0.9167 GB Notification: Performance of simCode: alias equations: time 1.9e-05/0.009242, allocations: 4 kB / 0.9593 GB, free: 9.832 MB / 0.9167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.039e-05/0.009272, allocations: 20.5 kB / 0.9593 GB, free: 9.812 MB / 0.9167 GB Notification: Performance of SimCode: time 7.12e-07/0.009273, allocations: 0 / 0.9593 GB, free: 9.812 MB / 0.9167 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01655/0.02582, allocations: 3.76 MB / 0.963 GB, free: 6.234 MB / 0.9167 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.657/6.683, allocations: 12.62 kB / 0.963 GB, free: 6.227 MB / 0.9167 GB " [Timeout remaining time 293] (rm -f Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.Or.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.Or.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.Or.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.Or.sim & python3 -m fmpy simulate --output-file Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.Or_res.csv --start-time 0 --stop-time 10 --timeout 400 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.004 Buildings_11_Buildings_Controls_OBC_CDL_Logical_Validation_Or.fmu > Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.Or.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.Or_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_OBC_CDL_Logical_Validation_Or.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_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_11_Buildings.Controls.OBC.CDL.Logical.Validation.Or_res.csv. Warning: Get data of variable or1.u1 from file Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.Or_res.csv failed! Error: Could not read variable or1.u2 in file Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.Or_res.csv. Warning: Get data of variable or1.u2 from file Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.Or_res.csv failed! Error: Could not read variable or1.y in file Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.Or_res.csv. Warning: Get data of variable or1.y from file Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.Or_res.csv failed! " [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 10.825780171900988]