Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.00134/0.00134, allocations: 110.2 kB / 19.69 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.001485/0.001485, allocations: 209.1 kB / 23 MB, free: 4.57 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.488/1.488, allocations: 230.6 MB / 256.8 MB, free: 8.031 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 3.464/3.464, allocations: 0.505 GB / 0.8108 GB, free: 22.06 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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_latest_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_latest_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.002058/0.002058, allocations: 65.33 kB / 1.178 GB, free: 16.82 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3166/0.3186, allocations: 180.2 MB / 1.354 GB, free: 7.988 MB / 1.045 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.And): time 0.001954/0.3206, allocations: 0.6587 MB / 1.355 GB, free: 7.332 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.001641/0.3222, allocations: 1.226 MB / 1.356 GB, free: 6.094 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.815e-05/0.3223, allocations: 4 kB / 1.356 GB, free: 6.09 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 2.749e-05/0.3223, allocations: 0 / 1.356 GB, free: 6.09 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 7.098e-05/0.3224, allocations: 7.875 kB / 1.356 GB, free: 6.082 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006738/0.3231, allocations: 220.2 kB / 1.356 GB, free: 5.871 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 0.000248/0.3233, allocations: 179.7 kB / 1.356 GB, free: 5.695 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 9.522e-05/0.3234, allocations: 11.98 kB / 1.356 GB, free: 5.684 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001093/0.3235, allocations: 71.83 kB / 1.356 GB, free: 5.613 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001392/0.3236, allocations: 59.86 kB / 1.356 GB, free: 5.555 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 3.303e-05/0.3237, allocations: 16 kB / 1.356 GB, free: 5.539 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 7.847e-05/0.3238, allocations: 27.98 kB / 1.357 GB, free: 5.512 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 2.724e-05/0.3238, allocations: 15.97 kB / 1.357 GB, free: 5.496 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 8.179e-05/0.3239, allocations: 51.84 kB / 1.357 GB, free: 5.445 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.0002322/0.3241, allocations: 159.5 kB / 1.357 GB, free: 5.289 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 4.318e-06/0.3241, allocations: 0 / 1.357 GB, free: 5.289 MB / 1.045 GB Notification: Performance of FrontEnd: time 1.713e-06/0.3241, allocations: 0 / 1.357 GB, free: 5.289 MB / 1.045 GB Notification: Performance of Transformations before backend: time 5.921e-06/0.3241, allocations: 0 / 1.357 GB, free: 5.289 MB / 1.045 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.0006019/0.3247, allocations: 369.5 kB / 1.357 GB, free: 4.883 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 3.819e-05/0.3248, allocations: 8.031 kB / 1.357 GB, free: 4.875 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.869e-05/0.3248, allocations: 12.89 kB / 1.357 GB, free: 4.863 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001092/0.3249, allocations: 110.5 kB / 1.357 GB, free: 4.73 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.213e-05/0.3249, allocations: 8.359 kB / 1.357 GB, free: 4.723 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.873e-05/0.325, allocations: 12.38 kB / 1.357 GB, free: 4.711 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00012/0.3251, allocations: 54.23 kB / 1.357 GB, free: 4.652 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.045e-06/0.3251, allocations: 192 / 1.357 GB, free: 4.652 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.213e-05/0.3251, allocations: 3.938 kB / 1.357 GB, free: 4.648 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.867e-06/0.3251, allocations: 0 / 1.357 GB, free: 4.648 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.343e-05/0.3252, allocations: 15.98 kB / 1.357 GB, free: 4.633 MB / 1.045 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005034/0.3257, allocations: 323.8 kB / 1.358 GB, free: 4.273 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 8.514e-05/0.3257, allocations: 42.44 kB / 1.358 GB, free: 4.223 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.03e-05/0.3258, allocations: 12.86 kB / 1.358 GB, free: 4.207 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 1.103e-05/0.3258, allocations: 0 / 1.358 GB, free: 4.207 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002018/0.326, allocations: 87.44 kB / 1.358 GB, free: 4.109 MB / 1.045 GB Notification: Performance of pre-optimization done (n=7): time 1.263e-06/0.326, allocations: 0 / 1.358 GB, free: 4.109 MB / 1.045 GB Notification: Performance of matching and sorting (n=7): time 0.0002529/0.3262, allocations: 101.6 kB / 1.358 GB, free: 4.004 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.694e-05/0.3263, allocations: 55.41 kB / 1.358 GB, free: 3.938 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001002/0.3264, allocations: 121.8 kB / 1.358 GB, free: 3.809 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 3.637e-05/0.3264, allocations: 29.7 kB / 1.358 GB, free: 3.773 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 7.747e-05/0.3265, allocations: 96.08 kB / 1.358 GB, free: 3.676 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 2.025e-05/0.3265, allocations: 15.94 kB / 1.358 GB, free: 3.66 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.189e-05/0.3266, allocations: 45.69 kB / 1.358 GB, free: 3.609 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0001479/0.3268, allocations: 326.8 kB / 1.358 GB, free: 3.281 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001283/0.3269, allocations: 51.97 kB / 1.359 GB, free: 3.23 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001565/0.3271, allocations: 110.6 kB / 1.359 GB, free: 3.109 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002012/0.3273, allocations: 151.6 kB / 1.359 GB, free: 2.934 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.064e-06/0.3273, allocations: 0 / 1.359 GB, free: 2.934 MB / 1.045 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0004348/0.3277, allocations: 268.8 kB / 1.359 GB, free: 2.652 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 6.752e-05/0.3278, allocations: 71.39 kB / 1.359 GB, free: 2.57 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.561e-06/0.3278, allocations: 0 / 1.359 GB, free: 2.57 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.645e-05/0.3278, allocations: 4 kB / 1.359 GB, free: 2.566 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.136e-05/0.3278, allocations: 0 / 1.359 GB, free: 2.566 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.055e-06/0.3278, allocations: 4 kB / 1.359 GB, free: 2.562 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003525/0.3282, allocations: 56.02 kB / 1.359 GB, free: 2.508 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.587e-05/0.3282, allocations: 16.45 kB / 1.359 GB, free: 2.492 MB / 1.045 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.0001226/0.3283, allocations: 134.2 kB / 1.359 GB, free: 2.352 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.601e-05/0.3283, allocations: 7.953 kB / 1.359 GB, free: 2.344 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.046e-05/0.3284, allocations: 12.36 kB / 1.359 GB, free: 2.332 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.325e-06/0.3284, allocations: 0 / 1.359 GB, free: 2.332 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.671e-06/0.3284, allocations: 3.938 kB / 1.359 GB, free: 2.328 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.686e-06/0.3284, allocations: 0 / 1.359 GB, free: 2.328 MB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001511/0.3285, allocations: 144.7 kB / 1.359 GB, free: 2.145 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.266e-06/0.3285, allocations: 8 kB / 1.359 GB, free: 2.137 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.275e-05/0.3286, allocations: 7.984 kB / 1.359 GB, free: 2.129 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.713e-06/0.3286, allocations: 0 / 1.359 GB, free: 2.129 MB / 1.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.825e-06/0.3286, allocations: 0 / 1.359 GB, free: 2.129 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.203e-06/0.3286, allocations: 0 / 1.359 GB, free: 2.129 MB / 1.045 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.086e-06/0.3286, allocations: 4 kB / 1.359 GB, free: 2.125 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001571/0.3287, allocations: 113 kB / 1.36 GB, free: 1.996 MB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 1.585e-05/0.3287, allocations: 7.953 kB / 1.36 GB, free: 1.988 MB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.544e-05/0.3288, allocations: 4 kB / 1.36 GB, free: 1.984 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.056e-05/0.3288, allocations: 4 kB / 1.36 GB, free: 1.98 MB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.289e-05/0.3288, allocations: 7.984 kB / 1.36 GB, free: 1.973 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.897e-06/0.3288, allocations: 4 kB / 1.36 GB, free: 1.969 MB / 1.045 GB Notification: Performance of sorting global known variables: time 6.848e-05/0.3289, allocations: 91.27 kB / 1.36 GB, free: 1.879 MB / 1.045 GB Notification: Performance of sort global known variables: time 6e-08/0.3289, allocations: 0 / 1.36 GB, free: 1.879 MB / 1.045 GB Notification: Performance of remove unused functions: time 0.0002404/0.3291, allocations: 28 kB / 1.36 GB, free: 1.852 MB / 1.045 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.0001535/0.3293, allocations: 99.23 kB / 1.36 GB, free: 1.746 MB / 1.045 GB Notification: Performance of simCode: created initialization part: time 0.0003619/0.3297, allocations: 226.6 kB / 1.36 GB, free: 1.5 MB / 1.045 GB Notification: Performance of simCode: created event and clocks part: time 2.124e-06/0.3297, allocations: 3.938 kB / 1.36 GB, free: 1.496 MB / 1.045 GB Notification: Performance of simCode: created simulation system equations: time 5.556e-05/0.3297, allocations: 23.94 kB / 1.36 GB, free: 1.473 MB / 1.045 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002462/0.33, allocations: 11.98 kB / 1.36 GB, free: 1.461 MB / 1.045 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003938/0.3304, allocations: 184.5 kB / 1.36 GB, free: 1.242 MB / 1.045 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000327/0.3307, allocations: 0.6926 MB / 1.361 GB, free: 0.5234 MB / 1.045 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.734e-05/0.3307, allocations: 11.44 kB / 1.361 GB, free: 0.5117 MB / 1.045 GB Notification: Performance of SimCode: time 3.2e-07/0.3307, allocations: 288 / 1.361 GB, free: 0.5117 MB / 1.045 GB Notification: Performance of Templates: time 0.003476/0.3342, allocations: 1.395 MB / 1.362 GB, free: 15.13 MB / 1.061 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.And.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.And.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.And.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.And.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.And.sim & ./Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.And -abortSlowSimulation -alarm=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.And.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.And_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Logical_Validation_And.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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.470946457004175]