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.001269/0.001269, allocations: 102.1 kB / 19.7 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.001392/0.001392, allocations: 220.5 kB / 23.01 MB, free: 4.609 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.494/1.494, allocations: 230.6 MB / 256.8 MB, free: 8.047 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.112/3.112, allocations: 0.49 GB / 0.7958 GB, free: 33.51 MB / 0.6231 GB " [Timeout remaining time 177] 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.002106/0.002106, allocations: 70.08 kB / 1.155 GB, free: 25.49 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3353/0.3374, allocations: 176.1 MB / 1.327 GB, free: 1.438 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.Or): time 0.001843/0.3392, allocations: 0.6463 MB / 1.328 GB, free: 0.7969 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.001655/0.3409, allocations: 1.229 MB / 1.329 GB, free: 15.55 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.598e-05/0.3409, allocations: 4 kB / 1.329 GB, free: 15.55 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 3.531e-05/0.341, allocations: 3.938 kB / 1.329 GB, free: 15.55 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 7.771e-05/0.3411, allocations: 11.92 kB / 1.329 GB, free: 15.54 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006847/0.3417, allocations: 214.3 kB / 1.329 GB, free: 15.33 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.000244/0.342, allocations: 167.7 kB / 1.329 GB, free: 15.17 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 9.533e-05/0.3421, allocations: 15.98 kB / 1.329 GB, free: 15.15 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00011/0.3422, allocations: 71.89 kB / 1.329 GB, free: 15.08 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001437/0.3423, allocations: 59.86 kB / 1.329 GB, free: 15.02 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 3.406e-05/0.3424, allocations: 19.98 kB / 1.33 GB, free: 15 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 8.26e-05/0.3425, allocations: 35.98 kB / 1.33 GB, free: 14.97 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 2.018e-05/0.3425, allocations: 7.922 kB / 1.33 GB, free: 14.96 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 8.212e-05/0.3426, allocations: 51.91 kB / 1.33 GB, free: 14.91 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0002297/0.3428, allocations: 155.5 kB / 1.33 GB, free: 14.76 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 3.927e-06/0.3428, allocations: 0 / 1.33 GB, free: 14.76 MB / 1.029 GB Notification: Performance of FrontEnd: time 9.52e-07/0.3428, allocations: 0 / 1.33 GB, free: 14.76 MB / 1.029 GB Notification: Performance of Transformations before backend: time 5.13e-06/0.3428, allocations: 3.938 kB / 1.33 GB, free: 14.75 MB / 1.029 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.00053/0.3433, allocations: 370.9 kB / 1.33 GB, free: 14.35 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 3.495e-05/0.3434, allocations: 11.97 kB / 1.33 GB, free: 14.34 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.826e-05/0.3434, allocations: 8.938 kB / 1.33 GB, free: 14.33 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001039/0.3435, allocations: 114.5 kB / 1.33 GB, free: 14.19 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.714e-05/0.3435, allocations: 4.375 kB / 1.33 GB, free: 14.19 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.13e-05/0.3436, allocations: 12.36 kB / 1.33 GB, free: 14.18 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001235/0.3437, allocations: 46.25 kB / 1.33 GB, free: 14.12 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.255e-06/0.3437, allocations: 192 / 1.33 GB, free: 14.12 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.161e-05/0.3437, allocations: 7.938 kB / 1.33 GB, free: 14.12 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.519e-06/0.3437, allocations: 0 / 1.33 GB, free: 14.12 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.379e-05/0.3438, allocations: 19.98 kB / 1.33 GB, free: 14.1 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000512/0.3443, allocations: 319.8 kB / 1.331 GB, free: 13.74 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 9.461e-05/0.3444, allocations: 38.5 kB / 1.331 GB, free: 13.7 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.711e-05/0.3444, allocations: 12.86 kB / 1.331 GB, free: 13.68 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 1.469e-05/0.3444, allocations: 4.078 kB / 1.331 GB, free: 13.68 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000151/0.3446, allocations: 91.27 kB / 1.331 GB, free: 13.57 MB / 1.029 GB Notification: Performance of pre-optimization done (n=7): time 1.232e-06/0.3446, allocations: 0 / 1.331 GB, free: 13.57 MB / 1.029 GB Notification: Performance of matching and sorting (n=7): time 0.0002698/0.3448, allocations: 105.9 kB / 1.331 GB, free: 13.46 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.637e-05/0.3449, allocations: 55.34 kB / 1.331 GB, free: 13.4 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001012/0.345, allocations: 113.8 kB / 1.331 GB, free: 13.28 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 3.475e-05/0.345, allocations: 33.69 kB / 1.331 GB, free: 13.24 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 7.748e-05/0.3451, allocations: 96.12 kB / 1.331 GB, free: 13.14 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 3.073e-05/0.3451, allocations: 11.91 kB / 1.331 GB, free: 13.13 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.503e-05/0.3452, allocations: 53.69 kB / 1.331 GB, free: 13.07 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001377/0.3454, allocations: 318.8 kB / 1.332 GB, free: 12.75 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001413/0.3455, allocations: 63.91 kB / 1.332 GB, free: 12.69 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001553/0.3457, allocations: 96.62 kB / 1.332 GB, free: 12.58 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002218/0.3459, allocations: 159.7 kB / 1.332 GB, free: 12.39 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.144e-06/0.3459, allocations: 0 / 1.332 GB, free: 12.39 MB / 1.029 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0004438/0.3463, allocations: 264.8 kB / 1.332 GB, free: 12.12 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 6.484e-05/0.3464, allocations: 67.39 kB / 1.332 GB, free: 12.04 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.463e-06/0.3464, allocations: 4 kB / 1.332 GB, free: 12.04 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.453e-05/0.3464, allocations: 0 / 1.332 GB, free: 12.04 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.231e-05/0.3464, allocations: 8.125 kB / 1.332 GB, free: 12.03 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.638e-06/0.3464, allocations: 8 kB / 1.332 GB, free: 12.02 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003272/0.3468, allocations: 55.88 kB / 1.332 GB, free: 11.96 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.914e-05/0.3468, allocations: 12 kB / 1.332 GB, free: 11.95 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.0001195/0.3469, allocations: 129.7 kB / 1.332 GB, free: 11.82 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.291e-05/0.3469, allocations: 4 kB / 1.332 GB, free: 11.81 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.679e-05/0.347, allocations: 12.36 kB / 1.332 GB, free: 11.8 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.515e-06/0.347, allocations: 4 kB / 1.332 GB, free: 11.79 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.038e-06/0.347, allocations: 0 / 1.332 GB, free: 11.79 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.876e-06/0.347, allocations: 0 / 1.332 GB, free: 11.79 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001401/0.3471, allocations: 152.7 kB / 1.333 GB, free: 11.6 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.92e-07/0.3471, allocations: 0 / 1.333 GB, free: 11.6 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.815e-06/0.3471, allocations: 0 / 1.333 GB, free: 11.6 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.282e-06/0.3471, allocations: 0 / 1.333 GB, free: 11.6 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.994e-06/0.3471, allocations: 4 kB / 1.333 GB, free: 11.6 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.212e-06/0.3471, allocations: 0 / 1.333 GB, free: 11.6 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.12e-07/0.3471, allocations: 4 kB / 1.333 GB, free: 11.59 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001576/0.3473, allocations: 120.9 kB / 1.333 GB, free: 11.46 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 1.096e-05/0.3473, allocations: 3.953 kB / 1.333 GB, free: 11.45 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.782e-05/0.3473, allocations: 4 kB / 1.333 GB, free: 11.45 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.864e-05/0.3473, allocations: 3.938 kB / 1.333 GB, free: 11.45 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.688e-05/0.3474, allocations: 11.98 kB / 1.333 GB, free: 11.43 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.293e-06/0.3474, allocations: 4.062 kB / 1.333 GB, free: 11.43 MB / 1.029 GB Notification: Performance of sorting global known variables: time 6.392e-05/0.3474, allocations: 95.2 kB / 1.333 GB, free: 11.34 MB / 1.029 GB Notification: Performance of sort global known variables: time 1e-07/0.3474, allocations: 4 kB / 1.333 GB, free: 11.33 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0002343/0.3477, allocations: 28 kB / 1.333 GB, free: 11.3 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.0001573/0.3478, allocations: 107.2 kB / 1.333 GB, free: 11.19 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0003524/0.3482, allocations: 218.6 kB / 1.333 GB, free: 10.95 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.044e-06/0.3482, allocations: 0 / 1.333 GB, free: 10.95 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 5.275e-05/0.3482, allocations: 23.94 kB / 1.333 GB, free: 10.93 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002374/0.3485, allocations: 24.17 kB / 1.333 GB, free: 10.91 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004195/0.3489, allocations: 184.5 kB / 1.333 GB, free: 10.69 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003347/0.3492, allocations: 0.6885 MB / 1.334 GB, free: 9.977 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.412e-05/0.3493, allocations: 11.44 kB / 1.334 GB, free: 9.965 MB / 1.029 GB Notification: Performance of SimCode: time 3.31e-07/0.3493, allocations: 0 / 1.334 GB, free: 9.965 MB / 1.029 GB Notification: Performance of Templates: time 0.003193/0.3524, allocations: 1.384 MB / 1.335 GB, free: 8.59 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/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: 10.881744631013134]