Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001327/0.001327, allocations: 79.73 kB / 19.76 MB, free: 2.02 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.001437/0.001437, allocations: 159.9 kB / 23 MB, free: 4.949 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.478/1.478, allocations: 177.2 MB / 203.4 MB, free: 8.953 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 2.787/2.787, allocations: 377.9 MB / 0.6228 GB, free: 12.59 MB / 0.5919 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.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_12_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_12_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.002206/0.002206, allocations: 71.84 kB / 0.982 GB, free: 12.19 MB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.023/1.026, allocations: 176.1 MB / 1.154 GB, free: 33.33 MB / 1.076 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.Or): time 0.001813/1.027, allocations: 0.6464 MB / 1.155 GB, free: 32.93 MB / 1.076 GB Notification: Performance of NFInst.instExpressions: time 0.001254/1.029, allocations: 1.199 MB / 1.156 GB, free: 32.06 MB / 1.076 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.524e-05/1.029, allocations: 0 / 1.156 GB, free: 32.06 MB / 1.076 GB Notification: Performance of NFTyping.typeComponents: time 2.501e-05/1.029, allocations: 6.594 kB / 1.156 GB, free: 32.06 MB / 1.076 GB Notification: Performance of NFTyping.typeBindings: time 7.071e-05/1.029, allocations: 7.219 kB / 1.156 GB, free: 32.05 MB / 1.076 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005934/1.029, allocations: 229.3 kB / 1.156 GB, free: 31.93 MB / 1.076 GB Notification: Performance of NFFlatten.flatten: time 0.0001768/1.029, allocations: 172.2 kB / 1.156 GB, free: 31.86 MB / 1.076 GB Notification: Performance of NFFlatten.resolveConnections: time 7.789e-05/1.03, allocations: 16.5 kB / 1.156 GB, free: 31.86 MB / 1.076 GB Notification: Performance of NFEvalConstants.evaluate: time 8.51e-05/1.03, allocations: 65.44 kB / 1.156 GB, free: 31.83 MB / 1.076 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001201/1.03, allocations: 56.97 kB / 1.156 GB, free: 31.81 MB / 1.076 GB Notification: Performance of NFPackage.collectConstants: time 3.377e-05/1.03, allocations: 14.75 kB / 1.156 GB, free: 31.81 MB / 1.076 GB Notification: Performance of NFFlatten.collectFunctions: time 7.111e-05/1.03, allocations: 24.14 kB / 1.156 GB, free: 31.81 MB / 1.076 GB Notification: Performance of NFScalarize.scalarize: time 2.082e-05/1.03, allocations: 14.81 kB / 1.156 GB, free: 31.8 MB / 1.076 GB Notification: Performance of NFVerifyModel.verify: time 7.075e-05/1.03, allocations: 55.81 kB / 1.156 GB, free: 31.77 MB / 1.076 GB Notification: Performance of NFConvertDAE.convert: time 0.0001745/1.03, allocations: 146.2 kB / 1.156 GB, free: 31.73 MB / 1.076 GB Notification: Performance of FrontEnd - DAE generated: time 4.578e-06/1.03, allocations: 4 kB / 1.156 GB, free: 31.73 MB / 1.076 GB Notification: Performance of FrontEnd: time 1.142e-06/1.03, allocations: 2.969 kB / 1.156 GB, free: 31.73 MB / 1.076 GB Notification: Performance of Transformations before backend: time 4.688e-06/1.03, allocations: 0 / 1.156 GB, free: 31.73 MB / 1.076 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.0004383/1.031, allocations: 359.2 kB / 1.157 GB, free: 31.38 MB / 1.076 GB Notification: Performance of prepare preOptimizeDAE: time 3.199e-05/1.031, allocations: 8.125 kB / 1.157 GB, free: 31.38 MB / 1.076 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.697e-05/1.031, allocations: 13.12 kB / 1.157 GB, free: 31.38 MB / 1.076 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.725e-05/1.031, allocations: 117.3 kB / 1.157 GB, free: 31.24 MB / 1.076 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.85e-05/1.031, allocations: 9.281 kB / 1.157 GB, free: 31.24 MB / 1.076 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.59e-05/1.031, allocations: 12.75 kB / 1.157 GB, free: 31.23 MB / 1.076 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.392e-05/1.031, allocations: 52.05 kB / 1.157 GB, free: 31.2 MB / 1.076 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.045e-06/1.031, allocations: 192 / 1.157 GB, free: 31.2 MB / 1.076 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.958e-06/1.031, allocations: 3.938 kB / 1.157 GB, free: 31.19 MB / 1.076 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.379e-06/1.031, allocations: 0 / 1.157 GB, free: 31.19 MB / 1.076 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.698e-05/1.031, allocations: 20.11 kB / 1.157 GB, free: 31.18 MB / 1.076 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003532/1.031, allocations: 270.8 kB / 1.157 GB, free: 30.95 MB / 1.076 GB Notification: Performance of preOpt comSubExp (simulation): time 6.584e-05/1.031, allocations: 36.59 kB / 1.157 GB, free: 30.92 MB / 1.076 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.373e-05/1.031, allocations: 15.3 kB / 1.157 GB, free: 30.9 MB / 1.076 GB Notification: Performance of preOpt evalFunc (simulation): time 1.157e-05/1.031, allocations: 2.938 kB / 1.157 GB, free: 30.9 MB / 1.076 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001072/1.032, allocations: 84.66 kB / 1.157 GB, free: 30.84 MB / 1.076 GB Notification: Performance of pre-optimization done (n=7): time 1.242e-06/1.032, allocations: 0 / 1.157 GB, free: 30.84 MB / 1.076 GB Notification: Performance of matching and sorting (n=7): time 0.0002109/1.032, allocations: 112.7 kB / 1.158 GB, free: 30.78 MB / 1.076 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.281e-05/1.032, allocations: 51.41 kB / 1.158 GB, free: 30.72 MB / 1.076 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.332e-05/1.032, allocations: 123.3 kB / 1.158 GB, free: 30.61 MB / 1.076 GB Notification: Performance of collectPreVariables (initialization): time 2.291e-05/1.032, allocations: 32.61 kB / 1.158 GB, free: 30.57 MB / 1.076 GB Notification: Performance of collectInitialEqns (initialization): time 4.093e-05/1.032, allocations: 85.83 kB / 1.158 GB, free: 30.49 MB / 1.076 GB Notification: Performance of collectInitialBindings (initialization): time 1.311e-05/1.032, allocations: 14.84 kB / 1.158 GB, free: 30.48 MB / 1.076 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.503e-05/1.032, allocations: 50.8 kB / 1.158 GB, free: 30.46 MB / 1.076 GB Notification: Performance of setup shared object (initialization): time 4.35e-05/1.032, allocations: 318 kB / 1.158 GB, free: 30.14 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000132/1.032, allocations: 124.3 kB / 1.158 GB, free: 30.05 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001351/1.032, allocations: 156.5 kB / 1.158 GB, free: 29.92 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001407/1.032, allocations: 166.1 kB / 1.159 GB, free: 29.78 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.044e-06/1.032, allocations: 0 / 1.159 GB, free: 29.78 MB / 1.076 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.000355/1.033, allocations: 326.2 kB / 1.159 GB, free: 29.55 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 3.729e-05/1.033, allocations: 72.92 kB / 1.159 GB, free: 29.49 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.12e-06/1.033, allocations: 6.844 kB / 1.159 GB, free: 29.48 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.406e-05/1.033, allocations: 0 / 1.159 GB, free: 29.48 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.022e-05/1.033, allocations: 2.844 kB / 1.159 GB, free: 29.48 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.411e-06/1.033, allocations: 3.031 kB / 1.159 GB, free: 29.48 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003307/1.033, allocations: 55.97 kB / 1.159 GB, free: 29.48 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.879e-05/1.033, allocations: 15.97 kB / 1.159 GB, free: 29.47 MB / 1.076 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 6.913e-05/1.033, allocations: 134.6 kB / 1.159 GB, free: 29.34 MB / 1.076 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.119e-05/1.033, allocations: 2.812 kB / 1.159 GB, free: 29.34 MB / 1.076 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.44e-05/1.033, allocations: 14.64 kB / 1.159 GB, free: 29.32 MB / 1.076 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.773e-06/1.033, allocations: 0 / 1.159 GB, free: 29.32 MB / 1.076 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.008e-06/1.033, allocations: 3.938 kB / 1.159 GB, free: 29.32 MB / 1.076 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.946e-06/1.033, allocations: 0 / 1.159 GB, free: 29.32 MB / 1.076 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.54e-05/1.033, allocations: 115.8 kB / 1.159 GB, free: 29.19 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.72e-07/1.033, allocations: 0 / 1.159 GB, free: 29.19 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.017e-06/1.033, allocations: 6.344 kB / 1.159 GB, free: 29.19 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.563e-06/1.033, allocations: 0 / 1.159 GB, free: 29.19 MB / 1.076 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.414e-06/1.033, allocations: 4 kB / 1.159 GB, free: 29.19 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.883e-06/1.033, allocations: 6.844 kB / 1.159 GB, free: 29.18 MB / 1.076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.01e-07/1.033, allocations: 0 / 1.159 GB, free: 29.18 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001105/1.034, allocations: 114.5 kB / 1.159 GB, free: 29.09 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 8.766e-06/1.034, allocations: 7.172 kB / 1.159 GB, free: 29.09 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.521e-05/1.034, allocations: 7.203 kB / 1.159 GB, free: 29.09 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.992e-05/1.034, allocations: 2.719 kB / 1.159 GB, free: 29.09 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.161e-05/1.034, allocations: 6.156 kB / 1.16 GB, free: 29.09 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.803e-06/1.034, allocations: 6.719 kB / 1.16 GB, free: 29.08 MB / 1.076 GB Notification: Performance of sorting global known variables: time 2.878e-05/1.034, allocations: 88.38 kB / 1.16 GB, free: 29 MB / 1.076 GB Notification: Performance of sort global known variables: time 7e-08/1.034, allocations: 2.844 kB / 1.16 GB, free: 29 MB / 1.076 GB Notification: Performance of remove unused functions: time 0.000227/1.034, allocations: 25.81 kB / 1.16 GB, free: 29 MB / 1.076 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.0001073/1.034, allocations: 111.8 kB / 1.16 GB, free: 28.91 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 0.0002795/1.034, allocations: 277.5 kB / 1.16 GB, free: 28.68 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 2.074e-06/1.034, allocations: 0 / 1.16 GB, free: 28.68 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 3.871e-05/1.034, allocations: 25.61 kB / 1.16 GB, free: 28.67 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002196/1.035, allocations: 20.88 kB / 1.16 GB, free: 28.66 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000282/1.035, allocations: 160.3 kB / 1.16 GB, free: 28.52 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.49e-05/1.035, allocations: 69.03 kB / 1.16 GB, free: 28.45 MB / 1.076 GB Notification: Performance of simCode: alias equations: time 2.339e-05/1.035, allocations: 5.469 kB / 1.16 GB, free: 28.45 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.054e-05/1.035, allocations: 15.66 kB / 1.16 GB, free: 28.44 MB / 1.076 GB Notification: Performance of SimCode: time 3.31e-07/1.035, allocations: 0 / 1.16 GB, free: 28.44 MB / 1.076 GB Notification: Performance of Templates: time 0.004403/1.039, allocations: 2.054 MB / 1.162 GB, free: 28.18 MB / 1.076 GB " [Timeout remaining time 299] make -j1 -f Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.Or.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.Or.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.Or.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.Or.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.Or.sim & ./Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.Or -abortSlowSimulation -alarm=400 -s ida -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.Or.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.Or_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Controls_OBC_CDL_Logical_Validation_Or.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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: 9.077450216049328]