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.001714/0.001714, allocations: 104.7 kB / 16.45 MB, free: 6.449 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.001853/0.001853, allocations: 210.4 kB / 19.43 MB, free: 3.637 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.54/1.54, allocations: 230.6 MB / 252.8 MB, free: 9.113 MB / 206.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 3.257/3.257, allocations: 0.49 GB / 0.7916 GB, free: 33.46 MB / 0.6231 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.002424/0.002424, allocations: 76.89 kB / 1.149 GB, free: 26.09 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4032/0.4057, allocations: 176.1 MB / 1.321 GB, free: 2.84 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.Or): time 0.002024/0.4077, allocations: 0.6712 MB / 1.322 GB, free: 2.168 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.001744/0.4094, allocations: 1.214 MB / 1.323 GB, free: 0.9414 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.343e-05/0.4095, allocations: 0 / 1.323 GB, free: 0.9414 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 4.297e-05/0.4095, allocations: 3.938 kB / 1.323 GB, free: 0.9375 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 8.52e-05/0.4096, allocations: 19.86 kB / 1.323 GB, free: 0.918 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006809/0.4103, allocations: 216.8 kB / 1.323 GB, free: 0.7109 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.0002757/0.4106, allocations: 167.7 kB / 1.323 GB, free: 0.5469 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 9.633e-05/0.4107, allocations: 11.98 kB / 1.323 GB, free: 0.5352 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001103/0.4108, allocations: 67.88 kB / 1.324 GB, free: 480 kB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001421/0.4109, allocations: 59.86 kB / 1.324 GB, free: 420 kB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 3.532e-05/0.411, allocations: 16 kB / 1.324 GB, free: 404 kB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 8.696e-05/0.4111, allocations: 31.98 kB / 1.324 GB, free: 372 kB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 2.791e-05/0.4111, allocations: 11.92 kB / 1.324 GB, free: 360 kB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 9.143e-05/0.4112, allocations: 59.89 kB / 1.324 GB, free: 300 kB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.0002433/0.4114, allocations: 151.5 kB / 1.324 GB, free: 148 kB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 3.877e-06/0.4114, allocations: 0 / 1.324 GB, free: 148 kB / 1.014 GB Notification: Performance of FrontEnd: time 2.575e-06/0.4114, allocations: 0 / 1.324 GB, free: 148 kB / 1.014 GB Notification: Performance of Transformations before backend: time 1.251e-05/0.4114, allocations: 0 / 1.324 GB, free: 148 kB / 1.014 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.0007712/0.4122, allocations: 438.6 kB / 1.324 GB, free: 15.65 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.304e-05/0.4122, allocations: 19.92 kB / 1.324 GB, free: 15.63 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.209e-05/0.4123, allocations: 8.938 kB / 1.324 GB, free: 15.62 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001554/0.4125, allocations: 168.3 kB / 1.324 GB, free: 15.42 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.469e-05/0.4125, allocations: 8.375 kB / 1.324 GB, free: 15.41 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.666e-05/0.4125, allocations: 16.38 kB / 1.325 GB, free: 15.4 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001392/0.4127, allocations: 46.19 kB / 1.325 GB, free: 15.35 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.285e-06/0.4127, allocations: 192 / 1.325 GB, free: 15.35 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.605e-05/0.4127, allocations: 7.938 kB / 1.325 GB, free: 15.34 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.119e-06/0.4127, allocations: 0 / 1.325 GB, free: 15.34 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.871e-05/0.4127, allocations: 15.98 kB / 1.325 GB, free: 15.32 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005603/0.4133, allocations: 352.7 kB / 1.325 GB, free: 14.93 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000101/0.4134, allocations: 38.61 kB / 1.325 GB, free: 14.88 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.026e-05/0.4134, allocations: 12.84 kB / 1.325 GB, free: 14.87 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 1.148e-05/0.4134, allocations: 0 / 1.325 GB, free: 14.87 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002249/0.4137, allocations: 87.3 kB / 1.325 GB, free: 14.77 MB / 1.029 GB Notification: Performance of pre-optimization done (n=7): time 1.162e-06/0.4137, allocations: 0 / 1.325 GB, free: 14.77 MB / 1.029 GB Notification: Performance of matching and sorting (n=7): time 0.0002797/0.414, allocations: 97.62 kB / 1.325 GB, free: 14.67 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.556e-05/0.414, allocations: 59.41 kB / 1.325 GB, free: 14.6 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001282/0.4141, allocations: 125.8 kB / 1.325 GB, free: 14.46 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 3.866e-05/0.4142, allocations: 33.64 kB / 1.325 GB, free: 14.43 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 8.704e-05/0.4143, allocations: 88.14 kB / 1.325 GB, free: 14.34 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 2.822e-05/0.4143, allocations: 19.88 kB / 1.325 GB, free: 14.32 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001052/0.4144, allocations: 49.69 kB / 1.325 GB, free: 14.26 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.000177/0.4146, allocations: 322.8 kB / 1.326 GB, free: 13.94 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001554/0.4147, allocations: 63.91 kB / 1.326 GB, free: 13.88 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001656/0.4149, allocations: 96.12 kB / 1.326 GB, free: 13.77 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002274/0.4151, allocations: 160.1 kB / 1.326 GB, free: 13.59 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.024e-06/0.4151, allocations: 0 / 1.326 GB, free: 13.59 MB / 1.029 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0006342/0.4158, allocations: 272.8 kB / 1.326 GB, free: 13.3 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 6.927e-05/0.4158, allocations: 67.41 kB / 1.326 GB, free: 13.22 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.917e-06/0.4158, allocations: 3.984 kB / 1.326 GB, free: 13.22 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.413e-05/0.4159, allocations: 4 kB / 1.326 GB, free: 13.21 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.204e-05/0.4159, allocations: 0 / 1.326 GB, free: 13.21 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.13e-05/0.4159, allocations: 7.938 kB / 1.326 GB, free: 13.21 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003612/0.4163, allocations: 56.02 kB / 1.326 GB, free: 13.15 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.4e-05/0.4163, allocations: 11.98 kB / 1.327 GB, free: 13.14 MB / 1.029 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.0001218/0.4164, allocations: 125.8 kB / 1.327 GB, free: 13.01 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.309e-05/0.4164, allocations: 4 kB / 1.327 GB, free: 13 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.986e-05/0.4165, allocations: 4.375 kB / 1.327 GB, free: 13 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.994e-06/0.4165, allocations: 0 / 1.327 GB, free: 13 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.91e-06/0.4165, allocations: 0 / 1.327 GB, free: 13 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.059e-05/0.4165, allocations: 7.984 kB / 1.327 GB, free: 12.99 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00019/0.4167, allocations: 185.5 kB / 1.327 GB, free: 12.76 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.12e-07/0.4167, allocations: 4 kB / 1.327 GB, free: 12.75 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.293e-05/0.4167, allocations: 4 kB / 1.327 GB, free: 12.75 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.402e-06/0.4167, allocations: 0 / 1.327 GB, free: 12.75 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.905e-06/0.4167, allocations: 0 / 1.327 GB, free: 12.75 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.491e-05/0.4167, allocations: 3.984 kB / 1.327 GB, free: 12.75 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.126e-06/0.4167, allocations: 4 kB / 1.327 GB, free: 12.74 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001663/0.4169, allocations: 109.3 kB / 1.327 GB, free: 12.62 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001458/0.417, allocations: 89.05 kB / 1.327 GB, free: 12.51 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.673e-05/0.4171, allocations: 4 kB / 1.327 GB, free: 12.51 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.8e-05/0.4171, allocations: 0 / 1.327 GB, free: 12.51 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.429e-05/0.4171, allocations: 11.98 kB / 1.327 GB, free: 12.5 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.215e-06/0.4171, allocations: 4 kB / 1.327 GB, free: 12.49 MB / 1.029 GB Notification: Performance of sorting global known variables: time 6.344e-05/0.4172, allocations: 91.22 kB / 1.327 GB, free: 12.4 MB / 1.029 GB Notification: Performance of sort global known variables: time 7e-08/0.4172, allocations: 0 / 1.327 GB, free: 12.4 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0002396/0.4174, allocations: 27.98 kB / 1.327 GB, free: 12.38 MB / 1.029 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.0003074/0.4178, allocations: 107.5 kB / 1.327 GB, free: 12.26 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0003804/0.4181, allocations: 230.7 kB / 1.327 GB, free: 12.01 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 1.763e-06/0.4181, allocations: 0 / 1.327 GB, free: 12.01 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 5.296e-05/0.4182, allocations: 27.86 kB / 1.328 GB, free: 11.98 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000238/0.4184, allocations: 15.98 kB / 1.328 GB, free: 11.97 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004001/0.4188, allocations: 154.5 kB / 1.328 GB, free: 11.79 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003428/0.4192, allocations: 0.6926 MB / 1.328 GB, free: 11.07 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 3.003e-05/0.4192, allocations: 7.984 kB / 1.328 GB, free: 11.06 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.91e-05/0.4192, allocations: 11.44 kB / 1.328 GB, free: 11.05 MB / 1.029 GB Notification: Performance of SimCode: time 2.51e-07/0.4192, allocations: 0 / 1.328 GB, free: 11.05 MB / 1.029 GB Notification: Performance of Templates: time 0.005216/0.4244, allocations: 1.846 MB / 1.33 GB, free: 9.227 MB / 1.029 GB " [Timeout remaining time 300] 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 -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/jenkins/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.33101601107046]