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.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.001329/0.001329, allocations: 105.6 kB / 19.69 MB, free: 2.277 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.001502/0.001502, allocations: 216.1 kB / 23.01 MB, free: 4.602 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.453/1.453, allocations: 230.6 MB / 256.8 MB, free: 8.059 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.721/2.721, allocations: 476.8 MB / 0.7714 GB, free: 4.332 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.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_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: 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.001993/0.001993, allocations: 68.23 kB / 1.119 GB, free: 40.35 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2781/0.2801, allocations: 170 MB / 1.285 GB, free: 11.25 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.And): time 0.001885/0.282, allocations: 0.6536 MB / 1.285 GB, free: 10.6 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.00165/0.2836, allocations: 1.223 MB / 1.286 GB, free: 9.363 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.905e-05/0.2837, allocations: 0 / 1.286 GB, free: 9.363 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 2.892e-05/0.2837, allocations: 3.938 kB / 1.286 GB, free: 9.359 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 6.93e-05/0.2838, allocations: 15.91 kB / 1.286 GB, free: 9.344 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006887/0.2845, allocations: 225.9 kB / 1.287 GB, free: 9.129 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0002287/0.2847, allocations: 171.7 kB / 1.287 GB, free: 8.961 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 7.889e-05/0.2848, allocations: 4 kB / 1.287 GB, free: 8.957 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001116/0.2849, allocations: 71.88 kB / 1.287 GB, free: 8.887 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001382/0.285, allocations: 63.84 kB / 1.287 GB, free: 8.824 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 3.493e-05/0.2851, allocations: 16 kB / 1.287 GB, free: 8.809 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 7.502e-05/0.2851, allocations: 31.94 kB / 1.287 GB, free: 8.777 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 2.071e-05/0.2852, allocations: 7.984 kB / 1.287 GB, free: 8.77 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 8.473e-05/0.2852, allocations: 59.83 kB / 1.287 GB, free: 8.711 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0002267/0.2855, allocations: 147.6 kB / 1.287 GB, free: 8.566 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 4.198e-06/0.2855, allocations: 0 / 1.287 GB, free: 8.566 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.352e-06/0.2855, allocations: 0 / 1.287 GB, free: 8.566 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 5.11e-06/0.2855, allocations: 0 / 1.287 GB, free: 8.566 MB / 0.9825 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.0005477/0.286, allocations: 365.4 kB / 1.288 GB, free: 8.164 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.7e-05/0.2861, allocations: 12.03 kB / 1.288 GB, free: 8.152 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.626e-05/0.2861, allocations: 12.94 kB / 1.288 GB, free: 8.141 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001027/0.2862, allocations: 110.5 kB / 1.288 GB, free: 8.008 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.507e-05/0.2862, allocations: 12.36 kB / 1.288 GB, free: 7.996 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.347e-05/0.2863, allocations: 12.38 kB / 1.288 GB, free: 7.984 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000117/0.2864, allocations: 46.25 kB / 1.288 GB, free: 7.934 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.226e-06/0.2864, allocations: 192 / 1.288 GB, free: 7.934 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.184e-05/0.2864, allocations: 3.938 kB / 1.288 GB, free: 7.93 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.679e-06/0.2864, allocations: 4 kB / 1.288 GB, free: 7.926 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.348e-05/0.2865, allocations: 23.86 kB / 1.288 GB, free: 7.902 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005113/0.287, allocations: 323.8 kB / 1.288 GB, free: 7.543 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 8.753e-05/0.2871, allocations: 38.52 kB / 1.288 GB, free: 7.496 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.263e-05/0.2871, allocations: 20.94 kB / 1.288 GB, free: 7.473 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 5.761e-06/0.2871, allocations: 0 / 1.288 GB, free: 7.473 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001343/0.2872, allocations: 79.27 kB / 1.288 GB, free: 7.383 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=7): time 1.123e-06/0.2872, allocations: 0 / 1.288 GB, free: 7.383 MB / 0.9825 GB Notification: Performance of matching and sorting (n=7): time 0.0002557/0.2875, allocations: 105.9 kB / 1.288 GB, free: 7.273 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.13e-05/0.2875, allocations: 55.41 kB / 1.288 GB, free: 7.207 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001085/0.2876, allocations: 121.8 kB / 1.289 GB, free: 7.078 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 4.219e-05/0.2877, allocations: 29.7 kB / 1.289 GB, free: 7.043 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 6.765e-05/0.2877, allocations: 92.12 kB / 1.289 GB, free: 6.949 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 1.856e-05/0.2878, allocations: 15.91 kB / 1.289 GB, free: 6.934 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.756e-05/0.2879, allocations: 49.69 kB / 1.289 GB, free: 6.879 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001533/0.288, allocations: 322.8 kB / 1.289 GB, free: 6.555 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001306/0.2881, allocations: 63.91 kB / 1.289 GB, free: 6.492 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001688/0.2883, allocations: 92.25 kB / 1.289 GB, free: 6.387 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002145/0.2885, allocations: 159.6 kB / 1.289 GB, free: 6.203 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.944e-06/0.2885, allocations: 0 / 1.289 GB, free: 6.203 MB / 0.9825 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0004436/0.289, allocations: 264.8 kB / 1.29 GB, free: 5.926 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 6.766e-05/0.289, allocations: 67.39 kB / 1.29 GB, free: 5.848 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.869e-06/0.289, allocations: 80 / 1.29 GB, free: 5.848 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.557e-05/0.2891, allocations: 4 kB / 1.29 GB, free: 5.844 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.893e-05/0.2891, allocations: 0 / 1.29 GB, free: 5.844 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.189e-05/0.2891, allocations: 15.91 kB / 1.29 GB, free: 5.828 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003251/0.2894, allocations: 56.02 kB / 1.29 GB, free: 5.773 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.985e-05/0.2894, allocations: 12 kB / 1.29 GB, free: 5.762 MB / 0.9825 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.000118/0.2896, allocations: 130.2 kB / 1.29 GB, free: 5.625 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.27e-05/0.2896, allocations: 4 kB / 1.29 GB, free: 5.621 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.739e-05/0.2896, allocations: 8.375 kB / 1.29 GB, free: 5.613 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.048e-06/0.2896, allocations: 4 kB / 1.29 GB, free: 5.609 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.268e-06/0.2896, allocations: 4 kB / 1.29 GB, free: 5.605 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.785e-06/0.2896, allocations: 3.938 kB / 1.29 GB, free: 5.602 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001476/0.2898, allocations: 152.6 kB / 1.29 GB, free: 5.41 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.52e-07/0.2898, allocations: 0 / 1.29 GB, free: 5.41 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.115e-06/0.2898, allocations: 3.938 kB / 1.29 GB, free: 5.406 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.613e-06/0.2898, allocations: 0 / 1.29 GB, free: 5.406 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.792e-05/0.2898, allocations: 8.062 kB / 1.29 GB, free: 5.398 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.052e-06/0.2898, allocations: 0 / 1.29 GB, free: 5.398 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.51e-07/0.2898, allocations: 0 / 1.29 GB, free: 5.398 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001584/0.29, allocations: 120.9 kB / 1.29 GB, free: 5.262 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 1.161e-05/0.29, allocations: 3.953 kB / 1.29 GB, free: 5.258 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.547e-05/0.29, allocations: 4 kB / 1.29 GB, free: 5.254 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.285e-05/0.29, allocations: 7.984 kB / 1.29 GB, free: 5.246 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.28e-05/0.29, allocations: 0 / 1.29 GB, free: 5.246 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.534e-06/0.29, allocations: 4 kB / 1.29 GB, free: 5.242 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 6.147e-05/0.2901, allocations: 91.27 kB / 1.29 GB, free: 5.152 MB / 0.9825 GB Notification: Performance of sort global known variables: time 8e-08/0.2901, allocations: 0 / 1.29 GB, free: 5.152 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0002376/0.2903, allocations: 32 kB / 1.29 GB, free: 5.121 MB / 0.9825 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.0001394/0.2905, allocations: 107.2 kB / 1.29 GB, free: 5.008 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0003449/0.2908, allocations: 218.6 kB / 1.291 GB, free: 4.77 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 1.814e-06/0.2908, allocations: 0 / 1.291 GB, free: 4.77 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 5.6e-05/0.2909, allocations: 31.91 kB / 1.291 GB, free: 4.738 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002226/0.2911, allocations: 16.23 kB / 1.291 GB, free: 4.723 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003528/0.2915, allocations: 192.4 kB / 1.291 GB, free: 4.496 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003192/0.2918, allocations: 0.6846 MB / 1.291 GB, free: 3.785 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.365e-05/0.2918, allocations: 11.44 kB / 1.291 GB, free: 3.773 MB / 0.9825 GB Notification: Performance of SimCode: time 3.21e-07/0.2918, allocations: 0 / 1.291 GB, free: 3.773 MB / 0.9825 GB Notification: Performance of Templates: time 0.003236/0.295, allocations: 1.394 MB / 1.293 GB, free: 2.402 MB / 0.9825 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/jenkins1/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: 10.81276479398366]