Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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_9_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_9_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.007955/0.007955, allocations: 105.3 kB / 15.74 MB, free: 6 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.001853/0.001853, allocations: 184.1 kB / 16.67 MB, free: 5.926 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.418/1.418, 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 9.1.3-maint.9.1.x/package.mo): time 2.354/2.354, allocations: 390.2 MB / 0.6648 GB, free: 0.6523 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001291/0.001291, allocations: 64.09 kB / 0.9509 GB, free: 7.59 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.057/1.059, allocations: 140.4 MB / 1.088 GB, free: 5.512 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.Or): time 0.002099/1.061, allocations: 0.666 MB / 1.089 GB, free: 5.094 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.001578/1.062, allocations: 1.182 MB / 1.09 GB, free: 4.227 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.431e-05/1.063, allocations: 0.9688 kB / 1.09 GB, free: 4.227 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 3.591e-05/1.063, allocations: 4.547 kB / 1.09 GB, free: 4.223 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 7.869e-05/1.063, allocations: 19.75 kB / 1.09 GB, free: 4.207 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007419/1.063, allocations: 221.2 kB / 1.09 GB, free: 4.098 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.000266/1.064, allocations: 174.5 kB / 1.09 GB, free: 4.031 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001069/1.064, allocations: 10.89 kB / 1.09 GB, free: 4.027 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001179/1.064, allocations: 70.84 kB / 1.09 GB, free: 4 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001661/1.064, allocations: 66.14 kB / 1.09 GB, free: 3.973 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 3.978e-05/1.064, allocations: 15.22 kB / 1.09 GB, free: 3.973 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 9.497e-05/1.064, allocations: 33.61 kB / 1.09 GB, free: 3.965 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 2.633e-05/1.064, allocations: 11.59 kB / 1.09 GB, free: 3.957 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.0001089/1.064, allocations: 62.47 kB / 1.09 GB, free: 3.926 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.000302/1.065, allocations: 141.5 kB / 1.091 GB, free: 3.887 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 6.633e-06/1.065, allocations: 1 kB / 1.091 GB, free: 3.887 MB / 0.8575 GB Notification: Performance of FrontEnd: time 3.216e-06/1.065, allocations: 0 / 1.091 GB, free: 3.887 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 6.772e-06/1.065, allocations: 0.75 kB / 1.091 GB, free: 3.887 MB / 0.8575 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.00057/1.065, allocations: 436.1 kB / 1.091 GB, free: 3.445 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.901e-05/1.065, allocations: 10.12 kB / 1.091 GB, free: 3.445 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.272e-05/1.065, allocations: 12.06 kB / 1.091 GB, free: 3.441 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001047/1.066, allocations: 177.2 kB / 1.091 GB, free: 3.234 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.097e-05/1.066, allocations: 9.062 kB / 1.091 GB, free: 3.23 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.525e-05/1.066, allocations: 9.391 kB / 1.091 GB, free: 3.23 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001246/1.066, allocations: 53.98 kB / 1.091 GB, free: 3.188 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.827e-06/1.066, allocations: 192 / 1.091 GB, free: 3.188 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.479e-05/1.066, allocations: 5.438 kB / 1.091 GB, free: 3.184 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.631e-06/1.066, allocations: 0.6875 kB / 1.091 GB, free: 3.184 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.791e-05/1.066, allocations: 13.02 kB / 1.091 GB, free: 3.18 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005206/1.066, allocations: 347.3 kB / 1.092 GB, free: 2.879 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 9.265e-05/1.067, allocations: 46.55 kB / 1.092 GB, free: 2.836 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.504e-05/1.067, allocations: 16.69 kB / 1.092 GB, free: 2.824 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 1.004e-05/1.067, allocations: 0 / 1.092 GB, free: 2.824 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002051/1.067, allocations: 82.17 kB / 1.092 GB, free: 2.766 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=7): time 1.273e-06/1.067, allocations: 0 / 1.092 GB, free: 2.766 MB / 0.8575 GB Notification: Performance of matching and sorting (n=7): time 0.0003018/1.067, allocations: 103.6 kB / 1.092 GB, free: 2.711 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.15e-05/1.067, allocations: 57.31 kB / 1.092 GB, free: 2.645 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.729e-05/1.067, allocations: 124.1 kB / 1.092 GB, free: 2.531 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 3.165e-05/1.067, allocations: 30.48 kB / 1.092 GB, free: 2.5 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 5.417e-05/1.067, allocations: 90.31 kB / 1.092 GB, free: 2.414 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 1.684e-05/1.067, allocations: 15.73 kB / 1.092 GB, free: 2.402 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001085/1.067, allocations: 49.61 kB / 1.092 GB, free: 2.379 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 6.088e-05/1.068, allocations: 322.2 kB / 1.092 GB, free: 2.059 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001604/1.068, allocations: 59.55 kB / 1.093 GB, free: 2.039 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001625/1.068, allocations: 92.84 kB / 1.093 GB, free: 1.977 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001846/1.068, allocations: 154.9 kB / 1.093 GB, free: 1.844 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.757e-06/1.068, allocations: 4.516 kB / 1.093 GB, free: 1.84 MB / 0.8575 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0004473/1.069, allocations: 266 kB / 1.093 GB, free: 1.684 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 5.046e-05/1.069, allocations: 68.3 kB / 1.093 GB, free: 1.617 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.823e-06/1.069, allocations: 1.531 kB / 1.093 GB, free: 1.617 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.866e-05/1.069, allocations: 6.781 kB / 1.093 GB, free: 1.613 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.757e-05/1.069, allocations: 2.531 kB / 1.093 GB, free: 1.613 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.824e-06/1.069, allocations: 1.719 kB / 1.093 GB, free: 1.613 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003837/1.069, allocations: 56.73 kB / 1.093 GB, free: 1.605 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.944e-05/1.069, allocations: 15.25 kB / 1.093 GB, free: 1.602 MB / 0.8575 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 8.601e-05/1.069, allocations: 126.1 kB / 1.093 GB, free: 1.48 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.566e-05/1.069, allocations: 8.031 kB / 1.093 GB, free: 1.477 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.227e-05/1.069, allocations: 6.109 kB / 1.093 GB, free: 1.473 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.496e-06/1.069, allocations: 1.719 kB / 1.093 GB, free: 1.473 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.539e-06/1.069, allocations: 480 / 1.093 GB, free: 1.473 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.589e-06/1.069, allocations: 5.703 kB / 1.093 GB, free: 1.469 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001077/1.069, allocations: 186.3 kB / 1.093 GB, free: 1.258 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.683e-06/1.069, allocations: 0.8125 kB / 1.093 GB, free: 1.258 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.054e-05/1.069, allocations: 1.891 kB / 1.093 GB, free: 1.258 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.166e-06/1.069, allocations: 4.688 kB / 1.093 GB, free: 1.254 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.077e-06/1.069, allocations: 6.141 kB / 1.093 GB, free: 1.25 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.624e-06/1.069, allocations: 0.6875 kB / 1.093 GB, free: 1.25 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.673e-06/1.069, allocations: 3.984 kB / 1.093 GB, free: 1.246 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001404/1.07, allocations: 116.2 kB / 1.094 GB, free: 1.156 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 2.496e-05/1.07, allocations: 83.61 kB / 1.094 GB, free: 1.059 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.816e-05/1.07, allocations: 1.484 kB / 1.094 GB, free: 1.059 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.973e-05/1.07, allocations: 1.672 kB / 1.094 GB, free: 1.059 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.133e-05/1.07, allocations: 9.859 kB / 1.094 GB, free: 1.055 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.867e-06/1.07, allocations: 3.125 kB / 1.094 GB, free: 1.055 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 3.67e-05/1.07, allocations: 93.83 kB / 1.094 GB, free: 0.9727 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.11e-07/1.07, allocations: 0 / 1.094 GB, free: 0.9727 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0002437/1.07, allocations: 28.17 kB / 1.094 GB, free: 0.9727 MB / 0.8575 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.0001511/1.07, allocations: 114 kB / 1.094 GB, free: 0.875 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0003389/1.071, allocations: 248 kB / 1.094 GB, free: 0.6953 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 2.104e-06/1.071, allocations: 0 / 1.094 GB, free: 0.6953 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 5.378e-05/1.071, allocations: 30.77 kB / 1.094 GB, free: 0.6836 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000235/1.071, allocations: 15.86 kB / 1.094 GB, free: 0.6797 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000345/1.071, allocations: 164.6 kB / 1.094 GB, free: 0.5352 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001891/1.071, allocations: 0.6861 MB / 1.095 GB, free: 15.84 MB / 0.8731 GB Notification: Performance of simCode: alias equations: time 2.972e-05/1.071, allocations: 5.203 kB / 1.095 GB, free: 15.84 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.148e-05/1.071, allocations: 11.42 kB / 1.095 GB, free: 15.83 MB / 0.8731 GB Notification: Performance of SimCode: time 2.2e-07/1.071, allocations: 0.75 kB / 1.095 GB, free: 15.83 MB / 0.8731 GB Notification: Performance of Templates: time 0.005455/1.077, allocations: 1.845 MB / 1.097 GB, free: 15.65 MB / 0.8731 GB make -j1 -f Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.Or.makefile (rm -f Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.Or.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.Or.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.Or.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.Or.sim & ./Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.Or -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.Or.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.Or_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_CDL_Logical_Validation_Or.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.Or.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches