Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.And.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.001341/0.001341, 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.001441/0.001441, allocations: 219.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.468/1.468, 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 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.21/3.21, allocations: 0.49 GB / 0.7958 GB, free: 33.5 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.And,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|and1.u1|and1.u2|and1.y",fileNamePrefix="Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.And") translateModel(Buildings.Controls.OBC.CDL.Logical.Validation.And,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|and1.u1|and1.u2|and1.y",fileNamePrefix="Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.And") [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.002028/0.002028, allocations: 69.25 kB / 1.155 GB, free: 25.44 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3444/0.3465, allocations: 176.1 MB / 1.327 GB, free: 1.477 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.And): time 0.001928/0.3484, allocations: 0.6558 MB / 1.328 GB, free: 0.8242 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.001779/0.3502, allocations: 1.226 MB / 1.329 GB, free: 15.59 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.442e-05/0.3502, allocations: 4 kB / 1.329 GB, free: 15.58 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 3.924e-05/0.3503, allocations: 7.875 kB / 1.329 GB, free: 15.57 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 7.394e-05/0.3503, allocations: 7.922 kB / 1.329 GB, free: 15.57 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006934/0.351, allocations: 225.6 kB / 1.329 GB, free: 15.35 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0002544/0.3513, allocations: 175.7 kB / 1.329 GB, free: 15.18 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 9.547e-05/0.3514, allocations: 12 kB / 1.329 GB, free: 15.17 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001181/0.3515, allocations: 67.88 kB / 1.329 GB, free: 15.1 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001396/0.3516, allocations: 59.86 kB / 1.33 GB, free: 15.04 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 3.424e-05/0.3517, allocations: 16 kB / 1.33 GB, free: 15.03 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 8.425e-05/0.3518, allocations: 31.98 kB / 1.33 GB, free: 15 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 2.553e-05/0.3518, allocations: 15.92 kB / 1.33 GB, free: 14.98 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 8.283e-05/0.3519, allocations: 51.91 kB / 1.33 GB, free: 14.93 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.000245/0.3521, allocations: 151.5 kB / 1.33 GB, free: 14.78 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 4.449e-06/0.3521, allocations: 4 kB / 1.33 GB, free: 14.78 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.463e-06/0.3521, allocations: 0 / 1.33 GB, free: 14.78 MB / 1.029 GB Notification: Performance of Transformations before backend: time 5.861e-06/0.3521, allocations: 0 / 1.33 GB, free: 14.78 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.0005579/0.3527, allocations: 365.5 kB / 1.33 GB, free: 14.38 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 3.93e-05/0.3527, allocations: 8.031 kB / 1.33 GB, free: 14.37 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.815e-05/0.3528, allocations: 8.938 kB / 1.33 GB, free: 14.36 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001232/0.3529, allocations: 118.4 kB / 1.33 GB, free: 14.22 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.184e-05/0.3529, allocations: 12.34 kB / 1.33 GB, free: 14.21 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.308e-05/0.353, allocations: 12.38 kB / 1.33 GB, free: 14.2 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001287/0.3531, allocations: 50.25 kB / 1.33 GB, free: 14.14 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.176e-06/0.3531, allocations: 192 / 1.33 GB, free: 14.14 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.291e-05/0.3531, allocations: 3.938 kB / 1.33 GB, free: 14.14 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.378e-06/0.3531, allocations: 0 / 1.33 GB, free: 14.14 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.113e-05/0.3532, allocations: 15.98 kB / 1.33 GB, free: 14.12 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005223/0.3537, allocations: 327.8 kB / 1.331 GB, free: 13.76 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 9.323e-05/0.3538, allocations: 30.52 kB / 1.331 GB, free: 13.72 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.721e-05/0.3538, allocations: 20.94 kB / 1.331 GB, free: 13.7 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 1.404e-05/0.3538, allocations: 0 / 1.331 GB, free: 13.7 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001556/0.354, allocations: 95.25 kB / 1.331 GB, free: 13.59 MB / 1.029 GB Notification: Performance of pre-optimization done (n=7): time 1.243e-06/0.354, allocations: 0 / 1.331 GB, free: 13.59 MB / 1.029 GB Notification: Performance of matching and sorting (n=7): time 0.0002763/0.3543, allocations: 97.62 kB / 1.331 GB, free: 13.49 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.401e-05/0.3543, allocations: 55.41 kB / 1.331 GB, free: 13.42 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001051/0.3544, allocations: 121.8 kB / 1.331 GB, free: 13.29 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 4.425e-05/0.3544, allocations: 37.7 kB / 1.331 GB, free: 13.25 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 6.498e-05/0.3545, allocations: 84.14 kB / 1.331 GB, free: 13.16 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 2.161e-05/0.3545, allocations: 19.89 kB / 1.331 GB, free: 13.14 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.935e-05/0.3546, allocations: 45.69 kB / 1.331 GB, free: 13.09 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001629/0.3548, allocations: 326.8 kB / 1.332 GB, free: 12.77 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001315/0.3549, allocations: 59.91 kB / 1.332 GB, free: 12.71 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001573/0.3551, allocations: 92.25 kB / 1.332 GB, free: 12.6 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002094/0.3553, allocations: 156.1 kB / 1.332 GB, free: 12.42 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.094e-06/0.3553, allocations: 3.938 kB / 1.332 GB, free: 12.42 MB / 1.029 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0004386/0.3557, allocations: 264.9 kB / 1.332 GB, free: 12.14 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 6.933e-05/0.3558, allocations: 75.42 kB / 1.332 GB, free: 12.05 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.849e-06/0.3558, allocations: 0 / 1.332 GB, free: 12.05 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.62e-05/0.3558, allocations: 4 kB / 1.332 GB, free: 12.05 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.873e-05/0.3558, allocations: 0 / 1.332 GB, free: 12.05 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.097e-05/0.3558, allocations: 11.92 kB / 1.332 GB, free: 12.04 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003341/0.3562, allocations: 55.89 kB / 1.332 GB, free: 11.98 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.92e-05/0.3562, allocations: 8 kB / 1.332 GB, free: 11.98 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,and1.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.0001258/0.3563, allocations: 135.7 kB / 1.332 GB, free: 11.84 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.247e-05/0.3563, allocations: 4 kB / 1.332 GB, free: 11.83 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.058e-05/0.3564, allocations: 8.375 kB / 1.332 GB, free: 11.82 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.974e-06/0.3564, allocations: 0 / 1.332 GB, free: 11.82 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.439e-06/0.3564, allocations: 0 / 1.332 GB, free: 11.82 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.956e-06/0.3564, allocations: 0 / 1.332 GB, free: 11.82 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001384/0.3565, allocations: 148.7 kB / 1.333 GB, free: 11.63 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.042e-06/0.3565, allocations: 0 / 1.333 GB, free: 11.63 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.464e-06/0.3565, allocations: 4 kB / 1.333 GB, free: 11.63 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.613e-06/0.3565, allocations: 4 kB / 1.333 GB, free: 11.62 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.438e-06/0.3565, allocations: 4 kB / 1.333 GB, free: 11.62 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.253e-06/0.3565, allocations: 0 / 1.333 GB, free: 11.62 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.22e-07/0.3565, allocations: 4 kB / 1.333 GB, free: 11.62 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001598/0.3567, allocations: 112.9 kB / 1.333 GB, free: 11.49 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 1.161e-05/0.3567, allocations: 7.953 kB / 1.333 GB, free: 11.48 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.613e-05/0.3567, allocations: 4 kB / 1.333 GB, free: 11.48 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.033e-05/0.3568, allocations: 3.984 kB / 1.333 GB, free: 11.47 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.8e-05/0.3568, allocations: 8 kB / 1.333 GB, free: 11.46 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.204e-06/0.3568, allocations: 7.938 kB / 1.333 GB, free: 11.46 MB / 1.029 GB Notification: Performance of sorting global known variables: time 6.499e-05/0.3569, allocations: 95.2 kB / 1.333 GB, free: 11.36 MB / 1.029 GB Notification: Performance of sort global known variables: time 9e-08/0.3569, allocations: 0 / 1.333 GB, free: 11.36 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0002302/0.3571, allocations: 28 kB / 1.333 GB, free: 11.34 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,and1.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.0001505/0.3572, allocations: 107.2 kB / 1.333 GB, free: 11.22 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0003571/0.3576, allocations: 222.9 kB / 1.333 GB, free: 10.98 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 4.158e-06/0.3576, allocations: 4 kB / 1.333 GB, free: 10.98 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 5.225e-05/0.3577, allocations: 27.92 kB / 1.333 GB, free: 10.95 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002286/0.3579, allocations: 18.14 kB / 1.333 GB, free: 10.93 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003602/0.3582, allocations: 176.5 kB / 1.333 GB, free: 10.73 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003186/0.3586, allocations: 0.6846 MB / 1.334 GB, free: 10.02 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.402e-05/0.3586, allocations: 19.5 kB / 1.334 GB, free: 9.996 MB / 1.029 GB Notification: Performance of SimCode: time 3.01e-07/0.3586, allocations: 0 / 1.334 GB, free: 9.996 MB / 1.029 GB Notification: Performance of Templates: time 0.003229/0.3618, allocations: 1.386 MB / 1.335 GB, free: 8.617 MB / 1.029 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.And.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.And.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.And.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.And.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.And.sim & ./Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.And -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.And.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.And_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Controls_OBC_CDL_Logical_Validation_And.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.And.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.04090285100392]