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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001265/0.001265, allocations: 110.2 kB / 19.69 MB, free: 2.254 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001604/0.001604, allocations: 214 kB / 23.01 MB, free: 4.566 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.473/1.473, allocations: 230.6 MB / 256.8 MB, free: 8.027 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.808/2.808, allocations: 476.7 MB / 0.7714 GB, free: 4.266 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Logical.Validation.Or,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,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=2500,variableFilter="time|or1.u1|or1.u2|or1.y",fileNamePrefix="Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.Or") [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002096/0.002096, allocations: 66.73 kB / 1.119 GB, free: 40.4 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3183/0.3204, allocations: 170 MB / 1.285 GB, free: 11.19 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.Or): time 0.001984/0.3223, allocations: 0.6608 MB / 1.285 GB, free: 10.54 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.001646/0.324, allocations: 1.227 MB / 1.286 GB, free: 9.297 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.552e-05/0.324, allocations: 0 / 1.286 GB, free: 9.297 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 3.074e-05/0.3241, allocations: 3.938 kB / 1.286 GB, free: 9.293 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 7.508e-05/0.3241, allocations: 15.92 kB / 1.286 GB, free: 9.277 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006585/0.3248, allocations: 213.4 kB / 1.287 GB, free: 9.074 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0002477/0.3251, allocations: 171.8 kB / 1.287 GB, free: 8.906 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 9.052e-05/0.3251, allocations: 15.92 kB / 1.287 GB, free: 8.891 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001041/0.3252, allocations: 67.89 kB / 1.287 GB, free: 8.824 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001491/0.3254, allocations: 63.84 kB / 1.287 GB, free: 8.762 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 3.185e-05/0.3254, allocations: 16 kB / 1.287 GB, free: 8.746 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 7.871e-05/0.3255, allocations: 23.98 kB / 1.287 GB, free: 8.723 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 3.333e-05/0.3255, allocations: 15.92 kB / 1.287 GB, free: 8.707 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 9.191e-05/0.3256, allocations: 47.91 kB / 1.287 GB, free: 8.66 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0002227/0.3259, allocations: 155.5 kB / 1.287 GB, free: 8.508 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 4.358e-06/0.3259, allocations: 4 kB / 1.287 GB, free: 8.504 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.152e-06/0.3259, allocations: 0 / 1.287 GB, free: 8.504 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 5.79e-06/0.3259, allocations: 0 / 1.287 GB, free: 8.504 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.0005526/0.3264, allocations: 365.5 kB / 1.288 GB, free: 8.102 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.678e-05/0.3265, allocations: 8.031 kB / 1.288 GB, free: 8.094 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.578e-05/0.3265, allocations: 8.938 kB / 1.288 GB, free: 8.086 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001267/0.3266, allocations: 114.4 kB / 1.288 GB, free: 7.949 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.216e-05/0.3267, allocations: 8.375 kB / 1.288 GB, free: 7.941 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.34e-05/0.3267, allocations: 16.31 kB / 1.288 GB, free: 7.926 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001299/0.3268, allocations: 54.23 kB / 1.288 GB, free: 7.867 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.027e-06/0.3268, allocations: 192 / 1.288 GB, free: 7.867 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.308e-05/0.3268, allocations: 3.938 kB / 1.288 GB, free: 7.863 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.188e-06/0.3268, allocations: 0 / 1.288 GB, free: 7.863 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.359e-05/0.3269, allocations: 15.98 kB / 1.288 GB, free: 7.848 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005173/0.3274, allocations: 323.8 kB / 1.288 GB, free: 7.488 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 8.921e-05/0.3275, allocations: 38.5 kB / 1.288 GB, free: 7.441 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.022e-05/0.3275, allocations: 16.86 kB / 1.288 GB, free: 7.422 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 1.025e-05/0.3275, allocations: 0 / 1.288 GB, free: 7.422 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001955/0.3277, allocations: 83.41 kB / 1.288 GB, free: 7.328 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=7): time 1.173e-06/0.3277, allocations: 0 / 1.288 GB, free: 7.328 MB / 0.9825 GB Notification: Performance of matching and sorting (n=7): time 0.0002706/0.328, allocations: 105.6 kB / 1.288 GB, free: 7.219 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.359e-05/0.328, allocations: 55.34 kB / 1.288 GB, free: 7.152 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000128/0.3282, allocations: 121.8 kB / 1.289 GB, free: 7.023 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 3.646e-05/0.3282, allocations: 37.7 kB / 1.289 GB, free: 6.98 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 7.797e-05/0.3283, allocations: 96.11 kB / 1.289 GB, free: 6.883 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 1.561e-05/0.3283, allocations: 7.906 kB / 1.289 GB, free: 6.875 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.158e-05/0.3284, allocations: 49.69 kB / 1.289 GB, free: 6.82 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001509/0.3286, allocations: 326.8 kB / 1.289 GB, free: 6.492 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001301/0.3287, allocations: 55.97 kB / 1.289 GB, free: 6.438 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001645/0.3288, allocations: 96.19 kB / 1.289 GB, free: 6.328 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002001/0.329, allocations: 160.1 kB / 1.289 GB, free: 6.145 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.054e-06/0.329, allocations: 0 / 1.289 GB, free: 6.145 MB / 0.9825 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0004335/0.3295, allocations: 264.9 kB / 1.29 GB, free: 5.867 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 6.307e-05/0.3295, allocations: 75.42 kB / 1.29 GB, free: 5.781 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.52e-06/0.3295, allocations: 0 / 1.29 GB, free: 5.781 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.372e-05/0.3296, allocations: 0 / 1.29 GB, free: 5.781 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.425e-05/0.3296, allocations: 8 kB / 1.29 GB, free: 5.773 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.57e-06/0.3296, allocations: 320 / 1.29 GB, free: 5.773 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003265/0.3299, allocations: 51.89 kB / 1.29 GB, free: 5.723 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.347e-05/0.33, allocations: 15.98 kB / 1.29 GB, free: 5.707 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.0001134/0.3301, allocations: 129.7 kB / 1.29 GB, free: 5.57 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.602e-05/0.3301, allocations: 7.984 kB / 1.29 GB, free: 5.562 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.621e-05/0.3301, allocations: 8.375 kB / 1.29 GB, free: 5.555 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.492e-06/0.3301, allocations: 0 / 1.29 GB, free: 5.555 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.258e-06/0.3301, allocations: 0 / 1.29 GB, free: 5.555 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.725e-06/0.3301, allocations: 0 / 1.29 GB, free: 5.555 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001469/0.3303, allocations: 156.6 kB / 1.29 GB, free: 5.359 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.272e-06/0.3303, allocations: 0 / 1.29 GB, free: 5.359 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.207e-05/0.3303, allocations: 7.984 kB / 1.29 GB, free: 5.352 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.423e-06/0.3303, allocations: 4 kB / 1.29 GB, free: 5.348 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.976e-06/0.3303, allocations: 4.062 kB / 1.29 GB, free: 5.344 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.223e-06/0.3303, allocations: 0 / 1.29 GB, free: 5.344 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.32e-07/0.3303, allocations: 0 / 1.29 GB, free: 5.344 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001554/0.3304, allocations: 124.9 kB / 1.29 GB, free: 5.203 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 1.182e-05/0.3305, allocations: 7.953 kB / 1.29 GB, free: 5.195 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.447e-05/0.3305, allocations: 0 / 1.29 GB, free: 5.195 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.927e-05/0.3305, allocations: 3.938 kB / 1.29 GB, free: 5.191 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.888e-05/0.3305, allocations: 11.98 kB / 1.29 GB, free: 5.18 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.727e-06/0.3305, allocations: 8 kB / 1.29 GB, free: 5.172 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 5.512e-05/0.3306, allocations: 87.27 kB / 1.29 GB, free: 5.086 MB / 0.9825 GB Notification: Performance of sort global known variables: time 9e-08/0.3306, allocations: 4 kB / 1.29 GB, free: 5.082 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0002318/0.3308, allocations: 24.28 kB / 1.29 GB, free: 5.059 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.0001501/0.331, allocations: 103.2 kB / 1.29 GB, free: 4.949 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.000356/0.3313, allocations: 222.8 kB / 1.291 GB, free: 4.707 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.344e-06/0.3313, allocations: 8 kB / 1.291 GB, free: 4.699 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 4.913e-05/0.3314, allocations: 19.94 kB / 1.291 GB, free: 4.68 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002334/0.3316, allocations: 19.92 kB / 1.291 GB, free: 4.66 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003924/0.332, allocations: 188.5 kB / 1.291 GB, free: 4.438 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003123/0.3323, allocations: 0.6885 MB / 1.291 GB, free: 3.723 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.449e-05/0.3324, allocations: 15.44 kB / 1.291 GB, free: 3.707 MB / 0.9825 GB Notification: Performance of SimCode: time 2.8e-07/0.3324, allocations: 0 / 1.291 GB, free: 3.707 MB / 0.9825 GB Notification: Performance of Templates: time 0.003357/0.3357, allocations: 1.387 MB / 1.293 GB, free: 2.344 MB / 0.9825 GB " [Timeout remaining time 299] make -j1 -f Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.Or.makefile [Timeout 300] (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) [Timeout 400] 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/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.Or.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 11.089233184000477]