Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.And.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.001191/0.001191, allocations: 113.8 kB / 17.61 MB, free: 4.703 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.001294/0.001294, allocations: 186 kB / 20.78 MB, free: 1.547 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.492/1.492, allocations: 225.6 MB / 249.4 MB, free: 3.152 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.96/2.96, allocations: 476.7 MB / 0.7629 GB, free: 15.14 MB / 0.6075 GB " [Timeout remaining time 176] Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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.And,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|and1.u1|and1.u2|and1.y",fileNamePrefix="Buildings_11_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_11_Buildings.Controls.OBC.CDL.Logical.Validation.And") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002256/0.002256, allocations: 63.89 kB / 1.107 GB, free: 4.539 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.228/1.23, allocations: 168.7 MB / 1.272 GB, free: 7.895 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.And): time 0.002234/1.232, allocations: 0.6682 MB / 1.273 GB, free: 7.48 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.002224/1.235, allocations: 1.186 MB / 1.274 GB, free: 6.621 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.381e-05/1.235, allocations: 3.938 kB / 1.274 GB, free: 6.617 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 4.232e-05/1.235, allocations: 1.469 kB / 1.274 GB, free: 6.617 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.0001014/1.235, allocations: 19.38 kB / 1.274 GB, free: 6.602 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.000774/1.236, allocations: 217.8 kB / 1.274 GB, free: 6.492 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.0003026/1.236, allocations: 167.3 kB / 1.274 GB, free: 6.426 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001083/1.236, allocations: 8.562 kB / 1.274 GB, free: 6.422 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001171/1.236, allocations: 70.72 kB / 1.274 GB, free: 6.395 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001563/1.236, allocations: 70.31 kB / 1.274 GB, free: 6.363 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 4.382e-05/1.236, allocations: 14.66 kB / 1.274 GB, free: 6.363 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 9.745e-05/1.236, allocations: 27.14 kB / 1.274 GB, free: 6.363 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 2.239e-05/1.237, allocations: 9.047 kB / 1.274 GB, free: 6.359 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 9.397e-05/1.237, allocations: 63.72 kB / 1.274 GB, free: 6.324 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.0002595/1.237, allocations: 146.9 kB / 1.275 GB, free: 6.281 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 6.502e-06/1.237, allocations: 0 / 1.275 GB, free: 6.281 MB / 0.9981 GB Notification: Performance of FrontEnd: time 2.444e-06/1.237, allocations: 0.9375 kB / 1.275 GB, free: 6.281 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 5.731e-06/1.237, allocations: 0 / 1.275 GB, free: 6.281 MB / 0.9981 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.0005293/1.237, allocations: 434.9 kB / 1.275 GB, free: 5.844 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 4.214e-05/1.237, allocations: 9.062 kB / 1.275 GB, free: 5.844 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.418e-05/1.238, allocations: 12.42 kB / 1.275 GB, free: 5.84 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.908e-05/1.238, allocations: 171.8 kB / 1.275 GB, free: 5.637 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.45e-05/1.238, allocations: 17.75 kB / 1.275 GB, free: 5.629 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.153e-05/1.238, allocations: 16.16 kB / 1.275 GB, free: 5.621 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001262/1.238, allocations: 44.02 kB / 1.275 GB, free: 5.586 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.397e-06/1.238, allocations: 192 / 1.275 GB, free: 5.586 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.278e-05/1.238, allocations: 4.531 kB / 1.275 GB, free: 5.582 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.165e-05/1.238, allocations: 0.625 kB / 1.275 GB, free: 5.582 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.235e-05/1.238, allocations: 17.81 kB / 1.275 GB, free: 5.574 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005261/1.238, allocations: 347.7 kB / 1.276 GB, free: 5.273 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 8.822e-05/1.238, allocations: 40.31 kB / 1.276 GB, free: 5.234 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.025e-05/1.239, allocations: 15.8 kB / 1.276 GB, free: 5.223 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.594e-05/1.239, allocations: 4.984 kB / 1.276 GB, free: 5.219 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002025/1.239, allocations: 81.12 kB / 1.276 GB, free: 5.16 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=7): time 1.232e-06/1.239, allocations: 1 kB / 1.276 GB, free: 5.16 MB / 0.9981 GB Notification: Performance of matching and sorting (n=7): time 0.0002716/1.239, allocations: 102.9 kB / 1.276 GB, free: 5.105 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.336e-05/1.239, allocations: 66.83 kB / 1.276 GB, free: 5.031 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.546e-05/1.239, allocations: 115.2 kB / 1.276 GB, free: 4.926 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 2.941e-05/1.239, allocations: 29.86 kB / 1.276 GB, free: 4.895 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 5.133e-05/1.239, allocations: 94.97 kB / 1.276 GB, free: 4.805 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 1.513e-05/1.239, allocations: 11 kB / 1.276 GB, free: 4.797 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001006/1.239, allocations: 52.89 kB / 1.276 GB, free: 4.77 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 6.314e-05/1.239, allocations: 323.5 kB / 1.276 GB, free: 4.449 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001385/1.24, allocations: 59.09 kB / 1.277 GB, free: 4.43 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001498/1.24, allocations: 101.5 kB / 1.277 GB, free: 4.363 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001826/1.24, allocations: 161.8 kB / 1.277 GB, free: 4.223 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.224e-06/1.24, allocations: 1.094 kB / 1.277 GB, free: 4.223 MB / 0.9981 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0004266/1.24, allocations: 271.8 kB / 1.277 GB, free: 4.062 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 5.445e-05/1.24, allocations: 69.59 kB / 1.277 GB, free: 3.996 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.803e-06/1.24, allocations: 0.9375 kB / 1.277 GB, free: 3.996 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.886e-05/1.24, allocations: 1.844 kB / 1.277 GB, free: 3.996 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.249e-05/1.24, allocations: 3.75 kB / 1.277 GB, free: 3.996 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.156e-06/1.24, allocations: 1.719 kB / 1.277 GB, free: 3.996 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003304/1.241, allocations: 56.7 kB / 1.277 GB, free: 3.988 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.446e-05/1.241, allocations: 12.08 kB / 1.277 GB, free: 3.988 MB / 0.9981 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 8.476e-05/1.241, allocations: 135.1 kB / 1.277 GB, free: 3.859 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.404e-05/1.241, allocations: 6.516 kB / 1.277 GB, free: 3.855 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.55e-05/1.241, allocations: 7.328 kB / 1.277 GB, free: 3.848 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.935e-06/1.241, allocations: 0.8125 kB / 1.277 GB, free: 3.848 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.971e-06/1.241, allocations: 0 / 1.277 GB, free: 3.848 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.486e-06/1.241, allocations: 0.5938 kB / 1.277 GB, free: 3.848 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001031/1.241, allocations: 187.4 kB / 1.278 GB, free: 3.637 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.052e-06/1.241, allocations: 0 / 1.278 GB, free: 3.637 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.448e-06/1.241, allocations: 2.438 kB / 1.278 GB, free: 3.637 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.453e-06/1.241, allocations: 1.062 kB / 1.278 GB, free: 3.637 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.278e-05/1.241, allocations: 5 kB / 1.278 GB, free: 3.633 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.904e-06/1.241, allocations: 2.156 kB / 1.278 GB, free: 3.633 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.132e-06/1.241, allocations: 3.938 kB / 1.278 GB, free: 3.629 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001356/1.241, allocations: 110.9 kB / 1.278 GB, free: 3.543 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 2.135e-05/1.241, allocations: 83.77 kB / 1.278 GB, free: 3.445 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.817e-05/1.241, allocations: 6.547 kB / 1.278 GB, free: 3.441 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.888e-05/1.241, allocations: 0.9688 kB / 1.278 GB, free: 3.441 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.834e-05/1.241, allocations: 5.625 kB / 1.278 GB, free: 3.441 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.053e-05/1.241, allocations: 7.109 kB / 1.278 GB, free: 3.438 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 4.107e-05/1.241, allocations: 89.5 kB / 1.278 GB, free: 3.359 MB / 0.9981 GB Notification: Performance of sort global known variables: time 6e-08/1.241, allocations: 0.6562 kB / 1.278 GB, free: 3.359 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0002504/1.242, allocations: 31.33 kB / 1.278 GB, free: 3.355 MB / 0.9981 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.0001731/1.242, allocations: 115.8 kB / 1.278 GB, free: 3.258 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0003429/1.242, allocations: 217.1 kB / 1.278 GB, free: 3.094 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 2.114e-06/1.242, allocations: 0 / 1.278 GB, free: 3.094 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 4.415e-05/1.242, allocations: 26.69 kB / 1.278 GB, free: 3.086 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002405/1.242, allocations: 22.67 kB / 1.278 GB, free: 3.074 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003588/1.243, allocations: 164.6 kB / 1.278 GB, free: 2.941 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001193/1.243, allocations: 0.6893 MB / 1.279 GB, free: 2.242 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 2.533e-05/1.243, allocations: 5.672 kB / 1.279 GB, free: 2.242 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.137e-05/1.243, allocations: 14.88 kB / 1.279 GB, free: 2.23 MB / 0.9981 GB Notification: Performance of SimCode: time 5.41e-07/1.243, allocations: 0 / 1.279 GB, free: 2.23 MB / 0.9981 GB Notification: Performance of Templates: time 0.005956/1.249, allocations: 1.855 MB / 1.281 GB, free: 2.055 MB / 0.9981 GB " [Timeout remaining time 299] make -j1 -f Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.And.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.And.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.And.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.And.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.And.sim & ./Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.And -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.And.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.And_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_OBC_CDL_Logical_Validation_And.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_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: 9.817730098962784]