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.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-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.0009964/0.0009965, allocations: 99.58 kB / 16.02 MB, free: 76 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001191/0.001191, allocations: 182 kB / 16.92 MB, free: 6.918 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.478/1.478, allocations: 223.3 MB / 241 MB, free: 5.355 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.676/2.676, allocations: 437.8 MB / 0.7128 GB, free: 7.051 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0004004/0.0004005, allocations: 12 kB / 0.8735 GB, free: 3.32 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6929/0.6933, allocations: 153.8 MB / 1.024 GB, free: 15.91 MB / 0.7794 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.Or): time 0.0008732/0.6942, allocations: 401 kB / 1.024 GB, free: 15.52 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.001551/0.6958, allocations: 1.191 MB / 1.025 GB, free: 14.31 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.799e-05/0.6958, allocations: 0 / 1.025 GB, free: 14.31 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 1.849e-05/0.6959, allocations: 3.938 kB / 1.025 GB, free: 14.31 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 8.003e-05/0.696, allocations: 15.91 kB / 1.025 GB, free: 14.29 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006265/0.6966, allocations: 195.5 kB / 1.025 GB, free: 14.11 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.0001831/0.6968, allocations: 151.7 kB / 1.026 GB, free: 13.96 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 9.271e-05/0.6969, allocations: 12 kB / 1.026 GB, free: 13.95 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001114/0.697, allocations: 59.88 kB / 1.026 GB, free: 13.89 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001006/0.6971, allocations: 43.88 kB / 1.026 GB, free: 13.84 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 3.016e-05/0.6971, allocations: 8 kB / 1.026 GB, free: 13.84 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 8.447e-05/0.6972, allocations: 27.97 kB / 1.026 GB, free: 13.81 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 2.17e-05/0.6973, allocations: 4 kB / 1.026 GB, free: 13.8 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 8.773e-05/0.6974, allocations: 81.47 kB / 1.026 GB, free: 13.72 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.000152/0.6975, allocations: 99.75 kB / 1.026 GB, free: 13.62 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 4.157e-06/0.6975, allocations: 0 / 1.026 GB, free: 13.62 MB / 0.7794 GB Notification: Performance of FrontEnd: time 2.074e-06/0.6975, allocations: 0 / 1.026 GB, free: 13.62 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 4.939e-06/0.6975, allocations: 4 kB / 1.026 GB, free: 13.62 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.0004918/0.698, allocations: 412.7 kB / 1.026 GB, free: 13.15 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 3.909e-05/0.6981, allocations: 8.031 kB / 1.026 GB, free: 13.14 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.078e-05/0.6982, allocations: 8.938 kB / 1.026 GB, free: 13.14 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000114/0.6983, allocations: 172.2 kB / 1.027 GB, free: 12.93 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.519e-05/0.6983, allocations: 12.38 kB / 1.027 GB, free: 12.92 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.507e-05/0.6984, allocations: 8.375 kB / 1.027 GB, free: 12.91 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001104/0.6985, allocations: 46.23 kB / 1.027 GB, free: 12.86 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.374e-06/0.6985, allocations: 8.125 kB / 1.027 GB, free: 12.85 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.262e-05/0.6985, allocations: 3.938 kB / 1.027 GB, free: 12.85 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.705e-06/0.6985, allocations: 4 kB / 1.027 GB, free: 12.84 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.591e-05/0.6986, allocations: 19.92 kB / 1.027 GB, free: 12.82 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005028/0.6991, allocations: 340.8 kB / 1.027 GB, free: 12.44 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 7.439e-05/0.6992, allocations: 38.5 kB / 1.027 GB, free: 12.39 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.063e-05/0.6992, allocations: 20.8 kB / 1.027 GB, free: 12.37 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 8.266e-06/0.6992, allocations: 4.078 kB / 1.027 GB, free: 12.37 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001726/0.6994, allocations: 87.22 kB / 1.027 GB, free: 12.27 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=7): time 1.443e-06/0.6994, allocations: 0 / 1.027 GB, free: 12.27 MB / 0.7794 GB Notification: Performance of matching and sorting (n=7): time 0.0002494/0.6997, allocations: 97.67 kB / 1.027 GB, free: 12.17 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.304e-05/0.6997, allocations: 59.39 kB / 1.027 GB, free: 12.1 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001006/0.6998, allocations: 121.8 kB / 1.027 GB, free: 11.97 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 3.451e-05/0.6999, allocations: 41.62 kB / 1.027 GB, free: 11.92 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 6.026e-05/0.6999, allocations: 88.14 kB / 1.027 GB, free: 11.83 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 1.477e-05/0.7, allocations: 7.812 kB / 1.027 GB, free: 11.82 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.67e-05/0.7, allocations: 25.7 kB / 1.027 GB, free: 11.79 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.000104/0.7001, allocations: 322.8 kB / 1.028 GB, free: 11.47 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001312/0.7002, allocations: 59.95 kB / 1.028 GB, free: 11.41 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001387/0.7004, allocations: 88.27 kB / 1.028 GB, free: 11.31 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001873/0.7006, allocations: 163.6 kB / 1.028 GB, free: 11.12 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.136e-06/0.7006, allocations: 0 / 1.028 GB, free: 11.12 MB / 0.7794 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0004093/0.701, allocations: 257.4 kB / 1.028 GB, free: 10.85 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 6.174e-05/0.7011, allocations: 71.52 kB / 1.028 GB, free: 10.77 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.262e-06/0.7011, allocations: 0 / 1.028 GB, free: 10.77 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.507e-05/0.7011, allocations: 4 kB / 1.028 GB, free: 10.77 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.226e-05/0.7011, allocations: 7.875 kB / 1.028 GB, free: 10.76 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.194e-06/0.7012, allocations: 4 kB / 1.028 GB, free: 10.75 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004232/0.7016, allocations: 86.59 kB / 1.029 GB, free: 10.67 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.309e-05/0.7016, allocations: 11.98 kB / 1.029 GB, free: 10.66 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.0001077/0.7017, allocations: 121.8 kB / 1.029 GB, free: 10.53 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.4e-05/0.7018, allocations: 7.906 kB / 1.029 GB, free: 10.52 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.886e-05/0.7018, allocations: 16.36 kB / 1.029 GB, free: 10.51 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.415e-06/0.7018, allocations: 0 / 1.029 GB, free: 10.51 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.332e-06/0.7018, allocations: 0 / 1.029 GB, free: 10.51 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.916e-06/0.7018, allocations: 3.938 kB / 1.029 GB, free: 10.5 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001297/0.702, allocations: 177.6 kB / 1.029 GB, free: 10.28 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.302e-06/0.702, allocations: 0 / 1.029 GB, free: 10.28 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.632e-05/0.702, allocations: 12.05 kB / 1.029 GB, free: 10.27 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.414e-06/0.702, allocations: 0 / 1.029 GB, free: 10.27 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.109e-05/0.702, allocations: 4 kB / 1.029 GB, free: 10.27 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.493e-06/0.702, allocations: 3.938 kB / 1.029 GB, free: 10.26 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.272e-06/0.702, allocations: 0 / 1.029 GB, free: 10.26 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001409/0.7022, allocations: 113.3 kB / 1.029 GB, free: 10.13 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 4.658e-05/0.7022, allocations: 89.02 kB / 1.029 GB, free: 10.03 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.46e-05/0.7022, allocations: 0 / 1.029 GB, free: 10.03 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.138e-05/0.7023, allocations: 3.984 kB / 1.029 GB, free: 10.02 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.465e-05/0.7023, allocations: 7.984 kB / 1.029 GB, free: 10.02 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.093e-06/0.7023, allocations: 4 kB / 1.029 GB, free: 10.01 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 4.946e-05/0.7024, allocations: 91.27 kB / 1.029 GB, free: 9.922 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.4e-07/0.7024, allocations: 4 kB / 1.029 GB, free: 9.918 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002438/0.7026, allocations: 28 kB / 1.029 GB, free: 9.891 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.0001542/0.7028, allocations: 115.2 kB / 1.029 GB, free: 9.77 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0003353/0.7031, allocations: 246.6 kB / 1.03 GB, free: 9.504 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 2.365e-06/0.7031, allocations: 0 / 1.03 GB, free: 9.504 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 5.594e-05/0.7032, allocations: 31.97 kB / 1.03 GB, free: 9.473 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000234/0.7034, allocations: 16.52 kB / 1.03 GB, free: 9.457 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003347/0.7038, allocations: 200.9 kB / 1.03 GB, free: 9.23 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002255/0.704, allocations: 0.6809 MB / 1.03 GB, free: 8.523 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.146e-05/0.7041, allocations: 19.31 kB / 1.03 GB, free: 8.504 MB / 0.7794 GB Notification: Performance of SimCode: time 2.4e-07/0.7041, allocations: 4 kB / 1.03 GB, free: 8.5 MB / 0.7794 GB Notification: Performance of Templates: time 0.003198/0.7073, allocations: 1.37 MB / 1.032 GB, free: 7.145 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=480 -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/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