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.001672/0.001672, allocations: 110.4 kB / 18.94 MB, free: 2.949 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.001639/0.001639, allocations: 221.5 kB / 22.26 MB, free: 5.125 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.477/1.477, allocations: 230.6 MB / 256 MB, free: 7.988 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.369/3.369, allocations: 0.505 GB / 0.8101 GB, free: 22.07 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.002117/0.002117, allocations: 71.17 kB / 1.177 GB, free: 17.03 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3835/0.3856, allocations: 180.2 MB / 1.353 GB, free: 8.465 MB / 1.045 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.Or): time 0.001916/0.3875, allocations: 0.6606 MB / 1.354 GB, free: 7.805 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.001626/0.3891, allocations: 1.218 MB / 1.355 GB, free: 6.574 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.488e-05/0.3892, allocations: 0 / 1.355 GB, free: 6.574 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 2.699e-05/0.3892, allocations: 7.938 kB / 1.355 GB, free: 6.566 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 7.195e-05/0.3893, allocations: 15.91 kB / 1.355 GB, free: 6.551 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006525/0.3899, allocations: 212.5 kB / 1.355 GB, free: 6.348 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 0.0002545/0.3902, allocations: 179.7 kB / 1.355 GB, free: 6.172 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 8.024e-05/0.3903, allocations: 8 kB / 1.355 GB, free: 6.164 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 9.735e-05/0.3904, allocations: 67.88 kB / 1.355 GB, free: 6.098 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001475/0.3905, allocations: 71.84 kB / 1.355 GB, free: 6.027 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 3.817e-05/0.3905, allocations: 12 kB / 1.355 GB, free: 6.016 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 7.951e-05/0.3906, allocations: 31.98 kB / 1.355 GB, free: 5.984 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 2.435e-05/0.3906, allocations: 11.94 kB / 1.355 GB, free: 5.973 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 7.863e-05/0.3907, allocations: 51.89 kB / 1.355 GB, free: 5.922 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.0002226/0.3909, allocations: 151.8 kB / 1.355 GB, free: 5.773 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 4.789e-06/0.3909, allocations: 0 / 1.355 GB, free: 5.773 MB / 1.045 GB Notification: Performance of FrontEnd: time 1.573e-06/0.3909, allocations: 0 / 1.355 GB, free: 5.773 MB / 1.045 GB Notification: Performance of Transformations before backend: time 7.003e-06/0.391, allocations: 0 / 1.355 GB, free: 5.773 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.0005766/0.3915, allocations: 369.4 kB / 1.356 GB, free: 5.367 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 4.137e-05/0.3916, allocations: 12.03 kB / 1.356 GB, free: 5.355 MB / 1.045 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.418e-05/0.3916, allocations: 30.75 kB / 1.356 GB, free: 5.316 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.476e-05/0.3917, allocations: 12.89 kB / 1.356 GB, free: 5.305 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001078/0.3918, allocations: 114.5 kB / 1.356 GB, free: 5.168 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.95e-05/0.3918, allocations: 8.375 kB / 1.356 GB, free: 5.16 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.747e-05/0.3918, allocations: 8.375 kB / 1.356 GB, free: 5.152 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001087/0.3919, allocations: 54.17 kB / 1.356 GB, free: 5.094 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.588e-06/0.3919, allocations: 3.938 kB / 1.356 GB, free: 5.09 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.308e-06/0.392, allocations: 0 / 1.356 GB, free: 5.09 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.739e-06/0.392, allocations: 0 / 1.356 GB, free: 5.09 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.205e-05/0.392, allocations: 19.94 kB / 1.356 GB, free: 5.07 MB / 1.045 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005165/0.3925, allocations: 331.7 kB / 1.356 GB, free: 4.703 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 7.867e-05/0.3926, allocations: 30.56 kB / 1.356 GB, free: 4.664 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.827e-05/0.3926, allocations: 12.86 kB / 1.356 GB, free: 4.648 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 9.939e-06/0.3926, allocations: 0 / 1.356 GB, free: 4.648 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000205/0.3928, allocations: 91.41 kB / 1.357 GB, free: 4.547 MB / 1.045 GB Notification: Performance of pre-optimization done (n=7): time 1.152e-06/0.3928, allocations: 0 / 1.357 GB, free: 4.547 MB / 1.045 GB Notification: Performance of matching and sorting (n=7): time 0.0002524/0.3931, allocations: 101.6 kB / 1.357 GB, free: 4.441 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.364e-05/0.3931, allocations: 59.39 kB / 1.357 GB, free: 4.371 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001042/0.3933, allocations: 113.8 kB / 1.357 GB, free: 4.25 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 3.606e-05/0.3933, allocations: 33.7 kB / 1.357 GB, free: 4.211 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 7.258e-05/0.3934, allocations: 92.09 kB / 1.357 GB, free: 4.117 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 1.727e-05/0.3934, allocations: 15.88 kB / 1.357 GB, free: 4.102 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.625e-05/0.3935, allocations: 49.69 kB / 1.357 GB, free: 4.047 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0001368/0.3936, allocations: 326.7 kB / 1.357 GB, free: 3.719 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001362/0.3937, allocations: 59.95 kB / 1.357 GB, free: 3.66 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001482/0.3939, allocations: 90.77 kB / 1.357 GB, free: 3.559 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002011/0.3941, allocations: 160.1 kB / 1.358 GB, free: 3.375 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.154e-06/0.3941, allocations: 0 / 1.358 GB, free: 3.375 MB / 1.045 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0004246/0.3945, allocations: 268.8 kB / 1.358 GB, free: 3.094 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 6.621e-05/0.3946, allocations: 73.27 kB / 1.358 GB, free: 3.012 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.779e-06/0.3946, allocations: 0 / 1.358 GB, free: 3.012 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.628e-05/0.3946, allocations: 4 kB / 1.358 GB, free: 3.008 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.587e-05/0.3946, allocations: 8.062 kB / 1.358 GB, free: 3 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.528e-06/0.3946, allocations: 8 kB / 1.358 GB, free: 2.992 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000332/0.395, allocations: 47.89 kB / 1.358 GB, free: 2.945 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.959e-05/0.395, allocations: 15.98 kB / 1.358 GB, free: 2.93 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.0001142/0.3951, allocations: 131.2 kB / 1.358 GB, free: 2.793 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.57e-05/0.3951, allocations: 11.94 kB / 1.358 GB, free: 2.781 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.396e-05/0.3952, allocations: 12.38 kB / 1.358 GB, free: 2.77 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.843e-06/0.3952, allocations: 0 / 1.358 GB, free: 2.77 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.298e-06/0.3952, allocations: 0 / 1.358 GB, free: 2.77 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.561e-06/0.3952, allocations: 3.984 kB / 1.358 GB, free: 2.766 MB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001462/0.3953, allocations: 152.7 kB / 1.358 GB, free: 2.574 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.072e-06/0.3953, allocations: 0 / 1.358 GB, free: 2.574 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.039e-05/0.3953, allocations: 4 kB / 1.358 GB, free: 2.57 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.483e-06/0.3953, allocations: 0 / 1.358 GB, free: 2.57 MB / 1.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.893e-06/0.3953, allocations: 0 / 1.358 GB, free: 2.57 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.26e-06/0.3953, allocations: 7.922 kB / 1.358 GB, free: 2.562 MB / 1.045 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.62e-07/0.3953, allocations: 0 / 1.358 GB, free: 2.562 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001553/0.3955, allocations: 109.4 kB / 1.358 GB, free: 2.438 MB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 1.516e-05/0.3955, allocations: 11.94 kB / 1.358 GB, free: 2.426 MB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.452e-05/0.3955, allocations: 0 / 1.358 GB, free: 2.426 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.804e-05/0.3955, allocations: 0 / 1.358 GB, free: 2.426 MB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.943e-05/0.3956, allocations: 7.984 kB / 1.358 GB, free: 2.418 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.015e-05/0.3956, allocations: 8.062 kB / 1.358 GB, free: 2.41 MB / 1.045 GB Notification: Performance of sorting global known variables: time 5.524e-05/0.3957, allocations: 91.27 kB / 1.359 GB, free: 2.32 MB / 1.045 GB Notification: Performance of sort global known variables: time 1.01e-07/0.3957, allocations: 4 kB / 1.359 GB, free: 2.316 MB / 1.045 GB Notification: Performance of remove unused functions: time 0.0002333/0.3959, allocations: 24 kB / 1.359 GB, free: 2.293 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.0005319/0.3964, allocations: 0.6594 MB / 1.359 GB, free: 1.605 MB / 1.045 GB Notification: Performance of simCode: created initialization part: time 0.0003415/0.3968, allocations: 230.8 kB / 1.359 GB, free: 1.355 MB / 1.045 GB Notification: Performance of simCode: created event and clocks part: time 2.104e-06/0.3968, allocations: 4.062 kB / 1.359 GB, free: 1.352 MB / 1.045 GB Notification: Performance of simCode: created simulation system equations: time 4.443e-05/0.3968, allocations: 19.98 kB / 1.359 GB, free: 1.332 MB / 1.045 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002279/0.397, allocations: 15.98 kB / 1.359 GB, free: 1.316 MB / 1.045 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002061/0.3991, allocations: 1.72 MB / 1.361 GB, free: 15.47 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00034/0.3994, allocations: 0.6885 MB / 1.362 GB, free: 14.76 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 2.854e-05/0.3995, allocations: 4 kB / 1.362 GB, free: 14.75 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.074e-05/0.3995, allocations: 15.44 kB / 1.362 GB, free: 14.74 MB / 1.061 GB Notification: Performance of SimCode: time 2.91e-07/0.3995, allocations: 0 / 1.362 GB, free: 14.74 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03/0.4295, allocations: 3.035 MB / 1.365 GB, free: 11.85 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.67/11.1, allocations: 4.906 kB / 1.365 GB, free: 11.85 MB / 1.061 GB " [Timeout remaining time 289] (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: 18.184574788999726]