Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001339/0.001339, allocations: 103.6 kB / 18.95 MB, free: 2.66 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.001532/0.001532, allocations: 215.7 kB / 22.25 MB, free: 5.258 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.484/1.484, allocations: 230.6 MB / 256 MB, free: 7.797 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.289/3.289, allocations: 0.49 GB / 0.7951 GB, free: 35.51 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.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_12_Buildings_Controls_OBC_CDL_Logical_Validation_Or",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Logical.Validation.Or,fileNamePrefix="Buildings_12_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.0021/0.0021, allocations: 72.05 kB / 1.154 GB, free: 25.47 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3922/0.3943, allocations: 176.1 MB / 1.326 GB, free: 1.559 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.Or): time 0.002149/0.3964, allocations: 0.6555 MB / 1.327 GB, free: 0.9102 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.001878/0.3983, allocations: 1.202 MB / 1.328 GB, free: 15.7 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.637e-05/0.3983, allocations: 0 / 1.328 GB, free: 15.7 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 3.437e-05/0.3984, allocations: 3.938 kB / 1.328 GB, free: 15.69 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 8.411e-05/0.3985, allocations: 15.92 kB / 1.328 GB, free: 15.68 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.000745/0.3992, allocations: 210.7 kB / 1.328 GB, free: 15.47 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.000288/0.3995, allocations: 175.7 kB / 1.328 GB, free: 15.3 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001039/0.3996, allocations: 11.98 kB / 1.328 GB, free: 15.29 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001318/0.3997, allocations: 71.89 kB / 1.328 GB, free: 15.22 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001533/0.3999, allocations: 63.84 kB / 1.328 GB, free: 15.16 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 3.883e-05/0.3999, allocations: 12 kB / 1.328 GB, free: 15.14 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 9.233e-05/0.4, allocations: 35.98 kB / 1.328 GB, free: 15.11 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 2.522e-05/0.4, allocations: 8 kB / 1.328 GB, free: 15.1 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.0001015/0.4001, allocations: 59.81 kB / 1.328 GB, free: 15.04 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0002285/0.4004, allocations: 143.9 kB / 1.328 GB, free: 14.9 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 4.368e-06/0.4004, allocations: 0 / 1.328 GB, free: 14.9 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.553e-06/0.4004, allocations: 0 / 1.328 GB, free: 14.9 MB / 1.029 GB Notification: Performance of Transformations before backend: time 6.191e-06/0.4004, allocations: 0 / 1.328 GB, free: 14.9 MB / 1.029 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.0005503/0.4009, allocations: 365.4 kB / 1.329 GB, free: 14.5 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.272e-05/0.401, allocations: 12.02 kB / 1.329 GB, free: 14.49 MB / 1.029 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.082e-05/0.401, allocations: 34.75 kB / 1.329 GB, free: 14.45 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.921e-05/0.4011, allocations: 12.94 kB / 1.329 GB, free: 14.43 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001223/0.4012, allocations: 110.5 kB / 1.329 GB, free: 14.3 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.859e-05/0.4012, allocations: 4.375 kB / 1.329 GB, free: 14.3 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.943e-05/0.4012, allocations: 8.375 kB / 1.329 GB, free: 14.29 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00012/0.4014, allocations: 54.23 kB / 1.329 GB, free: 14.23 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.258e-06/0.4014, allocations: 3.938 kB / 1.329 GB, free: 14.23 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.726e-06/0.4014, allocations: 7.875 kB / 1.329 GB, free: 14.22 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.797e-06/0.4014, allocations: 0 / 1.329 GB, free: 14.22 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.689e-05/0.4014, allocations: 23.92 kB / 1.329 GB, free: 14.2 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004966/0.4019, allocations: 299.8 kB / 1.329 GB, free: 13.86 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 8.901e-05/0.402, allocations: 30.58 kB / 1.329 GB, free: 13.82 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.309e-05/0.402, allocations: 16.94 kB / 1.329 GB, free: 13.8 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 1.262e-05/0.4021, allocations: 4 kB / 1.329 GB, free: 13.8 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000201/0.4023, allocations: 83.27 kB / 1.329 GB, free: 13.7 MB / 1.029 GB Notification: Performance of pre-optimization done (n=7): time 1.212e-06/0.4023, allocations: 0 / 1.329 GB, free: 13.7 MB / 1.029 GB Notification: Performance of matching and sorting (n=7): time 0.0002635/0.4025, allocations: 101.6 kB / 1.33 GB, free: 13.6 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.764e-05/0.4026, allocations: 55.41 kB / 1.33 GB, free: 13.53 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001124/0.4027, allocations: 117.8 kB / 1.33 GB, free: 13.41 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 3.806e-05/0.4027, allocations: 29.7 kB / 1.33 GB, free: 13.37 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 7.484e-05/0.4028, allocations: 96.12 kB / 1.33 GB, free: 13.27 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 1.604e-05/0.4028, allocations: 15.84 kB / 1.33 GB, free: 13.26 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.518e-05/0.4029, allocations: 53.69 kB / 1.33 GB, free: 13.2 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001775/0.4031, allocations: 322.8 kB / 1.33 GB, free: 12.88 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001747/0.4033, allocations: 119.4 kB / 1.33 GB, free: 12.75 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002021/0.4035, allocations: 157.4 kB / 1.33 GB, free: 12.57 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002048/0.4037, allocations: 155.6 kB / 1.331 GB, free: 12.39 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.465e-06/0.4037, allocations: 480 / 1.331 GB, free: 12.39 MB / 1.029 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0005016/0.4042, allocations: 332.2 kB / 1.331 GB, free: 12.03 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 7.227e-05/0.4043, allocations: 67.39 kB / 1.331 GB, free: 11.95 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.43e-06/0.4043, allocations: 0 / 1.331 GB, free: 11.95 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.887e-05/0.4043, allocations: 4 kB / 1.331 GB, free: 11.95 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.183e-05/0.4043, allocations: 3.938 kB / 1.331 GB, free: 11.95 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.945e-06/0.4043, allocations: 4 kB / 1.331 GB, free: 11.94 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003365/0.4046, allocations: 60.02 kB / 1.331 GB, free: 11.88 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.071e-05/0.4047, allocations: 11.98 kB / 1.331 GB, free: 11.87 MB / 1.029 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.0001124/0.4048, allocations: 128.9 kB / 1.331 GB, free: 11.74 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.047e-05/0.4048, allocations: 7.984 kB / 1.331 GB, free: 11.73 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.057e-05/0.4048, allocations: 8.375 kB / 1.331 GB, free: 11.72 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.719e-06/0.4048, allocations: 4 kB / 1.331 GB, free: 11.71 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.787e-05/0.4049, allocations: 0 / 1.331 GB, free: 11.71 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.558e-06/0.4049, allocations: 0 / 1.331 GB, free: 11.71 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001365/0.405, allocations: 152.6 kB / 1.331 GB, free: 11.52 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.253e-06/0.405, allocations: 0 / 1.331 GB, free: 11.52 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.925e-06/0.405, allocations: 4 kB / 1.331 GB, free: 11.52 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.824e-06/0.405, allocations: 0 / 1.331 GB, free: 11.52 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.046e-05/0.405, allocations: 4 kB / 1.331 GB, free: 11.52 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.542e-06/0.405, allocations: 3.938 kB / 1.331 GB, free: 11.51 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.71e-07/0.405, allocations: 0 / 1.331 GB, free: 11.51 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001561/0.4052, allocations: 113 kB / 1.332 GB, free: 11.38 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 1.253e-05/0.4052, allocations: 7.953 kB / 1.332 GB, free: 11.38 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.924e-05/0.4052, allocations: 8.062 kB / 1.332 GB, free: 11.37 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.021e-05/0.4052, allocations: 3.984 kB / 1.332 GB, free: 11.36 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.711e-05/0.4053, allocations: 7.984 kB / 1.332 GB, free: 11.36 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.234e-06/0.4053, allocations: 4 kB / 1.332 GB, free: 11.35 MB / 1.029 GB Notification: Performance of sorting global known variables: time 6.012e-05/0.4053, allocations: 95.27 kB / 1.332 GB, free: 11.26 MB / 1.029 GB Notification: Performance of sort global known variables: time 8e-08/0.4053, allocations: 0 / 1.332 GB, free: 11.26 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.000235/0.4056, allocations: 28 kB / 1.332 GB, free: 11.23 MB / 1.029 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.0005025/0.4061, allocations: 0.6559 MB / 1.332 GB, free: 10.55 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0003888/0.4065, allocations: 282.2 kB / 1.333 GB, free: 10.23 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.264e-06/0.4065, allocations: 0 / 1.333 GB, free: 10.23 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 4.789e-05/0.4065, allocations: 23.92 kB / 1.333 GB, free: 10.21 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002414/0.4068, allocations: 21.95 kB / 1.333 GB, free: 10.19 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002212/0.409, allocations: 1.959 MB / 1.335 GB, free: 8.062 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.292e-05/0.409, allocations: 75.23 kB / 1.335 GB, free: 7.969 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 2.609e-05/0.4091, allocations: 4 kB / 1.335 GB, free: 7.965 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.507e-05/0.4091, allocations: 19.44 kB / 1.335 GB, free: 7.945 MB / 1.029 GB Notification: Performance of SimCode: time 3.91e-07/0.4091, allocations: 0 / 1.335 GB, free: 7.945 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03092/0.44, allocations: 3.658 MB / 1.338 GB, free: 4.449 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.12/11.56, allocations: 4.719 kB / 1.338 GB, free: 4.449 MB / 1.029 GB " [Timeout remaining time 288] (rm -f Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.Or.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.Or.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.Or.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.Or.sim & python3 -m fmpy simulate --output-file Buildings_12_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_12_Buildings_Controls_OBC_CDL_Logical_Validation_Or.fmu > Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.Or.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.Or_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Controls_OBC_CDL_Logical_Validation_Or.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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_12_Buildings.Controls.OBC.CDL.Logical.Validation.Or_res.csv. Warning: Get data of variable or1.u1 from file Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.Or_res.csv failed! Error: Could not read variable or1.u2 in file Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.Or_res.csv. Warning: Get data of variable or1.u2 from file Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.Or_res.csv failed! Error: Could not read variable or1.y in file Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.Or_res.csv. Warning: Get data of variable or1.y from file Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.Or_res.csv failed! " [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 18.556594661000418]