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.001522/0.001522, allocations: 114.3 kB / 18.94 MB, free: 2.934 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.001611/0.001611, allocations: 219 kB / 22.26 MB, free: 5.082 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.53/1.53, allocations: 230.6 MB / 256 MB, free: 8.016 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.224/3.224, allocations: 0.49 GB / 0.7951 GB, free: 33.29 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.002059/0.002059, allocations: 68.56 kB / 1.154 GB, free: 25.91 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3996/0.4017, allocations: 176.1 MB / 1.326 GB, free: 2.074 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.Or): time 0.002014/0.4037, allocations: 0.6559 MB / 1.327 GB, free: 1.422 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.001672/0.4054, allocations: 1.222 MB / 1.328 GB, free: 192 kB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.724e-05/0.4054, allocations: 0 / 1.328 GB, free: 192 kB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 3.544e-05/0.4054, allocations: 3.938 kB / 1.328 GB, free: 188 kB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 8.054e-05/0.4055, allocations: 27.78 kB / 1.328 GB, free: 160 kB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006794/0.4062, allocations: 211.1 kB / 1.328 GB, free: 15.96 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0002489/0.4065, allocations: 175.7 kB / 1.328 GB, free: 15.79 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 9.531e-05/0.4065, allocations: 4 kB / 1.328 GB, free: 15.78 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001073/0.4067, allocations: 75.88 kB / 1.328 GB, free: 15.71 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001404/0.4068, allocations: 63.84 kB / 1.328 GB, free: 15.64 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 3.913e-05/0.4068, allocations: 16 kB / 1.328 GB, free: 15.63 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 8.365e-05/0.4069, allocations: 35.98 kB / 1.328 GB, free: 15.59 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 2.284e-05/0.4069, allocations: 11.94 kB / 1.328 GB, free: 15.58 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 7.929e-05/0.407, allocations: 51.89 kB / 1.328 GB, free: 15.53 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0002168/0.4072, allocations: 151.8 kB / 1.329 GB, free: 15.38 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 7.564e-06/0.4072, allocations: 3.984 kB / 1.329 GB, free: 15.38 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.332e-06/0.4072, allocations: 3.938 kB / 1.329 GB, free: 15.38 MB / 1.029 GB Notification: Performance of Transformations before backend: time 6.222e-06/0.4073, allocations: 0 / 1.329 GB, free: 15.38 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.0005311/0.4078, allocations: 361.5 kB / 1.329 GB, free: 14.98 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.07e-05/0.4078, allocations: 12.03 kB / 1.329 GB, free: 14.96 MB / 1.029 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.014e-05/0.4079, allocations: 38.73 kB / 1.329 GB, free: 14.92 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.658e-05/0.4079, allocations: 8.938 kB / 1.329 GB, free: 14.91 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001213/0.408, allocations: 110.5 kB / 1.329 GB, free: 14.78 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.354e-05/0.408, allocations: 4.375 kB / 1.329 GB, free: 14.77 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.722e-05/0.4081, allocations: 20.36 kB / 1.329 GB, free: 14.75 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001245/0.4082, allocations: 50.17 kB / 1.329 GB, free: 14.7 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.017e-05/0.4082, allocations: 3.938 kB / 1.329 GB, free: 14.7 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.867e-06/0.4082, allocations: 0 / 1.329 GB, free: 14.7 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.328e-06/0.4082, allocations: 0 / 1.329 GB, free: 14.7 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.832e-05/0.4083, allocations: 12 kB / 1.329 GB, free: 14.68 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004965/0.4088, allocations: 335.8 kB / 1.329 GB, free: 14.31 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 7.495e-05/0.4088, allocations: 30.56 kB / 1.329 GB, free: 14.27 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.917e-05/0.4089, allocations: 16.8 kB / 1.33 GB, free: 14.25 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 6.943e-06/0.4089, allocations: 0 / 1.33 GB, free: 14.25 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001728/0.4091, allocations: 83.47 kB / 1.33 GB, free: 14.16 MB / 1.029 GB Notification: Performance of pre-optimization done (n=7): time 1.162e-06/0.4091, allocations: 0 / 1.33 GB, free: 14.16 MB / 1.029 GB Notification: Performance of matching and sorting (n=7): time 0.0002389/0.4093, allocations: 101.6 kB / 1.33 GB, free: 14.05 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.067e-05/0.4093, allocations: 59.34 kB / 1.33 GB, free: 13.98 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000106/0.4094, allocations: 121.7 kB / 1.33 GB, free: 13.86 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 3.53e-05/0.4095, allocations: 33.7 kB / 1.33 GB, free: 13.82 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 7.807e-05/0.4096, allocations: 88.12 kB / 1.33 GB, free: 13.73 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 2.199e-05/0.4096, allocations: 19.89 kB / 1.33 GB, free: 13.71 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.868e-05/0.4097, allocations: 49.69 kB / 1.33 GB, free: 13.65 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001394/0.4098, allocations: 322.8 kB / 1.33 GB, free: 13.33 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001393/0.41, allocations: 64.33 kB / 1.33 GB, free: 13.27 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001422/0.4101, allocations: 84.27 kB / 1.33 GB, free: 13.17 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002036/0.4103, allocations: 163.6 kB / 1.331 GB, free: 12.98 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.913e-06/0.4103, allocations: 0 / 1.331 GB, free: 12.98 MB / 1.029 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0004237/0.4107, allocations: 264.8 kB / 1.331 GB, free: 12.7 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 6.503e-05/0.4108, allocations: 71.39 kB / 1.331 GB, free: 12.62 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.438e-06/0.4108, allocations: 0 / 1.331 GB, free: 12.62 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.626e-05/0.4108, allocations: 4 kB / 1.331 GB, free: 12.62 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.576e-05/0.4108, allocations: 4.062 kB / 1.331 GB, free: 12.61 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.684e-06/0.4108, allocations: 8 kB / 1.331 GB, free: 12.61 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003453/0.4112, allocations: 55.89 kB / 1.331 GB, free: 12.55 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.054e-05/0.4112, allocations: 11.98 kB / 1.331 GB, free: 12.54 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.0001065/0.4113, allocations: 122.3 kB / 1.331 GB, free: 12.41 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.268e-05/0.4113, allocations: 4 kB / 1.331 GB, free: 12.41 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.781e-05/0.4114, allocations: 12.38 kB / 1.331 GB, free: 12.39 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.557e-06/0.4114, allocations: 3.984 kB / 1.331 GB, free: 12.39 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.33e-06/0.4114, allocations: 4.062 kB / 1.331 GB, free: 12.38 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.775e-06/0.4114, allocations: 0 / 1.331 GB, free: 12.38 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001418/0.4115, allocations: 152.6 kB / 1.331 GB, free: 12.19 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.052e-06/0.4115, allocations: 0 / 1.331 GB, free: 12.19 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.705e-06/0.4115, allocations: 7.938 kB / 1.331 GB, free: 12.18 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.273e-06/0.4115, allocations: 0 / 1.331 GB, free: 12.18 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.084e-05/0.4115, allocations: 7.984 kB / 1.331 GB, free: 12.18 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.062e-06/0.4115, allocations: 0 / 1.331 GB, free: 12.18 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.91e-07/0.4115, allocations: 4 kB / 1.331 GB, free: 12.17 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001774/0.4117, allocations: 109.3 kB / 1.331 GB, free: 12.05 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 1.311e-05/0.4117, allocations: 11.95 kB / 1.331 GB, free: 12.04 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.427e-05/0.4117, allocations: 0 / 1.331 GB, free: 12.04 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.758e-05/0.4118, allocations: 0 / 1.331 GB, free: 12.04 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.664e-05/0.4118, allocations: 7.984 kB / 1.331 GB, free: 12.03 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.436e-06/0.4118, allocations: 11.88 kB / 1.331 GB, free: 12.02 MB / 1.029 GB Notification: Performance of sorting global known variables: time 5.794e-05/0.4119, allocations: 95.2 kB / 1.332 GB, free: 11.92 MB / 1.029 GB Notification: Performance of sort global known variables: time 1.2e-07/0.4119, allocations: 4 kB / 1.332 GB, free: 11.92 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0002728/0.4121, allocations: 28 kB / 1.332 GB, free: 11.89 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.0005547/0.4127, allocations: 0.6492 MB / 1.332 GB, free: 11.21 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0003509/0.413, allocations: 222.7 kB / 1.332 GB, free: 10.97 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 1.653e-06/0.413, allocations: 4.25 kB / 1.332 GB, free: 10.97 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 4.443e-05/0.4131, allocations: 23.92 kB / 1.332 GB, free: 10.95 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002242/0.4133, allocations: 11.98 kB / 1.332 GB, free: 10.93 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002005/0.4153, allocations: 1.716 MB / 1.334 GB, free: 9.098 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003499/0.4157, allocations: 0.6923 MB / 1.335 GB, free: 8.379 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 2.698e-05/0.4157, allocations: 4 kB / 1.335 GB, free: 8.375 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.297e-05/0.4157, allocations: 19.42 kB / 1.335 GB, free: 8.355 MB / 1.029 GB Notification: Performance of SimCode: time 6.31e-07/0.4157, allocations: 4 kB / 1.335 GB, free: 8.352 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03148/0.4472, allocations: 3.031 MB / 1.338 GB, free: 5.465 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.73/11.18, allocations: 11.06 kB / 1.338 GB, free: 5.461 MB / 1.029 GB " [Timeout remaining time 289] (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.101783129999603]