Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001713/0.001714, allocations: 115.5 kB / 17.08 MB, free: 5.988 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001971/0.001971, allocations: 194.2 kB / 20.03 MB, free: 3.059 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.513/1.513, allocations: 222.9 MB / 245.7 MB, free: 4.246 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.773/2.773, allocations: 437.1 MB / 0.7177 GB, free: 4.551 MB / 0.5606 GB " [Timeout remaining time 177] Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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=2500,variableFilter="time|or1.u1|or1.u2|or1.y",fileNamePrefix="Buildings_10_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_10_Buildings.Controls.OBC.CDL.Logical.Validation.Or") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001952/0.001951, allocations: 71.89 kB / 1.028 GB, free: 13.67 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3123/0.3143, allocations: 151.6 MB / 1.176 GB, free: 5.926 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.Or): time 0.001907/0.3162, allocations: 0.6581 MB / 1.177 GB, free: 5.262 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.001616/0.3179, allocations: 1.195 MB / 1.178 GB, free: 4.051 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.327e-05/0.318, allocations: 0 / 1.178 GB, free: 4.051 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 2.865e-05/0.318, allocations: 3.938 kB / 1.178 GB, free: 4.047 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 6.296e-05/0.3181, allocations: 11.92 kB / 1.178 GB, free: 4.035 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006308/0.3187, allocations: 215.9 kB / 1.178 GB, free: 3.828 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.0002481/0.319, allocations: 179.8 kB / 1.178 GB, free: 3.652 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 8.818e-05/0.3191, allocations: 15.92 kB / 1.178 GB, free: 3.637 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 9.445e-05/0.3192, allocations: 63.89 kB / 1.178 GB, free: 3.574 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001442/0.3193, allocations: 71.77 kB / 1.178 GB, free: 3.504 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 3.603e-05/0.3194, allocations: 16 kB / 1.178 GB, free: 3.488 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 8.093e-05/0.3194, allocations: 23.98 kB / 1.178 GB, free: 3.465 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 2.035e-05/0.3195, allocations: 8 kB / 1.178 GB, free: 3.457 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 9.641e-05/0.3196, allocations: 67.81 kB / 1.178 GB, free: 3.391 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.0002151/0.3198, allocations: 143.6 kB / 1.178 GB, free: 3.25 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 3.397e-06/0.3198, allocations: 0 / 1.178 GB, free: 3.25 MB / 0.92 GB Notification: Performance of FrontEnd: time 1.313e-06/0.3198, allocations: 4 kB / 1.178 GB, free: 3.246 MB / 0.92 GB Notification: Performance of Transformations before backend: time 4.749e-06/0.3198, allocations: 0 / 1.178 GB, free: 3.246 MB / 0.92 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.0005689/0.3204, allocations: 438.6 kB / 1.179 GB, free: 2.754 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 3.31e-05/0.3204, allocations: 8.031 kB / 1.179 GB, free: 2.746 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.63e-05/0.3205, allocations: 12.89 kB / 1.179 GB, free: 2.734 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001326/0.3206, allocations: 172.3 kB / 1.179 GB, free: 2.527 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.201e-05/0.3207, allocations: 12.38 kB / 1.179 GB, free: 2.516 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.805e-05/0.3207, allocations: 8.375 kB / 1.179 GB, free: 2.508 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001193/0.3208, allocations: 50.23 kB / 1.179 GB, free: 2.453 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.236e-06/0.3208, allocations: 192 / 1.179 GB, free: 2.453 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.461e-05/0.3209, allocations: 7.938 kB / 1.179 GB, free: 2.445 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.228e-06/0.3209, allocations: 0 / 1.179 GB, free: 2.445 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.434e-05/0.3209, allocations: 23.92 kB / 1.179 GB, free: 2.422 MB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005046/0.3214, allocations: 344.8 kB / 1.179 GB, free: 2.035 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 8.026e-05/0.3215, allocations: 46.45 kB / 1.18 GB, free: 1.98 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.98e-05/0.3216, allocations: 12.94 kB / 1.18 GB, free: 1.965 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 1.594e-05/0.3216, allocations: 8 kB / 1.18 GB, free: 1.957 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001762/0.3218, allocations: 71.38 kB / 1.18 GB, free: 1.875 MB / 0.92 GB Notification: Performance of pre-optimization done (n=7): time 1.343e-06/0.3218, allocations: 0 / 1.18 GB, free: 1.875 MB / 0.92 GB Notification: Performance of matching and sorting (n=7): time 0.0002715/0.322, allocations: 109.5 kB / 1.18 GB, free: 1.762 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.095e-05/0.3221, allocations: 59.41 kB / 1.18 GB, free: 1.691 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001123/0.3222, allocations: 121.8 kB / 1.18 GB, free: 1.562 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 3.409e-05/0.3223, allocations: 29.7 kB / 1.18 GB, free: 1.527 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 6.66e-05/0.3223, allocations: 92.09 kB / 1.18 GB, free: 1.434 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 2.151e-05/0.3224, allocations: 15.91 kB / 1.18 GB, free: 1.418 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001026/0.3225, allocations: 53.69 kB / 1.18 GB, free: 1.359 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0001489/0.3226, allocations: 318.8 kB / 1.18 GB, free: 1.039 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001372/0.3228, allocations: 59.97 kB / 1.18 GB, free: 0.9805 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001601/0.3229, allocations: 103.6 kB / 1.181 GB, free: 0.8672 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002117/0.3232, allocations: 151.6 kB / 1.181 GB, free: 0.6914 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.089e-06/0.3232, allocations: 4 kB / 1.181 GB, free: 0.6875 MB / 0.92 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0004402/0.3236, allocations: 257.4 kB / 1.181 GB, free: 428 kB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 6.722e-05/0.3237, allocations: 71.33 kB / 1.181 GB, free: 344 kB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.023e-06/0.3237, allocations: 4 kB / 1.181 GB, free: 340 kB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.358e-05/0.3237, allocations: 0 / 1.181 GB, free: 340 kB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.524e-05/0.3238, allocations: 8 kB / 1.181 GB, free: 332 kB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.243e-06/0.3238, allocations: 3.984 kB / 1.181 GB, free: 328 kB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003429/0.3241, allocations: 56.02 kB / 1.181 GB, free: 272 kB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.988e-05/0.3242, allocations: 8 kB / 1.181 GB, free: 264 kB / 0.92 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.0001266/0.3243, allocations: 132 kB / 1.181 GB, free: 124 kB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.553e-05/0.3243, allocations: 15.89 kB / 1.181 GB, free: 108 kB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.646e-05/0.3243, allocations: 8.375 kB / 1.181 GB, free: 96 kB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.48e-06/0.3244, allocations: 3.984 kB / 1.181 GB, free: 92 kB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.626e-06/0.3244, allocations: 0 / 1.181 GB, free: 92 kB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.805e-06/0.3244, allocations: 0 / 1.181 GB, free: 92 kB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001894/0.3246, allocations: 193.5 kB / 1.181 GB, free: 15.85 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.303e-06/0.3246, allocations: 0 / 1.181 GB, free: 15.85 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.566e-06/0.3246, allocations: 0 / 1.181 GB, free: 15.85 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.623e-06/0.3246, allocations: 0 / 1.181 GB, free: 15.85 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.598e-06/0.3246, allocations: 4 kB / 1.181 GB, free: 15.85 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.493e-06/0.3246, allocations: 0 / 1.181 GB, free: 15.85 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.31e-07/0.3246, allocations: 0 / 1.181 GB, free: 15.85 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000163/0.3248, allocations: 116.9 kB / 1.182 GB, free: 15.71 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 5.583e-05/0.3249, allocations: 77.11 kB / 1.182 GB, free: 15.62 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.813e-05/0.3249, allocations: 8.062 kB / 1.182 GB, free: 15.61 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.095e-05/0.3249, allocations: 7.984 kB / 1.182 GB, free: 15.61 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.11e-05/0.3249, allocations: 0 / 1.182 GB, free: 15.61 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.979e-06/0.325, allocations: 8 kB / 1.182 GB, free: 15.6 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 5.71e-05/0.325, allocations: 91.27 kB / 1.182 GB, free: 15.51 MB / 0.9356 GB Notification: Performance of sort global known variables: time 1.2e-07/0.325, allocations: 0 / 1.182 GB, free: 15.51 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0002399/0.3253, allocations: 28 kB / 1.182 GB, free: 15.48 MB / 0.9356 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.0001714/0.3254, allocations: 107.2 kB / 1.182 GB, free: 15.37 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0003707/0.3258, allocations: 250.6 kB / 1.182 GB, free: 15.1 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 2.485e-06/0.3258, allocations: 0 / 1.182 GB, free: 15.1 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 6.209e-05/0.3259, allocations: 31.94 kB / 1.182 GB, free: 15.07 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002369/0.3262, allocations: 20.75 kB / 1.182 GB, free: 15.05 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003474/0.3265, allocations: 180.3 kB / 1.182 GB, free: 14.84 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003258/0.3269, allocations: 0.6926 MB / 1.183 GB, free: 14.12 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.581e-05/0.3269, allocations: 15.44 kB / 1.183 GB, free: 14.1 MB / 0.9356 GB Notification: Performance of SimCode: time 4.71e-07/0.3269, allocations: 0 / 1.183 GB, free: 14.1 MB / 0.9356 GB Notification: Performance of Templates: time 0.003381/0.3303, allocations: 1.376 MB / 1.184 GB, free: 12.73 MB / 0.9356 GB " [Timeout remaining time 300] make -j1 -f Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.Or.makefile [Timeout 300] (rm -f Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.Or.pipe ; mkfifo Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.Or.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.Or.pipe >> ../files/Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.Or.sim & ./Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.Or -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.Or.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.Or_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_OBC_CDL_Logical_Validation_Or.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_10_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: 10.558014672948048]