Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/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_latest_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_latest_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.001248/0.001248, allocations: 108.7 kB / 16.41 MB, free: 6.027 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.001255/0.001255, allocations: 186.2 kB / 17.34 MB, free: 5.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.278/1.278, 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 11.0.1-master/package.mo): time 2.463/2.463, allocations: 461.9 MB / 0.7354 GB, free: 11.06 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001334/0.001334, allocations: 67.91 kB / 1.055 GB, free: 7.641 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7188/0.7201, allocations: 157.4 MB / 1.208 GB, free: 13.57 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.Or): time 0.001885/0.722, allocations: 0.6496 MB / 1.209 GB, free: 12.93 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.001543/0.7236, allocations: 1.194 MB / 1.21 GB, free: 11.72 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.52e-05/0.7237, allocations: 0 / 1.21 GB, free: 11.72 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 3.73e-05/0.7238, allocations: 0 / 1.21 GB, free: 11.72 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 7.762e-05/0.7238, allocations: 15.84 kB / 1.21 GB, free: 11.71 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007771/0.7246, allocations: 211.4 kB / 1.21 GB, free: 11.51 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.0002963/0.7249, allocations: 187.7 kB / 1.211 GB, free: 11.32 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001081/0.725, allocations: 15.98 kB / 1.211 GB, free: 11.31 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001275/0.7252, allocations: 67.88 kB / 1.211 GB, free: 11.24 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001651/0.7253, allocations: 63.78 kB / 1.211 GB, free: 11.18 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 3.982e-05/0.7254, allocations: 16 kB / 1.211 GB, free: 11.16 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 8.876e-05/0.7255, allocations: 27.98 kB / 1.211 GB, free: 11.14 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 1.971e-05/0.7255, allocations: 8 kB / 1.211 GB, free: 11.13 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 8.466e-05/0.7256, allocations: 63.81 kB / 1.211 GB, free: 11.07 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.0002252/0.7258, allocations: 135.7 kB / 1.211 GB, free: 10.93 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 3.657e-06/0.7258, allocations: 0 / 1.211 GB, free: 10.93 MB / 0.9356 GB Notification: Performance of FrontEnd: time 1.984e-06/0.7259, allocations: 8 kB / 1.211 GB, free: 10.93 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 5.33e-06/0.7259, allocations: 0 / 1.211 GB, free: 10.93 MB / 0.9356 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.0005723/0.7264, allocations: 436.4 kB / 1.211 GB, free: 10.44 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 3.481e-05/0.7265, allocations: 8.031 kB / 1.211 GB, free: 10.43 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.135e-05/0.7266, allocations: 12.84 kB / 1.211 GB, free: 10.42 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001321/0.7267, allocations: 176.2 kB / 1.212 GB, free: 10.21 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.687e-05/0.7267, allocations: 4.375 kB / 1.212 GB, free: 10.21 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.519e-05/0.7268, allocations: 16.31 kB / 1.212 GB, free: 10.19 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001107/0.7269, allocations: 50.25 kB / 1.212 GB, free: 10.14 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.458e-06/0.7269, allocations: 192 / 1.212 GB, free: 10.14 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.61e-05/0.7269, allocations: 11.91 kB / 1.212 GB, free: 10.12 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.609e-06/0.7269, allocations: 0 / 1.212 GB, free: 10.12 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.958e-05/0.727, allocations: 12 kB / 1.212 GB, free: 10.11 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004959/0.7275, allocations: 356.7 kB / 1.212 GB, free: 9.715 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 7.313e-05/0.7275, allocations: 38.44 kB / 1.212 GB, free: 9.668 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.686e-05/0.7276, allocations: 12.86 kB / 1.212 GB, free: 9.652 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 8.015e-06/0.7276, allocations: 8 kB / 1.212 GB, free: 9.645 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001285/0.7277, allocations: 79.45 kB / 1.212 GB, free: 9.555 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=7): time 1.433e-06/0.7277, allocations: 0 / 1.212 GB, free: 9.555 MB / 0.9356 GB Notification: Performance of matching and sorting (n=7): time 0.0002389/0.728, allocations: 101.5 kB / 1.212 GB, free: 9.449 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.183e-05/0.728, allocations: 63.39 kB / 1.212 GB, free: 9.375 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.882e-05/0.7281, allocations: 113.8 kB / 1.212 GB, free: 9.254 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 3.144e-05/0.7282, allocations: 33.7 kB / 1.212 GB, free: 9.215 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 6.437e-05/0.7282, allocations: 96.03 kB / 1.213 GB, free: 9.117 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 3.006e-05/0.7283, allocations: 11.89 kB / 1.213 GB, free: 9.105 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.805e-05/0.7284, allocations: 49.69 kB / 1.213 GB, free: 9.051 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.000118/0.7285, allocations: 318.8 kB / 1.213 GB, free: 8.73 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001255/0.7286, allocations: 63.95 kB / 1.213 GB, free: 8.668 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001444/0.7288, allocations: 88.2 kB / 1.213 GB, free: 8.566 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001876/0.729, allocations: 164.1 kB / 1.213 GB, free: 8.379 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.065e-06/0.729, allocations: 4 kB / 1.213 GB, free: 8.375 MB / 0.9356 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0003999/0.7294, allocations: 260.8 kB / 1.213 GB, free: 8.102 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 5.257e-05/0.7295, allocations: 71.42 kB / 1.214 GB, free: 8.02 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.923e-06/0.7295, allocations: 4 kB / 1.214 GB, free: 8.016 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.428e-05/0.7295, allocations: 0 / 1.214 GB, free: 8.016 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.015e-05/0.7295, allocations: 4 kB / 1.214 GB, free: 8.012 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.584e-06/0.7295, allocations: 0 / 1.214 GB, free: 8.012 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003339/0.7299, allocations: 63.72 kB / 1.214 GB, free: 7.949 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.839e-05/0.7299, allocations: 11.98 kB / 1.214 GB, free: 7.938 MB / 0.9356 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.000102/0.73, allocations: 130.6 kB / 1.214 GB, free: 7.801 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.146e-05/0.73, allocations: 4 kB / 1.214 GB, free: 7.797 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.602e-05/0.7301, allocations: 12.38 kB / 1.214 GB, free: 7.781 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.804e-06/0.7301, allocations: 0 / 1.214 GB, free: 7.781 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.112e-06/0.7301, allocations: 4.062 kB / 1.214 GB, free: 7.777 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.238e-06/0.7301, allocations: 3.984 kB / 1.214 GB, free: 7.773 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001489/0.7302, allocations: 181.5 kB / 1.214 GB, free: 7.547 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.684e-06/0.7303, allocations: 0 / 1.214 GB, free: 7.547 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.857e-06/0.7303, allocations: 0 / 1.214 GB, free: 7.547 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.993e-06/0.7303, allocations: 4 kB / 1.214 GB, free: 7.543 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.217e-05/0.7303, allocations: 11.98 kB / 1.214 GB, free: 7.531 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.442e-06/0.7303, allocations: 0 / 1.214 GB, free: 7.531 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.363e-06/0.7303, allocations: 0 / 1.214 GB, free: 7.531 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000141/0.7304, allocations: 105 kB / 1.214 GB, free: 7.41 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 3.813e-05/0.7305, allocations: 85 kB / 1.214 GB, free: 7.309 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.78e-05/0.7305, allocations: 8 kB / 1.214 GB, free: 7.301 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.942e-05/0.7305, allocations: 0 / 1.214 GB, free: 7.301 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.521e-05/0.7306, allocations: 7.984 kB / 1.214 GB, free: 7.293 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.46e-06/0.7306, allocations: 4 kB / 1.214 GB, free: 7.289 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 5.244e-05/0.7306, allocations: 87.28 kB / 1.214 GB, free: 7.203 MB / 0.9356 GB Notification: Performance of sort global known variables: time 1.1e-07/0.7307, allocations: 0 / 1.214 GB, free: 7.203 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0002436/0.7309, allocations: 36.27 kB / 1.214 GB, free: 7.168 MB / 0.9356 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.0001574/0.7311, allocations: 103.2 kB / 1.214 GB, free: 7.059 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0003308/0.7314, allocations: 246.8 kB / 1.215 GB, free: 6.793 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 1.913e-06/0.7314, allocations: 8 kB / 1.215 GB, free: 6.785 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 6.246e-05/0.7315, allocations: 35.92 kB / 1.215 GB, free: 6.75 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002282/0.7317, allocations: 13.86 kB / 1.215 GB, free: 6.738 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003302/0.7321, allocations: 184.3 kB / 1.215 GB, free: 6.523 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000235/0.7323, allocations: 0.6846 MB / 1.216 GB, free: 5.812 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.012e-05/0.7323, allocations: 19.42 kB / 1.216 GB, free: 5.793 MB / 0.9356 GB Notification: Performance of SimCode: time 3.51e-07/0.7323, allocations: 0 / 1.216 GB, free: 5.793 MB / 0.9356 GB Notification: Performance of Templates: time 0.002969/0.7353, allocations: 1.383 MB / 1.217 GB, free: 4.426 MB / 0.9356 GB make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Or.makefile (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Or.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Or.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Or.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Or.sim & ./Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Or -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Or.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Or_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Logical_Validation_Or.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Or.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches