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.001644/0.001643, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001967/0.001967, allocations: 197.3 kB / 16.14 MB, free: 6.711 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.474/1.474, allocations: 222.9 MB / 239.8 MB, free: 4.543 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.9/2.9, allocations: 461.8 MB / 0.7342 GB, free: 15.02 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001345/0.001345, allocations: 69.44 kB / 0.8984 GB, free: 37.26 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3755/0.3769, allocations: 157.4 MB / 1.052 GB, free: 8.836 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.Or): time 0.002102/0.379, allocations: 0.7117 MB / 1.053 GB, free: 8.121 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.001564/0.3806, allocations: 1.225 MB / 1.054 GB, free: 6.883 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.82e-05/0.3807, allocations: 0 / 1.054 GB, free: 6.883 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 4.094e-05/0.3807, allocations: 3.938 kB / 1.054 GB, free: 6.879 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 6.757e-05/0.3808, allocations: 11.91 kB / 1.054 GB, free: 6.867 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005637/0.3814, allocations: 202.2 kB / 1.054 GB, free: 6.676 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.0001515/0.3815, allocations: 151.8 kB / 1.054 GB, free: 6.527 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 9.94e-05/0.3816, allocations: 11.98 kB / 1.054 GB, free: 6.516 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001005/0.3817, allocations: 59.88 kB / 1.054 GB, free: 6.457 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001002/0.3818, allocations: 43.88 kB / 1.054 GB, free: 6.414 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 3.427e-05/0.3819, allocations: 12 kB / 1.054 GB, free: 6.402 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 8.585e-05/0.382, allocations: 27.92 kB / 1.055 GB, free: 6.375 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 2.184e-05/0.382, allocations: 7.938 kB / 1.055 GB, free: 6.367 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 8.217e-05/0.3821, allocations: 51.88 kB / 1.055 GB, free: 6.316 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0002124/0.3823, allocations: 147.6 kB / 1.055 GB, free: 6.172 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 4.518e-06/0.3823, allocations: 0 / 1.055 GB, free: 6.172 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.012e-06/0.3823, allocations: 0 / 1.055 GB, free: 6.172 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 5.37e-06/0.3823, allocations: 0 / 1.055 GB, free: 6.172 MB / 0.8106 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.0005154/0.3829, allocations: 438.9 kB / 1.055 GB, free: 5.68 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 3.948e-05/0.3829, allocations: 12.03 kB / 1.055 GB, free: 5.668 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.276e-05/0.383, allocations: 12.84 kB / 1.055 GB, free: 5.656 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001166/0.3831, allocations: 164.4 kB / 1.055 GB, free: 5.457 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.968e-05/0.3831, allocations: 4.375 kB / 1.055 GB, free: 5.453 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.312e-05/0.3832, allocations: 12.36 kB / 1.055 GB, free: 5.441 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001157/0.3833, allocations: 50.19 kB / 1.055 GB, free: 5.387 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.889e-06/0.3833, allocations: 192 / 1.055 GB, free: 5.387 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.482e-05/0.3833, allocations: 7.938 kB / 1.055 GB, free: 5.379 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.58e-06/0.3833, allocations: 0 / 1.055 GB, free: 5.379 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.686e-05/0.3834, allocations: 15.98 kB / 1.055 GB, free: 5.363 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005047/0.3839, allocations: 360.7 kB / 1.056 GB, free: 4.961 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 8.164e-05/0.384, allocations: 34.52 kB / 1.056 GB, free: 4.918 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.958e-05/0.384, allocations: 20.88 kB / 1.056 GB, free: 4.895 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 7.744e-06/0.384, allocations: 0 / 1.056 GB, free: 4.895 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000186/0.3842, allocations: 79.38 kB / 1.056 GB, free: 4.805 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=7): time 1.332e-06/0.3842, allocations: 4 kB / 1.056 GB, free: 4.801 MB / 0.8106 GB Notification: Performance of matching and sorting (n=7): time 0.0002875/0.3845, allocations: 101.6 kB / 1.056 GB, free: 4.695 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.261e-05/0.3846, allocations: 55.34 kB / 1.056 GB, free: 4.629 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001139/0.3847, allocations: 125.8 kB / 1.056 GB, free: 4.496 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 3.338e-05/0.3847, allocations: 33.7 kB / 1.056 GB, free: 4.457 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 6.57e-05/0.3848, allocations: 84.14 kB / 1.056 GB, free: 4.371 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 2.222e-05/0.3848, allocations: 19.75 kB / 1.056 GB, free: 4.352 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.753e-05/0.3849, allocations: 49.69 kB / 1.056 GB, free: 4.297 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001394/0.3851, allocations: 326.8 kB / 1.057 GB, free: 3.969 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001362/0.3852, allocations: 55.97 kB / 1.057 GB, free: 3.914 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001533/0.3854, allocations: 92.25 kB / 1.057 GB, free: 3.809 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001909/0.3856, allocations: 155.6 kB / 1.057 GB, free: 3.629 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.374e-06/0.3856, allocations: 0 / 1.057 GB, free: 3.629 MB / 0.8106 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0004123/0.386, allocations: 264.8 kB / 1.057 GB, free: 3.352 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 5.493e-05/0.3861, allocations: 67.39 kB / 1.057 GB, free: 3.273 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.45e-06/0.3861, allocations: 0 / 1.057 GB, free: 3.273 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.099e-05/0.3861, allocations: 4 kB / 1.057 GB, free: 3.27 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.376e-05/0.3861, allocations: 8.047 kB / 1.057 GB, free: 3.262 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.436e-06/0.3862, allocations: 8 kB / 1.057 GB, free: 3.254 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003684/0.3865, allocations: 47.94 kB / 1.057 GB, free: 3.207 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.379e-05/0.3866, allocations: 16.45 kB / 1.057 GB, free: 3.191 MB / 0.8106 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.000111/0.3867, allocations: 127.2 kB / 1.057 GB, free: 3.059 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.541e-05/0.3867, allocations: 7.906 kB / 1.057 GB, free: 3.051 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.616e-05/0.3867, allocations: 12.38 kB / 1.057 GB, free: 3.039 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.623e-06/0.3868, allocations: 0 / 1.057 GB, free: 3.039 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.62e-06/0.3868, allocations: 7.938 kB / 1.057 GB, free: 3.031 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.138e-06/0.3868, allocations: 3.984 kB / 1.057 GB, free: 3.027 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001372/0.3869, allocations: 173.6 kB / 1.058 GB, free: 2.809 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.193e-06/0.3869, allocations: 7.938 kB / 1.058 GB, free: 2.801 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.945e-06/0.3869, allocations: 0 / 1.058 GB, free: 2.801 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.737e-06/0.3869, allocations: 3.984 kB / 1.058 GB, free: 2.797 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.987e-06/0.387, allocations: 3.984 kB / 1.058 GB, free: 2.793 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.605e-06/0.387, allocations: 4 kB / 1.058 GB, free: 2.789 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.092e-06/0.387, allocations: 4 kB / 1.058 GB, free: 2.785 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001455/0.3871, allocations: 109.3 kB / 1.058 GB, free: 2.66 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 4.077e-05/0.3872, allocations: 89 kB / 1.058 GB, free: 2.555 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.493e-05/0.3872, allocations: 64 / 1.058 GB, free: 2.555 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.296e-05/0.3872, allocations: 8 kB / 1.058 GB, free: 2.547 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.466e-05/0.3873, allocations: 7.984 kB / 1.058 GB, free: 2.539 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.414e-06/0.3873, allocations: 4 kB / 1.058 GB, free: 2.535 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 5.486e-05/0.3873, allocations: 95.2 kB / 1.058 GB, free: 2.441 MB / 0.8106 GB Notification: Performance of sort global known variables: time 2.785e-06/0.3874, allocations: 4 kB / 1.058 GB, free: 2.438 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0002349/0.3876, allocations: 39.94 kB / 1.058 GB, free: 2.398 MB / 0.8106 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.0001898/0.3878, allocations: 95.25 kB / 1.058 GB, free: 2.297 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.0003296/0.3881, allocations: 250.6 kB / 1.058 GB, free: 2.027 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 2.815e-06/0.3881, allocations: 0 / 1.058 GB, free: 2.027 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 4.882e-05/0.3882, allocations: 27.98 kB / 1.058 GB, free: 2 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000239/0.3884, allocations: 20.23 kB / 1.058 GB, free: 1.98 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000373/0.3888, allocations: 160.5 kB / 1.059 GB, free: 1.793 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002749/0.3891, allocations: 0.6848 MB / 1.059 GB, free: 1.082 MB / 0.8106 GB Notification: Performance of simCode: alias equations: time 2.969e-05/0.3891, allocations: 11.98 kB / 1.059 GB, free: 1.07 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.04e-05/0.3892, allocations: 11.44 kB / 1.059 GB, free: 1.059 MB / 0.8106 GB Notification: Performance of SimCode: time 2.31e-07/0.3892, allocations: 0 / 1.059 GB, free: 1.059 MB / 0.8106 GB Notification: Performance of Templates: time 0.004174/0.3933, allocations: 1.739 MB / 1.061 GB, free: 15.34 MB / 0.8262 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/jenkins/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