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.001665/0.001665, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001854/0.001855, allocations: 192.8 kB / 16.25 MB, free: 6.641 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.457/1.457, allocations: 222.9 MB / 239.9 MB, free: 4.551 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 3.03/3.03, allocations: 469.8 MB / 0.742 GB, free: 7.641 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001856/0.001856, allocations: 65.97 kB / 0.9081 GB, free: 34.53 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3713/0.3732, allocations: 159.1 MB / 1.063 GB, free: 14.65 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.Or): time 0.002209/0.3754, allocations: 0.7157 MB / 1.064 GB, free: 13.93 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.001718/0.3772, allocations: 1.195 MB / 1.065 GB, free: 12.73 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.613e-05/0.3772, allocations: 0 / 1.065 GB, free: 12.73 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 3.455e-05/0.3773, allocations: 4 kB / 1.065 GB, free: 12.72 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 7.328e-05/0.3774, allocations: 7.922 kB / 1.065 GB, free: 12.71 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006746/0.3781, allocations: 202.4 kB / 1.066 GB, free: 12.52 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.000249/0.3783, allocations: 191.6 kB / 1.066 GB, free: 12.34 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001054/0.3784, allocations: 12 kB / 1.066 GB, free: 12.32 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001022/0.3785, allocations: 67.88 kB / 1.066 GB, free: 12.26 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001079/0.3787, allocations: 51.88 kB / 1.066 GB, free: 12.21 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 3.284e-05/0.3787, allocations: 12 kB / 1.066 GB, free: 12.2 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001607/0.3789, allocations: 27.98 kB / 1.066 GB, free: 12.17 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 2.512e-05/0.3789, allocations: 15.92 kB / 1.066 GB, free: 12.15 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 8.41e-05/0.379, allocations: 51.89 kB / 1.066 GB, free: 12.1 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0002307/0.3792, allocations: 155.6 kB / 1.066 GB, free: 11.95 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 4.739e-06/0.3792, allocations: 0 / 1.066 GB, free: 11.95 MB / 0.8262 GB Notification: Performance of FrontEnd: time 2.295e-06/0.3792, allocations: 0 / 1.066 GB, free: 11.95 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 6.583e-06/0.3792, allocations: 0 / 1.066 GB, free: 11.95 MB / 0.8262 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.0006205/0.3799, allocations: 435 kB / 1.067 GB, free: 11.46 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 3.833e-05/0.3799, allocations: 8.031 kB / 1.067 GB, free: 11.45 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.445e-05/0.38, allocations: 16.83 kB / 1.067 GB, free: 11.44 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001466/0.3801, allocations: 168.3 kB / 1.067 GB, free: 11.23 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.22e-05/0.3802, allocations: 8.375 kB / 1.067 GB, free: 11.23 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.428e-05/0.3802, allocations: 8.375 kB / 1.067 GB, free: 11.22 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001298/0.3804, allocations: 46.23 kB / 1.067 GB, free: 11.17 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.977e-06/0.3804, allocations: 192 / 1.067 GB, free: 11.17 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.447e-05/0.3804, allocations: 7.938 kB / 1.067 GB, free: 11.16 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.438e-06/0.3804, allocations: 8 kB / 1.067 GB, free: 11.15 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.48e-05/0.3805, allocations: 12 kB / 1.067 GB, free: 11.14 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005599/0.381, allocations: 352.6 kB / 1.067 GB, free: 10.75 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 8.785e-05/0.3811, allocations: 42.5 kB / 1.067 GB, free: 10.7 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.399e-05/0.3812, allocations: 12.86 kB / 1.067 GB, free: 10.68 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 1.254e-05/0.3812, allocations: 3.984 kB / 1.067 GB, free: 10.68 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000201/0.3814, allocations: 79.45 kB / 1.067 GB, free: 10.59 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=7): time 1.313e-06/0.3814, allocations: 3.938 kB / 1.067 GB, free: 10.58 MB / 0.8262 GB Notification: Performance of matching and sorting (n=7): time 0.0002686/0.3817, allocations: 109.6 kB / 1.067 GB, free: 10.47 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.357e-05/0.3817, allocations: 51.41 kB / 1.067 GB, free: 10.41 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001126/0.3819, allocations: 121.8 kB / 1.068 GB, free: 10.28 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 3.681e-05/0.3819, allocations: 29.7 kB / 1.068 GB, free: 10.24 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 8.004e-05/0.382, allocations: 100 kB / 1.068 GB, free: 10.14 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 1.843e-05/0.382, allocations: 11.91 kB / 1.068 GB, free: 10.13 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.601e-05/0.3821, allocations: 45.69 kB / 1.068 GB, free: 10.08 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001624/0.3823, allocations: 322.8 kB / 1.068 GB, free: 9.754 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001334/0.3824, allocations: 55.97 kB / 1.068 GB, free: 9.699 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001671/0.3826, allocations: 100.2 kB / 1.068 GB, free: 9.586 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002063/0.3828, allocations: 163.5 kB / 1.068 GB, free: 9.398 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.615e-06/0.3828, allocations: 0 / 1.068 GB, free: 9.398 MB / 0.8262 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0004596/0.3833, allocations: 260.8 kB / 1.069 GB, free: 9.125 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 6.188e-05/0.3834, allocations: 67.39 kB / 1.069 GB, free: 9.047 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.352e-06/0.3834, allocations: 8.188 kB / 1.069 GB, free: 9.039 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.487e-05/0.3834, allocations: 4 kB / 1.069 GB, free: 9.035 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.24e-05/0.3834, allocations: 4 kB / 1.069 GB, free: 9.031 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.694e-06/0.3834, allocations: 4 kB / 1.069 GB, free: 9.027 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003576/0.3838, allocations: 56.3 kB / 1.069 GB, free: 8.973 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.387e-05/0.3838, allocations: 11.94 kB / 1.069 GB, free: 8.961 MB / 0.8262 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.0001374/0.384, allocations: 143.2 kB / 1.069 GB, free: 8.812 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.285e-05/0.384, allocations: 4 kB / 1.069 GB, free: 8.809 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.65e-05/0.384, allocations: 4.375 kB / 1.069 GB, free: 8.805 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.134e-06/0.384, allocations: 0 / 1.069 GB, free: 8.805 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.712e-06/0.384, allocations: 4 kB / 1.069 GB, free: 8.801 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.926e-06/0.384, allocations: 0 / 1.069 GB, free: 8.801 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001654/0.3842, allocations: 181.6 kB / 1.069 GB, free: 8.574 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.226e-06/0.3842, allocations: 4 kB / 1.069 GB, free: 8.57 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.315e-06/0.3842, allocations: 0 / 1.069 GB, free: 8.57 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.272e-06/0.3842, allocations: 0 / 1.069 GB, free: 8.57 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.005e-06/0.3843, allocations: 4 kB / 1.069 GB, free: 8.566 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.266e-06/0.3843, allocations: 4 kB / 1.069 GB, free: 8.562 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.61e-07/0.3843, allocations: 0 / 1.069 GB, free: 8.562 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001588/0.3844, allocations: 112.9 kB / 1.069 GB, free: 8.434 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 5.81e-05/0.3845, allocations: 85.02 kB / 1.069 GB, free: 8.332 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.495e-05/0.3845, allocations: 0 / 1.069 GB, free: 8.332 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.066e-05/0.3846, allocations: 3.984 kB / 1.069 GB, free: 8.328 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.955e-05/0.3846, allocations: 4 kB / 1.069 GB, free: 8.324 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.064e-05/0.3846, allocations: 12 kB / 1.069 GB, free: 8.312 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 5.965e-05/0.3847, allocations: 91.27 kB / 1.069 GB, free: 8.223 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.1e-07/0.3847, allocations: 0 / 1.069 GB, free: 8.223 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0002307/0.3849, allocations: 24 kB / 1.069 GB, free: 8.199 MB / 0.8262 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.0001964/0.3851, allocations: 107.2 kB / 1.069 GB, free: 8.086 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0003802/0.3855, allocations: 250.6 kB / 1.07 GB, free: 7.816 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 4.699e-06/0.3855, allocations: 256 / 1.07 GB, free: 7.816 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 5.442e-05/0.3856, allocations: 36.27 kB / 1.07 GB, free: 7.781 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002504/0.3858, allocations: 20.41 kB / 1.07 GB, free: 7.762 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003728/0.3862, allocations: 162.7 kB / 1.07 GB, free: 7.574 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003812/0.3866, allocations: 0.6923 MB / 1.071 GB, free: 6.855 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 2.741e-05/0.3866, allocations: 4 kB / 1.071 GB, free: 6.852 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.396e-05/0.3867, allocations: 15.44 kB / 1.071 GB, free: 6.836 MB / 0.8262 GB Notification: Performance of SimCode: time 2.4e-07/0.3867, allocations: 0 / 1.071 GB, free: 6.836 MB / 0.8262 GB Notification: Performance of Templates: time 0.005298/0.392, allocations: 1.831 MB / 1.072 GB, free: 5.027 MB / 0.8262 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=400 -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