Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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_11_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_11_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.007761/0.007761, allocations: 98.59 kB / 15.73 MB, free: 6.059 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.001335/0.001335, allocations: 195.9 kB / 16.68 MB, free: 5.977 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.4/1.4, allocations: 222.9 MB / 240.4 MB, free: 4.344 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.822/2.822, allocations: 469.8 MB / 0.7425 GB, free: 7.367 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001319/0.001319, allocations: 75.88 kB / 1.065 GB, free: 13.1 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3476/0.3489, allocations: 159.1 MB / 1.221 GB, free: 13.85 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.Or): time 0.001979/0.3509, allocations: 0.6566 MB / 1.221 GB, free: 13.2 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.001571/0.3525, allocations: 1.18 MB / 1.222 GB, free: 12 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.163e-05/0.3525, allocations: 4 kB / 1.222 GB, free: 12 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 3.395e-05/0.3526, allocations: 7.922 kB / 1.222 GB, free: 11.99 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 9.2e-05/0.3527, allocations: 15.86 kB / 1.222 GB, free: 11.98 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006952/0.3534, allocations: 215.2 kB / 1.223 GB, free: 11.77 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0002503/0.3536, allocations: 171.6 kB / 1.223 GB, free: 11.6 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 9.853e-05/0.3537, allocations: 11.98 kB / 1.223 GB, free: 11.59 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 9.643e-05/0.3538, allocations: 71.89 kB / 1.223 GB, free: 11.52 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001374/0.3539, allocations: 63.78 kB / 1.223 GB, free: 11.46 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 3.431e-05/0.354, allocations: 16 kB / 1.223 GB, free: 11.44 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 9.209e-05/0.3541, allocations: 27.98 kB / 1.223 GB, free: 11.41 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 2.248e-05/0.3541, allocations: 7.984 kB / 1.223 GB, free: 11.41 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 8.246e-05/0.3542, allocations: 59.83 kB / 1.223 GB, free: 11.35 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0002219/0.3544, allocations: 151.5 kB / 1.223 GB, free: 11.2 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 4.439e-06/0.3544, allocations: 0 / 1.223 GB, free: 11.2 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.162e-06/0.3544, allocations: 4 kB / 1.223 GB, free: 11.2 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 1.104e-05/0.3544, allocations: 0 / 1.223 GB, free: 11.2 MB / 0.9825 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.0005824/0.355, allocations: 438.7 kB / 1.224 GB, free: 10.7 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.061e-05/0.355, allocations: 8.031 kB / 1.224 GB, free: 10.7 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.856e-05/0.3551, allocations: 12.89 kB / 1.224 GB, free: 10.68 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001414/0.3552, allocations: 180.3 kB / 1.224 GB, free: 10.47 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.723e-05/0.3553, allocations: 4.375 kB / 1.224 GB, free: 10.46 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.012e-05/0.3553, allocations: 8.375 kB / 1.224 GB, free: 10.46 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001309/0.3554, allocations: 58.23 kB / 1.224 GB, free: 10.39 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.245e-06/0.3554, allocations: 192 / 1.224 GB, free: 10.39 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.191e-05/0.3554, allocations: 7.875 kB / 1.224 GB, free: 10.39 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.24e-06/0.3554, allocations: 0 / 1.224 GB, free: 10.39 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.211e-05/0.3555, allocations: 16 kB / 1.224 GB, free: 10.37 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005059/0.356, allocations: 348.8 kB / 1.224 GB, free: 9.98 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 8.325e-05/0.3561, allocations: 38.5 kB / 1.224 GB, free: 9.934 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.895e-05/0.3561, allocations: 12.86 kB / 1.224 GB, free: 9.918 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 1.152e-05/0.3561, allocations: 3.938 kB / 1.224 GB, free: 9.914 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001409/0.3563, allocations: 79.45 kB / 1.224 GB, free: 9.824 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=7): time 1.322e-06/0.3563, allocations: 0 / 1.224 GB, free: 9.824 MB / 0.9825 GB Notification: Performance of matching and sorting (n=7): time 0.0002525/0.3565, allocations: 109.8 kB / 1.224 GB, free: 9.711 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.158e-05/0.3565, allocations: 51.41 kB / 1.225 GB, free: 9.648 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001089/0.3567, allocations: 125.7 kB / 1.225 GB, free: 9.516 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 3.033e-05/0.3567, allocations: 29.7 kB / 1.225 GB, free: 9.48 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 6.777e-05/0.3568, allocations: 96.08 kB / 1.225 GB, free: 9.383 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 1.63e-05/0.3568, allocations: 11.91 kB / 1.225 GB, free: 9.371 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000101/0.3569, allocations: 53.69 kB / 1.225 GB, free: 9.312 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001216/0.357, allocations: 318.8 kB / 1.225 GB, free: 8.992 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001307/0.3571, allocations: 59.95 kB / 1.225 GB, free: 8.934 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001486/0.3573, allocations: 92.27 kB / 1.225 GB, free: 8.828 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001863/0.3575, allocations: 163.5 kB / 1.225 GB, free: 8.641 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.144e-06/0.3575, allocations: 0 / 1.225 GB, free: 8.641 MB / 0.9825 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0004237/0.3579, allocations: 260.9 kB / 1.226 GB, free: 8.367 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 5.514e-05/0.3579, allocations: 71.39 kB / 1.226 GB, free: 8.285 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.919e-06/0.3579, allocations: 0 / 1.226 GB, free: 8.285 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.367e-05/0.358, allocations: 0 / 1.226 GB, free: 8.285 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.353e-05/0.358, allocations: 12.06 kB / 1.226 GB, free: 8.273 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.183e-06/0.358, allocations: 4.062 kB / 1.226 GB, free: 8.27 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003192/0.3583, allocations: 55.83 kB / 1.226 GB, free: 8.215 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.379e-05/0.3583, allocations: 19.98 kB / 1.226 GB, free: 8.195 MB / 0.9825 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.0001101/0.3585, allocations: 123.9 kB / 1.226 GB, free: 8.066 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.233e-05/0.3585, allocations: 7.953 kB / 1.226 GB, free: 8.059 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.739e-05/0.3585, allocations: 16.36 kB / 1.226 GB, free: 8.039 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.372e-06/0.3585, allocations: 0 / 1.226 GB, free: 8.039 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.838e-06/0.3585, allocations: 480 / 1.226 GB, free: 8.039 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.715e-06/0.3585, allocations: 0 / 1.226 GB, free: 8.039 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001451/0.3586, allocations: 177.6 kB / 1.226 GB, free: 7.816 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.82e-07/0.3586, allocations: 0 / 1.226 GB, free: 7.816 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.527e-06/0.3587, allocations: 3.938 kB / 1.226 GB, free: 7.812 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.776e-06/0.3587, allocations: 7.938 kB / 1.226 GB, free: 7.805 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.926e-06/0.3587, allocations: 3.984 kB / 1.226 GB, free: 7.801 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.304e-06/0.3587, allocations: 4.062 kB / 1.226 GB, free: 7.797 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.02e-07/0.3587, allocations: 4 kB / 1.226 GB, free: 7.793 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001517/0.3588, allocations: 113 kB / 1.226 GB, free: 7.664 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 3.427e-05/0.3589, allocations: 77.11 kB / 1.226 GB, free: 7.57 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.003e-05/0.3589, allocations: 4 kB / 1.226 GB, free: 7.566 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.849e-05/0.3589, allocations: 0 / 1.226 GB, free: 7.566 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.695e-05/0.3589, allocations: 11.98 kB / 1.226 GB, free: 7.555 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.4e-06/0.3589, allocations: 0 / 1.226 GB, free: 7.555 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 5.424e-05/0.359, allocations: 95.27 kB / 1.226 GB, free: 7.461 MB / 0.9825 GB Notification: Performance of sort global known variables: time 9e-08/0.359, allocations: 0 / 1.226 GB, free: 7.461 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0002637/0.3593, allocations: 28 kB / 1.226 GB, free: 7.434 MB / 0.9825 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.0001768/0.3594, allocations: 111.1 kB / 1.227 GB, free: 7.316 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0003476/0.3598, allocations: 222.6 kB / 1.227 GB, free: 7.074 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.615e-06/0.3598, allocations: 0 / 1.227 GB, free: 7.074 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 4.57e-05/0.3598, allocations: 27.92 kB / 1.227 GB, free: 7.047 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002324/0.3601, allocations: 20.23 kB / 1.227 GB, free: 7.027 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003655/0.3604, allocations: 162.5 kB / 1.227 GB, free: 6.84 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000324/0.3608, allocations: 0.6923 MB / 1.228 GB, free: 6.121 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 2.809e-05/0.3608, allocations: 4 kB / 1.228 GB, free: 6.117 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.945e-05/0.3608, allocations: 11.44 kB / 1.228 GB, free: 6.105 MB / 0.9825 GB Notification: Performance of SimCode: time 3.21e-07/0.3608, allocations: 0 / 1.228 GB, free: 6.105 MB / 0.9825 GB Notification: Performance of Templates: time 0.004449/0.3653, allocations: 1.842 MB / 1.229 GB, free: 4.293 MB / 0.9825 GB make -j1 -f Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.Or.makefile (rm -f Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.Or.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.Or.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.Or.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.Or.sim & ./Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.Or -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.Or.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.Or_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_OBC_CDL_Logical_Validation_Or.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.Or.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches