Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.Or.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Logical.Validation.Or,fileNamePrefix="Buildings_10_Buildings_Controls_OBC_CDL_Logical_Validation_Or",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Logical.Validation.Or,fileNamePrefix="Buildings_10_Buildings_Controls_OBC_CDL_Logical_Validation_Or",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.02242/0.02242, allocations: 100.6 kB / 15.73 MB, free: 6.008 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002735/0.002734, allocations: 189.5 kB / 16.67 MB, free: 5.934 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 2.767/2.767, allocations: 222.9 MB / 240.4 MB, free: 15.07 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 4.959/4.959, allocations: 437.1 MB / 0.7105 GB, free: 4.316 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.002982/0.002981, allocations: 67.91 kB / 1.018 GB, free: 9.875 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.922/1.925, allocations: 151.6 MB / 1.166 GB, free: 3.746 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.Or): time 0.004142/1.93, allocations: 0.6523 MB / 1.167 GB, free: 3.098 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.003559/1.933, allocations: 1.185 MB / 1.168 GB, free: 1.898 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001279/1.933, allocations: 0 / 1.168 GB, free: 1.898 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 5.26e-05/1.933, allocations: 3.938 kB / 1.168 GB, free: 1.895 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 0.00015/1.934, allocations: 15.86 kB / 1.168 GB, free: 1.879 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.001288/1.935, allocations: 217 kB / 1.168 GB, free: 1.672 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 0.0004769/1.935, allocations: 183.7 kB / 1.168 GB, free: 1.492 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001788/1.936, allocations: 11.98 kB / 1.168 GB, free: 1.48 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001678/1.936, allocations: 67.89 kB / 1.168 GB, free: 1.414 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002509/1.936, allocations: 63.78 kB / 1.169 GB, free: 1.352 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 5.488e-05/1.936, allocations: 16 kB / 1.169 GB, free: 1.336 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001523/1.936, allocations: 35.92 kB / 1.169 GB, free: 1.301 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 3.475e-05/1.936, allocations: 8 kB / 1.169 GB, free: 1.293 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 0.0001573/1.937, allocations: 63.81 kB / 1.169 GB, free: 1.23 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.0003913/1.937, allocations: 151.2 kB / 1.169 GB, free: 1.086 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 8.085e-06/1.937, allocations: 0 / 1.169 GB, free: 1.086 MB / 0.8887 GB Notification: Performance of FrontEnd: time 2.986e-06/1.937, allocations: 0 / 1.169 GB, free: 1.086 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 9.888e-06/1.937, allocations: 0 / 1.169 GB, free: 1.086 MB / 0.8887 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.0009907/1.938, allocations: 438.7 kB / 1.169 GB, free: 0.5938 MB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 8.925e-05/1.938, allocations: 12.62 kB / 1.169 GB, free: 0.582 MB / 0.8887 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.481e-05/1.938, allocations: 34.75 kB / 1.169 GB, free: 0.5391 MB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.062e-05/1.938, allocations: 12.89 kB / 1.169 GB, free: 0.5273 MB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002221/1.939, allocations: 172.3 kB / 1.169 GB, free: 328 kB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.282e-05/1.939, allocations: 12.31 kB / 1.169 GB, free: 316 kB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.833e-05/1.939, allocations: 8.375 kB / 1.169 GB, free: 308 kB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001802/1.939, allocations: 46.23 kB / 1.169 GB, free: 256 kB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.734e-05/1.939, allocations: 3.938 kB / 1.169 GB, free: 252 kB / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.772e-05/1.939, allocations: 4 kB / 1.169 GB, free: 248 kB / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.794e-06/1.939, allocations: 8 kB / 1.17 GB, free: 240 kB / 0.8887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.234e-05/1.939, allocations: 12 kB / 1.17 GB, free: 228 kB / 0.8887 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008577/1.94, allocations: 348.7 kB / 1.17 GB, free: 15.83 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001217/1.94, allocations: 42.5 kB / 1.17 GB, free: 15.78 MB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.797e-05/1.94, allocations: 12.86 kB / 1.17 GB, free: 15.77 MB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 1.001e-05/1.94, allocations: 0 / 1.17 GB, free: 15.77 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002427/1.94, allocations: 79.45 kB / 1.17 GB, free: 15.68 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=7): time 2.584e-06/1.94, allocations: 0 / 1.17 GB, free: 15.68 MB / 0.9044 GB Notification: Performance of matching and sorting (n=7): time 0.0005986/1.941, allocations: 113.8 kB / 1.17 GB, free: 15.56 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.96e-05/1.941, allocations: 51.41 kB / 1.17 GB, free: 15.5 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003734/1.941, allocations: 117.8 kB / 1.17 GB, free: 15.37 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 5.521e-05/1.941, allocations: 30.08 kB / 1.17 GB, free: 15.34 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001366/1.942, allocations: 96.08 kB / 1.17 GB, free: 15.24 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 3.548e-05/1.942, allocations: 15.91 kB / 1.17 GB, free: 15.22 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000199/1.942, allocations: 49.69 kB / 1.17 GB, free: 15.17 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 0.0004811/1.942, allocations: 326.7 kB / 1.171 GB, free: 14.84 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002394/1.943, allocations: 55.95 kB / 1.171 GB, free: 14.79 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003797/1.943, allocations: 92.27 kB / 1.171 GB, free: 14.68 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004041/1.943, allocations: 163.5 kB / 1.171 GB, free: 14.49 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.178e-06/1.943, allocations: 3.938 kB / 1.171 GB, free: 14.49 MB / 0.9044 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.000758/1.944, allocations: 264.9 kB / 1.171 GB, free: 14.21 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001127/1.944, allocations: 67.39 kB / 1.171 GB, free: 14.13 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.929e-06/1.944, allocations: 0 / 1.171 GB, free: 14.13 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.502e-05/1.944, allocations: 8.125 kB / 1.171 GB, free: 14.12 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.83e-05/1.944, allocations: 0 / 1.171 GB, free: 14.12 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.748e-05/1.944, allocations: 8.062 kB / 1.171 GB, free: 14.12 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005419/1.945, allocations: 55.83 kB / 1.171 GB, free: 14.06 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.544e-05/1.945, allocations: 15.97 kB / 1.171 GB, free: 14.05 MB / 0.9044 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.0002586/1.945, allocations: 131.8 kB / 1.172 GB, free: 13.91 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.871e-05/1.945, allocations: 11.95 kB / 1.172 GB, free: 13.9 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.494e-05/1.945, allocations: 8.359 kB / 1.172 GB, free: 13.89 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.42e-06/1.946, allocations: 0 / 1.172 GB, free: 13.89 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.12e-05/1.946, allocations: 0 / 1.172 GB, free: 13.89 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.372e-06/1.946, allocations: 4 kB / 1.172 GB, free: 13.88 MB / 0.9044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002971/1.946, allocations: 173.7 kB / 1.172 GB, free: 13.66 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.562e-06/1.946, allocations: 4 kB / 1.172 GB, free: 13.66 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.087e-05/1.946, allocations: 4 kB / 1.172 GB, free: 13.66 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.685e-06/1.946, allocations: 0 / 1.172 GB, free: 13.66 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.756e-05/1.946, allocations: 3.984 kB / 1.172 GB, free: 13.65 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.405e-06/1.946, allocations: 4 kB / 1.172 GB, free: 13.65 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.495e-06/1.946, allocations: 4.094 kB / 1.172 GB, free: 13.64 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002709/1.946, allocations: 116.9 kB / 1.172 GB, free: 13.51 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 7.823e-05/1.946, allocations: 81.11 kB / 1.172 GB, free: 13.41 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.371e-05/1.946, allocations: 0 / 1.172 GB, free: 13.41 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.874e-05/1.946, allocations: 0 / 1.172 GB, free: 13.41 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.939e-05/1.946, allocations: 7.984 kB / 1.172 GB, free: 13.41 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.075e-05/1.947, allocations: 8 kB / 1.172 GB, free: 13.4 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 0.0002475/1.947, allocations: 95.27 kB / 1.172 GB, free: 13.3 MB / 0.9044 GB Notification: Performance of sort global known variables: time 5.31e-07/1.947, allocations: 0 / 1.172 GB, free: 13.3 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.0003635/1.947, allocations: 27.94 kB / 1.172 GB, free: 13.28 MB / 0.9044 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.001102/1.948, allocations: 0.6553 MB / 1.173 GB, free: 12.59 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.000803/1.949, allocations: 250.7 kB / 1.173 GB, free: 12.32 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 3.296e-06/1.949, allocations: 0 / 1.173 GB, free: 12.32 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 9.045e-05/1.949, allocations: 27.98 kB / 1.173 GB, free: 12.3 MB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004952/1.95, allocations: 22.36 kB / 1.173 GB, free: 12.28 MB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004298/1.954, allocations: 1.714 MB / 1.175 GB, free: 10.45 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009555/1.955, allocations: 0.6851 MB / 1.175 GB, free: 9.734 MB / 0.9044 GB Notification: Performance of simCode: alias equations: time 7.031e-05/1.955, allocations: 4 kB / 1.175 GB, free: 9.73 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001064/1.955, allocations: 23.42 kB / 1.175 GB, free: 9.707 MB / 0.9044 GB Notification: Performance of SimCode: time 2.214e-06/1.955, allocations: 4 kB / 1.175 GB, free: 9.703 MB / 0.9044 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04294/1.998, allocations: 2.873 MB / 1.178 GB, free: 6.934 MB / 0.9044 GB Notification: Performance of buildModelFMU: Generate platform static: time 17.35/19.35, allocations: 10.47 kB / 1.178 GB, free: 6.93 MB / 0.9044 GB (rm -f Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.Or.pipe ; mkfifo Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.Or.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.Or.pipe >> ../files/Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.Or.sim & python3 -m fmpy simulate --output-file Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.Or_res.csv --start-time 0 --stop-time 10 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.004 Buildings_10_Buildings_Controls_OBC_CDL_Logical_Validation_Or.fmu > Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.Or.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.Or_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_OBC_CDL_Logical_Validation_Or.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.Or.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches