Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.Or3.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.Or3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|or1.u1|or1.u2|or1.u3|or1.y",fileNamePrefix="Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.Or3") translateModel(Buildings.Controls.OBC.CDL.Logical.Validation.Or3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|or1.u1|or1.u2|or1.u3|or1.y",fileNamePrefix="Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.Or3") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001377/0.001377, allocations: 110.6 kB / 16.41 MB, free: 6.492 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.001307/0.001307, allocations: 187 kB / 17.34 MB, free: 5.766 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.67/1.67, allocations: 222.9 MB / 241 MB, free: 15.16 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 2.414/2.414, allocations: 437 MB / 0.7112 GB, free: 4.402 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001559/0.00156, allocations: 59.91 kB / 1.019 GB, free: 9.418 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.057/1.059, allocations: 151.6 MB / 1.167 GB, free: 3.844 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.Or3): time 0.002243/1.061, allocations: 0.7177 MB / 1.168 GB, free: 3.133 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.002358/1.064, allocations: 1.271 MB / 1.169 GB, free: 1.848 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.503e-05/1.064, allocations: 4 kB / 1.169 GB, free: 1.844 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 4.414e-05/1.064, allocations: 3.938 kB / 1.169 GB, free: 1.84 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 0.0001317/1.064, allocations: 23.84 kB / 1.169 GB, free: 1.816 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.001063/1.065, allocations: 304 kB / 1.17 GB, free: 1.527 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 0.00037/1.065, allocations: 279.5 kB / 1.17 GB, free: 1.254 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001156/1.066, allocations: 16.19 kB / 1.17 GB, free: 1.234 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001513/1.066, allocations: 99.86 kB / 1.17 GB, free: 1.137 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001752/1.066, allocations: 91.73 kB / 1.17 GB, free: 1.047 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 4.91e-05/1.066, allocations: 24 kB / 1.17 GB, free: 1.023 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 9.177e-05/1.066, allocations: 35.98 kB / 1.17 GB, free: 0.9883 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 2.791e-05/1.066, allocations: 19.91 kB / 1.17 GB, free: 0.9688 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 0.0001163/1.066, allocations: 83.8 kB / 1.17 GB, free: 0.8867 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.0003128/1.066, allocations: 223.2 kB / 1.17 GB, free: 0.6719 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 5.079e-06/1.066, allocations: 0 / 1.17 GB, free: 0.6719 MB / 0.8887 GB Notification: Performance of FrontEnd: time 1.934e-06/1.066, allocations: 0 / 1.17 GB, free: 0.6719 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 1.447e-05/1.067, allocations: 0 / 1.17 GB, free: 0.6719 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0008192/1.067, allocations: 0.4904 MB / 1.171 GB, free: 120 kB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 4.244e-05/1.067, allocations: 12.92 kB / 1.171 GB, free: 108 kB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.837e-05/1.067, allocations: 16.83 kB / 1.171 GB, free: 92 kB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001611/1.068, allocations: 172.2 kB / 1.171 GB, free: 15.88 MB / 0.9044 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.073e-05/1.068, allocations: 8.375 kB / 1.171 GB, free: 15.88 MB / 0.9044 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.024e-05/1.068, allocations: 12.38 kB / 1.171 GB, free: 15.86 MB / 0.9044 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001379/1.068, allocations: 58.23 kB / 1.171 GB, free: 15.8 MB / 0.9044 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.656e-06/1.068, allocations: 3.938 kB / 1.171 GB, free: 15.8 MB / 0.9044 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.404e-05/1.068, allocations: 3.984 kB / 1.171 GB, free: 15.79 MB / 0.9044 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.11e-06/1.068, allocations: 4 kB / 1.171 GB, free: 15.79 MB / 0.9044 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.89e-05/1.068, allocations: 23.94 kB / 1.171 GB, free: 15.77 MB / 0.9044 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006094/1.069, allocations: 412.6 kB / 1.172 GB, free: 15.31 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001398/1.069, allocations: 34.5 kB / 1.172 GB, free: 15.27 MB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.386e-05/1.069, allocations: 16.86 kB / 1.172 GB, free: 15.25 MB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 9.678e-06/1.069, allocations: 4 kB / 1.172 GB, free: 15.25 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002329/1.069, allocations: 107.3 kB / 1.172 GB, free: 15.13 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=10): time 1.613e-06/1.069, allocations: 0 / 1.172 GB, free: 15.13 MB / 0.9044 GB Notification: Performance of matching and sorting (n=10): time 0.0003219/1.069, allocations: 137.5 kB / 1.172 GB, free: 14.99 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.706e-05/1.069, allocations: 55.41 kB / 1.172 GB, free: 14.92 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001218/1.07, allocations: 136.1 kB / 1.172 GB, free: 14.78 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 4.294e-05/1.07, allocations: 37.7 kB / 1.172 GB, free: 14.74 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 9.89e-05/1.07, allocations: 96.12 kB / 1.172 GB, free: 14.64 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 2.279e-05/1.07, allocations: 27.78 kB / 1.172 GB, free: 14.61 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001298/1.07, allocations: 65.67 kB / 1.172 GB, free: 14.54 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 0.0001208/1.07, allocations: 322.8 kB / 1.173 GB, free: 14.22 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001871/1.07, allocations: 87.95 kB / 1.173 GB, free: 14.13 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002181/1.07, allocations: 141.2 kB / 1.173 GB, free: 13.98 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002853/1.071, allocations: 231.6 kB / 1.173 GB, free: 13.71 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.822e-06/1.071, allocations: 8 kB / 1.173 GB, free: 13.7 MB / 0.9044 GB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0005976/1.071, allocations: 371.7 kB / 1.173 GB, free: 13.32 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 8.208e-05/1.071, allocations: 105.1 kB / 1.173 GB, free: 13.2 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.901e-06/1.071, allocations: 0 / 1.173 GB, free: 13.2 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.517e-05/1.071, allocations: 4 kB / 1.173 GB, free: 13.19 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.571e-05/1.071, allocations: 4 kB / 1.173 GB, free: 13.19 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.372e-06/1.071, allocations: 0 / 1.173 GB, free: 13.19 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004655/1.072, allocations: 80.03 kB / 1.174 GB, free: 13.11 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.362e-05/1.072, allocations: 27.92 kB / 1.174 GB, free: 13.08 MB / 0.9044 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 13 ($whenCondition5,$whenCondition6,$whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2,booPul3.y,$PRE.booPul3.y,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 (13): * Single equations (assignments): 10 * Array equations: 0 * Algorithm blocks: 3 * 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.0001289/1.072, allocations: 133.7 kB / 1.174 GB, free: 12.94 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.597e-05/1.072, allocations: 7.906 kB / 1.174 GB, free: 12.93 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.367e-05/1.072, allocations: 8.375 kB / 1.174 GB, free: 12.92 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.627e-06/1.072, allocations: 4.359 kB / 1.174 GB, free: 12.92 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.833e-06/1.072, allocations: 8 kB / 1.174 GB, free: 12.91 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.757e-06/1.072, allocations: 0 / 1.174 GB, free: 12.91 MB / 0.9044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000174/1.072, allocations: 201.5 kB / 1.174 GB, free: 12.66 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.172e-06/1.072, allocations: 3.938 kB / 1.174 GB, free: 12.66 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.348e-06/1.072, allocations: 0 / 1.174 GB, free: 12.66 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.694e-06/1.072, allocations: 0 / 1.174 GB, free: 12.66 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.476e-06/1.072, allocations: 4 kB / 1.174 GB, free: 12.66 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.333e-06/1.073, allocations: 0 / 1.174 GB, free: 12.66 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.02e-07/1.073, allocations: 0 / 1.174 GB, free: 12.66 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000176/1.073, allocations: 144.9 kB / 1.174 GB, free: 12.5 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 5.498e-05/1.073, allocations: 81.02 kB / 1.174 GB, free: 12.4 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.938e-05/1.073, allocations: 8 kB / 1.174 GB, free: 12.39 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.571e-05/1.073, allocations: 3.984 kB / 1.174 GB, free: 12.39 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.717e-05/1.073, allocations: 8 kB / 1.174 GB, free: 12.38 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.145e-05/1.073, allocations: 7.984 kB / 1.174 GB, free: 12.37 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 5.946e-05/1.073, allocations: 99.2 kB / 1.174 GB, free: 12.27 MB / 0.9044 GB Notification: Performance of sort global known variables: time 1e-07/1.073, allocations: 0 / 1.174 GB, free: 12.27 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.0002996/1.073, allocations: 48 kB / 1.174 GB, free: 12.23 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: 10 ($whenCondition5,$whenCondition6,$whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2,booPul1.y,booPul2.y,or1.y,booPul3.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (10): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 3 * 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.0001711/1.073, allocations: 111.2 kB / 1.174 GB, free: 12.11 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.0004939/1.074, allocations: 362.1 kB / 1.175 GB, free: 11.72 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 4.258e-06/1.074, allocations: 0 / 1.175 GB, free: 11.72 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 6.827e-05/1.074, allocations: 39.92 kB / 1.175 GB, free: 11.68 MB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002677/1.074, allocations: 28.62 kB / 1.175 GB, free: 11.65 MB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000424/1.075, allocations: 224.4 kB / 1.175 GB, free: 11.39 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002838/1.075, allocations: 0.6924 MB / 1.176 GB, free: 10.68 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.678e-05/1.075, allocations: 19.44 kB / 1.176 GB, free: 10.66 MB / 0.9044 GB Notification: Performance of SimCode: time 2.01e-07/1.075, allocations: 0 / 1.176 GB, free: 10.66 MB / 0.9044 GB Notification: Performance of Templates: time 0.003922/1.079, allocations: 1.866 MB / 1.178 GB, free: 8.82 MB / 0.9044 GB make -j1 -f Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.Or3.makefile (rm -f Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.Or3.pipe ; mkfifo Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.Or3.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.Or3.pipe >> ../files/Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.Or3.sim & ./Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.Or3 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.Or3.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.Or3_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_OBC_CDL_Logical_Validation_Or3.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.Or3.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches