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.001764/0.001764, allocations: 109.2 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.002235/0.002235, allocations: 219.6 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.598/1.598, allocations: 230.6 MB / 256 MB, free: 8.004 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.381/3.381, allocations: 0.505 GB / 0.8101 GB, free: 22.01 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.002079/0.002079, allocations: 71.36 kB / 1.177 GB, free: 17.06 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3894/0.3914, allocations: 180.2 MB / 1.353 GB, free: 8.445 MB / 1.045 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.Or): time 0.002182/0.3936, allocations: 0.6567 MB / 1.354 GB, free: 7.789 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.00194/0.3956, allocations: 1.226 MB / 1.355 GB, free: 6.551 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.016e-05/0.3956, allocations: 0 / 1.355 GB, free: 6.551 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 3.801e-05/0.3957, allocations: 3.938 kB / 1.355 GB, free: 6.547 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 0.0001064/0.3958, allocations: 11.91 kB / 1.355 GB, free: 6.535 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008671/0.3967, allocations: 220.6 kB / 1.355 GB, free: 6.324 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 0.0002696/0.3969, allocations: 179.6 kB / 1.355 GB, free: 6.148 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001006/0.397, allocations: 8 kB / 1.355 GB, free: 6.141 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001201/0.3971, allocations: 71.88 kB / 1.355 GB, free: 6.07 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001375/0.3973, allocations: 63.84 kB / 1.355 GB, free: 6.008 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 3.513e-05/0.3973, allocations: 16 kB / 1.355 GB, free: 5.992 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 8.557e-05/0.3974, allocations: 27.98 kB / 1.355 GB, free: 5.965 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 2.331e-05/0.3974, allocations: 7.938 kB / 1.355 GB, free: 5.957 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 9.761e-05/0.3975, allocations: 63.88 kB / 1.355 GB, free: 5.895 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.0002633/0.3978, allocations: 147.8 kB / 1.355 GB, free: 5.75 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 5.53e-06/0.3978, allocations: 4 kB / 1.355 GB, free: 5.746 MB / 1.045 GB Notification: Performance of FrontEnd: time 1.603e-06/0.3978, allocations: 0 / 1.355 GB, free: 5.746 MB / 1.045 GB Notification: Performance of Transformations before backend: time 7.545e-06/0.3978, allocations: 0 / 1.355 GB, free: 5.746 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.0006019/0.3984, allocations: 357.5 kB / 1.356 GB, free: 5.352 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 4.103e-05/0.3984, allocations: 12.03 kB / 1.356 GB, free: 5.34 MB / 1.045 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.484e-05/0.3985, allocations: 42.67 kB / 1.356 GB, free: 5.289 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.242e-05/0.3985, allocations: 12.89 kB / 1.356 GB, free: 5.277 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001216/0.3987, allocations: 106.5 kB / 1.356 GB, free: 5.148 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.768e-05/0.3987, allocations: 4.375 kB / 1.356 GB, free: 5.145 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.147e-05/0.3987, allocations: 16.38 kB / 1.356 GB, free: 5.129 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001219/0.3988, allocations: 46.23 kB / 1.356 GB, free: 5.078 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.025e-05/0.3988, allocations: 7.938 kB / 1.356 GB, free: 5.07 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.548e-06/0.3989, allocations: 0 / 1.356 GB, free: 5.07 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.348e-06/0.3989, allocations: 0 / 1.356 GB, free: 5.07 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.022e-05/0.3989, allocations: 19.92 kB / 1.356 GB, free: 5.051 MB / 1.045 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005713/0.3995, allocations: 335.7 kB / 1.356 GB, free: 4.68 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 8.321e-05/0.3996, allocations: 38.56 kB / 1.356 GB, free: 4.633 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.953e-05/0.3996, allocations: 12.86 kB / 1.356 GB, free: 4.617 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 6.462e-06/0.3996, allocations: 0 / 1.356 GB, free: 4.617 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002127/0.3998, allocations: 83.39 kB / 1.357 GB, free: 4.523 MB / 1.045 GB Notification: Performance of pre-optimization done (n=7): time 1.062e-06/0.3998, allocations: 0 / 1.357 GB, free: 4.523 MB / 1.045 GB Notification: Performance of matching and sorting (n=7): time 0.0002677/0.4001, allocations: 101.6 kB / 1.357 GB, free: 4.418 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.721e-05/0.4001, allocations: 51.41 kB / 1.357 GB, free: 4.355 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001084/0.4002, allocations: 121.8 kB / 1.357 GB, free: 4.227 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 3.507e-05/0.4003, allocations: 33.7 kB / 1.357 GB, free: 4.188 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 7.54e-05/0.4003, allocations: 100.1 kB / 1.357 GB, free: 4.086 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 1.598e-05/0.4004, allocations: 7.953 kB / 1.357 GB, free: 4.078 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.264e-05/0.4005, allocations: 49.69 kB / 1.357 GB, free: 4.023 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0001505/0.4006, allocations: 326.7 kB / 1.357 GB, free: 3.695 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001313/0.4007, allocations: 63.95 kB / 1.357 GB, free: 3.633 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001524/0.4009, allocations: 92.27 kB / 1.357 GB, free: 3.527 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002072/0.4011, allocations: 155.6 kB / 1.358 GB, free: 3.348 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.663e-06/0.4011, allocations: 0 / 1.358 GB, free: 3.348 MB / 1.045 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0005307/0.4016, allocations: 268.8 kB / 1.358 GB, free: 3.066 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 6.636e-05/0.4017, allocations: 67.39 kB / 1.358 GB, free: 2.988 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.853e-06/0.4017, allocations: 4 kB / 1.358 GB, free: 2.984 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.213e-05/0.4017, allocations: 0 / 1.358 GB, free: 2.984 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.048e-05/0.4017, allocations: 4 kB / 1.358 GB, free: 2.98 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.664e-06/0.4017, allocations: 3.938 kB / 1.358 GB, free: 2.977 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003335/0.4021, allocations: 60.48 kB / 1.358 GB, free: 2.918 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.426e-05/0.4021, allocations: 11.98 kB / 1.358 GB, free: 2.906 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.0001484/0.4023, allocations: 133.7 kB / 1.358 GB, free: 2.766 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.327e-05/0.4023, allocations: 3.953 kB / 1.358 GB, free: 2.762 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.123e-05/0.4023, allocations: 16.36 kB / 1.358 GB, free: 2.746 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.964e-06/0.4023, allocations: 3.938 kB / 1.358 GB, free: 2.742 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.028e-06/0.4023, allocations: 0 / 1.358 GB, free: 2.742 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.116e-06/0.4023, allocations: 0 / 1.358 GB, free: 2.742 MB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001522/0.4025, allocations: 148.7 kB / 1.358 GB, free: 2.555 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.52e-07/0.4025, allocations: 4 kB / 1.358 GB, free: 2.551 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.905e-06/0.4025, allocations: 0 / 1.358 GB, free: 2.551 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.727e-06/0.4025, allocations: 4 kB / 1.358 GB, free: 2.547 MB / 1.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.171e-05/0.4025, allocations: 7.984 kB / 1.358 GB, free: 2.539 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.473e-06/0.4025, allocations: 320 / 1.358 GB, free: 2.539 MB / 1.045 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.02e-07/0.4025, allocations: 0 / 1.358 GB, free: 2.539 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001506/0.4026, allocations: 113 kB / 1.358 GB, free: 2.41 MB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 9.628e-06/0.4027, allocations: 3.953 kB / 1.358 GB, free: 2.406 MB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.869e-05/0.4027, allocations: 12.06 kB / 1.358 GB, free: 2.395 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.062e-05/0.4027, allocations: 4 kB / 1.358 GB, free: 2.391 MB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.545e-05/0.4027, allocations: 7.984 kB / 1.358 GB, free: 2.383 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.989e-06/0.4027, allocations: 0 / 1.358 GB, free: 2.383 MB / 1.045 GB Notification: Performance of sorting global known variables: time 6.456e-05/0.4028, allocations: 91.27 kB / 1.359 GB, free: 2.293 MB / 1.045 GB Notification: Performance of sort global known variables: time 7e-08/0.4028, allocations: 0 / 1.359 GB, free: 2.293 MB / 1.045 GB Notification: Performance of remove unused functions: time 0.0002357/0.403, allocations: 32 kB / 1.359 GB, free: 2.262 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.0006782/0.4037, allocations: 0.6591 MB / 1.359 GB, free: 1.574 MB / 1.045 GB Notification: Performance of simCode: created initialization part: time 0.000363/0.4041, allocations: 214.7 kB / 1.359 GB, free: 1.34 MB / 1.045 GB Notification: Performance of simCode: created event and clocks part: time 2.585e-06/0.4041, allocations: 0 / 1.359 GB, free: 1.34 MB / 1.045 GB Notification: Performance of simCode: created simulation system equations: time 4.952e-05/0.4041, allocations: 23.98 kB / 1.359 GB, free: 1.316 MB / 1.045 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002407/0.4044, allocations: 13.95 kB / 1.359 GB, free: 1.305 MB / 1.045 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002109/0.4065, allocations: 1.723 MB / 1.361 GB, free: 15.46 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003342/0.4068, allocations: 0.6924 MB / 1.362 GB, free: 14.74 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 2.579e-05/0.4068, allocations: 4 kB / 1.362 GB, free: 14.74 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.166e-05/0.4069, allocations: 23.42 kB / 1.362 GB, free: 14.71 MB / 1.061 GB Notification: Performance of SimCode: time 4.21e-07/0.4069, allocations: 0 / 1.362 GB, free: 14.71 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03018/0.4371, allocations: 3.016 MB / 1.365 GB, free: 11.85 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.06/11.5, allocations: 21.88 kB / 1.365 GB, free: 11.83 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Or_res.mat --tempDir=temp_Buildings_latest_Buildings_Controls_OBC_CDL_Logical_Validation_Or_fmu --startTime=0 --stopTime=10 --stepSize=0.004 --timeout=800 --tolerance=1e-06 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.mat","/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] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 18.700803498970345]