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: translateModel(Buildings.Controls.OBC.CDL.Logical.Validation.Or,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|or1.u1|or1.u2|or1.y",fileNamePrefix="Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.Or") translateModel(Buildings.Controls.OBC.CDL.Logical.Validation.Or,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|or1.u1|or1.u2|or1.y",fileNamePrefix="Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.Or") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001898/0.001898, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.002388/0.002387, allocations: 189.6 kB / 16.25 MB, free: 6.633 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.626/1.626, allocations: 222.9 MB / 239.9 MB, free: 4.539 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.824/2.824, allocations: 437 MB / 0.7101 GB, free: 5.219 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001982/0.001982, allocations: 79.86 kB / 0.8688 GB, free: 5.02 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8855/0.8875, allocations: 151.6 MB / 1.017 GB, free: 2.68 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.Or): time 0.002433/0.89, allocations: 0.7244 MB / 1.018 GB, free: 1.957 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.001855/0.8919, allocations: 1.183 MB / 1.019 GB, free: 0.7578 MB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.872e-05/0.8919, allocations: 0 / 1.019 GB, free: 0.7578 MB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 4.205e-05/0.892, allocations: 3.938 kB / 1.019 GB, free: 0.7539 MB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 8.058e-05/0.8921, allocations: 11.92 kB / 1.019 GB, free: 0.7422 MB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 0.000883/0.893, allocations: 203.2 kB / 1.019 GB, free: 0.5508 MB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 0.0002914/0.8933, allocations: 183.7 kB / 1.019 GB, free: 380 kB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001446/0.8934, allocations: 12 kB / 1.019 GB, free: 368 kB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001106/0.8935, allocations: 67.88 kB / 1.019 GB, free: 300 kB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001228/0.8937, allocations: 47.88 kB / 1.019 GB, free: 252 kB / 0.7637 GB Notification: Performance of NFPackage.collectConstants: time 4.706e-05/0.8937, allocations: 16 kB / 1.019 GB, free: 236 kB / 0.7637 GB Notification: Performance of NFFlatten.collectFunctions: time 9.781e-05/0.8938, allocations: 27.92 kB / 1.019 GB, free: 208 kB / 0.7637 GB Notification: Performance of NFScalarize.scalarize: time 3.257e-05/0.8939, allocations: 15.97 kB / 1.019 GB, free: 192 kB / 0.7637 GB Notification: Performance of NFVerifyModel.verify: time 9.717e-05/0.894, allocations: 55.84 kB / 1.019 GB, free: 136 kB / 0.7637 GB Notification: Performance of NFConvertDAE.convert: time 0.0002969/0.8943, allocations: 147.6 kB / 1.019 GB, free: 15.99 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 6.312e-06/0.8943, allocations: 0 / 1.019 GB, free: 15.99 MB / 0.7794 GB Notification: Performance of FrontEnd: time 2.705e-06/0.8943, allocations: 4 kB / 1.019 GB, free: 15.98 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 2.101e-05/0.8943, allocations: 0 / 1.019 GB, free: 15.98 MB / 0.7794 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.0007098/0.895, allocations: 436.6 kB / 1.02 GB, free: 15.5 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 4.152e-05/0.8951, allocations: 8.031 kB / 1.02 GB, free: 15.49 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.778e-05/0.8952, allocations: 12.92 kB / 1.02 GB, free: 15.48 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001697/0.8953, allocations: 176.2 kB / 1.02 GB, free: 15.27 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.042e-05/0.8954, allocations: 8.375 kB / 1.02 GB, free: 15.26 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.625e-05/0.8954, allocations: 16.36 kB / 1.02 GB, free: 15.24 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001407/0.8956, allocations: 50.23 kB / 1.02 GB, free: 15.19 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.025e-05/0.8956, allocations: 192 / 1.02 GB, free: 15.19 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.054e-05/0.8956, allocations: 7.938 kB / 1.02 GB, free: 15.18 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.199e-06/0.8956, allocations: 3.938 kB / 1.02 GB, free: 15.18 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.528e-05/0.8957, allocations: 12 kB / 1.02 GB, free: 15.16 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005816/0.8962, allocations: 344.8 kB / 1.02 GB, free: 14.78 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 8.987e-05/0.8963, allocations: 42.5 kB / 1.021 GB, free: 14.73 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.309e-05/0.8964, allocations: 16.86 kB / 1.021 GB, free: 14.71 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 1.244e-05/0.8964, allocations: 0 / 1.021 GB, free: 14.71 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001716/0.8966, allocations: 95.28 kB / 1.021 GB, free: 14.6 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=7): time 1.272e-06/0.8966, allocations: 0 / 1.021 GB, free: 14.6 MB / 0.7794 GB Notification: Performance of matching and sorting (n=7): time 0.0002896/0.8969, allocations: 97.67 kB / 1.021 GB, free: 14.5 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.007e-05/0.897, allocations: 59.41 kB / 1.021 GB, free: 14.43 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001556/0.8971, allocations: 121.7 kB / 1.021 GB, free: 14.3 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 4.15e-05/0.8972, allocations: 29.7 kB / 1.021 GB, free: 14.27 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 8.986e-05/0.8973, allocations: 92.12 kB / 1.021 GB, free: 14.17 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 2.481e-05/0.8973, allocations: 19.8 kB / 1.021 GB, free: 14.15 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001887/0.8975, allocations: 49.69 kB / 1.021 GB, free: 14.1 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.000239/0.8977, allocations: 318.8 kB / 1.021 GB, free: 13.78 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001424/0.8979, allocations: 59.97 kB / 1.021 GB, free: 13.72 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00018/0.8981, allocations: 92.27 kB / 1.022 GB, free: 13.61 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002548/0.8983, allocations: 160.1 kB / 1.022 GB, free: 13.43 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.845e-06/0.8984, allocations: 3.938 kB / 1.022 GB, free: 13.43 MB / 0.7794 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0004768/0.8988, allocations: 260.8 kB / 1.022 GB, free: 13.15 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 7.638e-05/0.8989, allocations: 67.39 kB / 1.022 GB, free: 13.07 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.326e-06/0.8989, allocations: 4 kB / 1.022 GB, free: 13.07 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.781e-05/0.899, allocations: 0 / 1.022 GB, free: 13.07 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.279e-05/0.899, allocations: 11.94 kB / 1.022 GB, free: 13.06 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.618e-06/0.899, allocations: 0 / 1.022 GB, free: 13.06 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003946/0.8994, allocations: 63.92 kB / 1.022 GB, free: 13 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.727e-05/0.8995, allocations: 8 kB / 1.022 GB, free: 12.99 MB / 0.7794 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.000164/0.8996, allocations: 134.3 kB / 1.022 GB, free: 12.85 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.407e-05/0.8996, allocations: 3.906 kB / 1.022 GB, free: 12.84 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.288e-05/0.8997, allocations: 8.375 kB / 1.022 GB, free: 12.84 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.184e-06/0.8997, allocations: 0 / 1.022 GB, free: 12.84 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.733e-06/0.8997, allocations: 0 / 1.022 GB, free: 12.84 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.095e-06/0.8997, allocations: 0 / 1.022 GB, free: 12.84 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001987/0.8999, allocations: 185.6 kB / 1.022 GB, free: 12.61 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.262e-06/0.8999, allocations: 0 / 1.022 GB, free: 12.61 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.165e-05/0.8999, allocations: 3.938 kB / 1.022 GB, free: 12.6 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.018e-06/0.9, allocations: 4 kB / 1.022 GB, free: 12.6 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.006e-05/0.9, allocations: 0 / 1.022 GB, free: 12.6 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.453e-06/0.9, allocations: 0 / 1.022 GB, free: 12.6 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.102e-06/0.9, allocations: 0 / 1.022 GB, free: 12.6 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001976/0.9002, allocations: 116.9 kB / 1.023 GB, free: 12.46 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 6.687e-05/0.9003, allocations: 81.11 kB / 1.023 GB, free: 12.37 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.216e-05/0.9003, allocations: 7.984 kB / 1.023 GB, free: 12.36 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.886e-05/0.9003, allocations: 0 / 1.023 GB, free: 12.36 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.504e-05/0.9004, allocations: 4 kB / 1.023 GB, free: 12.36 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.122e-05/0.9004, allocations: 8.062 kB / 1.023 GB, free: 12.35 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 7.891e-05/0.9005, allocations: 95.2 kB / 1.023 GB, free: 12.25 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.11e-07/0.9005, allocations: 0 / 1.023 GB, free: 12.25 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.000262/0.9007, allocations: 28 kB / 1.023 GB, free: 12.23 MB / 0.7794 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.0002424/0.901, allocations: 119.2 kB / 1.023 GB, free: 12.1 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0004692/0.9015, allocations: 246.6 kB / 1.023 GB, free: 11.84 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 2.444e-06/0.9015, allocations: 0 / 1.023 GB, free: 11.84 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 5.889e-05/0.9015, allocations: 27.98 kB / 1.023 GB, free: 11.81 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000272/0.9018, allocations: 15.94 kB / 1.023 GB, free: 11.79 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005045/0.9023, allocations: 174.8 kB / 1.023 GB, free: 11.59 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004543/0.9028, allocations: 0.6846 MB / 1.024 GB, free: 10.88 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 2.62e-05/0.9028, allocations: 4 kB / 1.024 GB, free: 10.88 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.69e-05/0.9029, allocations: 15.44 kB / 1.024 GB, free: 10.86 MB / 0.7794 GB Notification: Performance of SimCode: time 2.504e-06/0.9029, allocations: 0 / 1.024 GB, free: 10.86 MB / 0.7794 GB Notification: Performance of Templates: time 0.005496/0.9084, allocations: 1.839 MB / 1.026 GB, free: 9.047 MB / 0.7794 GB make -j1 -f Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.Or.makefile (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 & ./Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.Or -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.Or.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.Or_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_OBC_CDL_Logical_Validation_Or.csv","/var/lib/jenkins/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